package-lock.json 在 heroku 中不起作用

问题描述

我制作了一个不和谐的机器人,我希望它 24/7 全天候工作。

Heroku 日志:

npm ERR! cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.

我的 package-lock.json:

{
  "name": "hello-express","version": "0.0.1","lockfiLeversion": 1,"requires": true,"dependencies": {
    "abs": {
      "version": "1.3.14","resolved": "https://registry.npmjs.org/abs/-/abs-1.3.14.tgz","integrity": "sha512-PrS26IzwKLWwuURpiKl8wRmJ2KdR/azaVrLEBWG/TALwT20Y7qjtYp1qcMLHA4206hBHY5phv3w4pjf9NPv4Vw==","requires": {
        "ul": "^5.0.0"
      }
    },"ansi-styles": {
      "version": "3.2.1","resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz","integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","requires": {
        "color-convert": "^1.9.0"
      }

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)