无法访问插件插件

  • 本文关键字:插件 访问 heroku
  • 更新时间 :
  • 英文 :


嘿,我在部署应用程序时遇到问题,当我尝试部署该应用程序时,我得到了这个错误

-----> Building on the Heroku-20 stack
-----> Using buildpack: heroku/nodejs
-----> Node.js app detected

-----> Creating runtime environment

NPM_CONFIG_LOGLEVEL=error
NODE_VERBOSE=false
NODE_ENV=production
NODE_MODULES_CACHE=true

-----> Installing binaries
engines.node (package.json):  14.x
engines.npm (package.json):   unspecified (use default)

Resolving node version 14.x...
Downloading and installing node 14.16.0...
Using default npm version: 6.14.11

-----> Installing dependencies
Installing node modules
npm ERR! @heroku-cli/plugin-addons not accessible from heroku

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/npmcache.fHOrI/_logs/2021-03-24T14_04_47_335Z-debug.log
-----> Build failed

We're sorry this build is failing! You can troubleshoot common issues here:
https://devcenter.heroku.com/articles/troubleshooting-node-deploys

If you're stuck, please submit a ticket so we can help:
https://help.heroku.com/

Love,
Heroku

!     Push rejected, failed to compile Node.js app.
!     Push failed

为什么它不能访问部署正在生成的插件?在node_module文件夹中

我有一个类似的错误,我通过在丢失的特定库上运行npm安装来修复它。我会尝试重新安装Heroku CLI,然后重新安装npm。如果您丢失了一个特定的软件包,请尝试重新安装。

作为参考,我有这个错误:

Installing dependencies

Installing node modules

npm ERR! ws not accessible from @heroku-cli/plugin-ci

我通过为web套接字插件运行npm install ws来修复它。

最新更新