I use npm publish
return the error 400 Bad Request,
I tried the method with next steps:
delete node_modules
npm cache clean -f
npm install
npm audit
But its not working. If you have the same trouble or solution method,please tell me,thanks!
My env is windows10: v18363.1198
node: v14.15.1
npm: v6.14.9
http fetch PUT 400 https://registry.npmjs.org/byte-download 1400ms verbose stack Error: 400 Bad Request - PUT https://registry.npmjs.org/byte-download - Bad Request verbose stack at D:\Program Files\nodejs\node_global\node_modules\npm\node_modules\npm-registry-fetch\check-response.js:117:15 verbose stack at processTicksAndRejections (internal/process/task_queues.js:93:5) verbose statusCode 400