cla*_*ark 5 npm http-status-code-400 npm-publish
我使用npm publish返回错误 400 Bad Request,\n我尝试了以下步骤的方法:
delete node_modulesnpm cache clean -fnpm installnpm audit但它不起作用。如果您有同样的问题或解决方法\xef\xbc\x8c请告诉我\xef\xbc\x8c谢谢\xef\xbc\x81
\n我的环境是windows10: v18363.1198 node: v14.15.1 npm: v6.14.9
\n\nRun Code Online (Sandbox Code Playgroud)\nhttp fetch PUT 400 https://registry.npmjs.org/byte-download 1400ms\nverbose stack Error: 400 Bad Request - PUT https://registry.npmjs.org/byte-download - Bad Request\nverbose stack at D:\\Program Files\\nodejs\\node_global\\node_modules\\npm\\node_modules\\npm-registry-fetch\\check-response.js:117:15\nverbose stack at processTicksAndRejections (internal/process/task_queues.js:93:5)\nverbose statusCode 400\n