npm发包的时候报错,说不是一个有效的新包,最后发现是包名包含大写字母造成,修改package.json中的包名即可;
package.json
packagejson-fields:packagejson-fields
packagejson-fields
npm ERR! 400 Bad Request - PUT https://registry.npmjs.org/Cnblogs-Theme - "Cnblogs-Theme" is invalid for new packages