0

Heroku CI 有问题。我试过$ heroku buildpacks:set --index 1 heroku/nodejs了,但没有帮助。我不知道该怎么做才能摆脱这个问题。

这是我的错误:

-----> Building on the Heroku-20 stack
-----> Auto detecting buildpacks...
       Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
      Detected buildpacks: Python,PHP,Node.js
      See https://devcenter.heroku.com/articles/buildpacks#using-multiple-buildpacks-----> Python app detected
-----> No Python version was specified. Using the same version as the last build: python-3.9.9
       To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
-----> No change in requirements detected, installing from cache
-----> Using cached install of python-3.9.9
-----> Installing pip 21.3.1, setuptools 57.5.0 and wheel 0.37.0
/app/.heroku/python/lib/python3.9/site-packages/Crypto/Random/Fortuna/FortunaGenerator.py:28: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if sys.version_info[0] is 2 and  sys.version_info[1] is 1:
/app/.heroku/python/lib/python3.9/site-packages/Crypto/Random/Fortuna/FortunaGenerator.py:28: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if sys.version_info[0] is 2 and  sys.version_info[1] is 1:
-----> Installing SQLite3
-----> Installing requirements with pip
-----> Skipping Django collectstatic since the env var DISABLE_COLLECTSTATIC is set.
-----> Running test-setup command `npm install`...
bash: npm: command not found
-----> test-setup command `npm install` failed with exit status 127
4

0 回答 0