npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated. npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only. npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information. > request-promise@4.2.6 prepublish . > publish-please guard 'publish-please' ▒▒▒▒▒ڲ▒▒▒▒ⲿ▒▒▒Ҳ▒▒▒ǿ▒▒▒▒еij▒▒▒ ▒▒▒▒▒▒▒▒▒ļ▒▒▒ npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! request-promise@4.2.6 prepublish: `publish-please guard` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the request-promise@4.2.6 prepublish script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?
时间: 2024-03-28 14:38:16 浏览: 405
npm-auto-install-webpack-plugin:在Webpack编译步骤之前自动在package.json中安装缺少的依赖项
这是一个关于npm的警告和错误信息。警告提示npm@5之后,`prepublish`脚本已经被弃用,建议使用`prepare`进行构建步骤和`prepublishOnly`进行仅上传操作。错误提示是在执行`request-promise@4.2.6`的`prepublish`脚本时出现了问题,导致退出状态码为1。最后还有一个警告是本地的`package.json`存在,但是缺少`node_modules`,是否需要安装。
阅读全文