Heroku 无法访问插件插件
嘿,我在部署应用程序时遇到问题,当我尝试部署应用程序时,我遇到了此错误Heroku 无法访问插件插件,heroku,Heroku,嘿,我在部署应用程序时遇到问题,当我尝试部署应用程序时,我遇到了此错误 -----> Building on the Heroku-20 stack -----> Using buildpack: heroku/nodejs -----> Node.js app detected -----> Creating runtime environment NPM_CONFIG_LOGLEVEL=error NODE_
-----> 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。如果缺少特定的软件包,请尝试重新安装 作为参考,我有以下错误:
安装依赖项
安装节点模块
npm错误!ws无法从@heroku cli/插件ci访问
我通过为web sockets插件运行npm install ws
修复了它