I used to have parse-dashboard deployed on Heroku for a few months now and I wanted to update it with the latest version. I just pulled the latest version from the git repository and tried to deploy to the respective Heroku repository.
I’m getting an error while deploying that there is a dependency issue. I tried with turning off dependancy caching on Heroku but no luck. Can anyone figure out the issue here?
remote: Building source: remote: remote: -----> Node.js app detected remote: remote: -----> Creating runtime environment remote: remote: NPM_CONFIG_LOGLEVEL=error remote: NODE_ENV=production remote: NODE_MODULES_CACHE=false remote: NODE_VERBOSE=false remote: remote: -----> Installing binaries remote: engines.node (package.json): >=4.3 remote: engines.npm (package.json): unspecified (use default) remote: remote: Resolving node version >=4.3... remote: Downloading and installing node 12.6.0... remote: Using default npm version: 6.9.0 remote: remote: -----> Restoring cache remote: Caching has been disabled because NODE_MODULES_CACHE=false remote: remote: -----> Installing dependencies remote: Installing node modules (package.json + package-lock) remote: npm ERR! code ENOLOCAL remote: npm ERR! Could not install from "node_modules/graphql-playground-react/codemirror-graph[email protected]:timsuchanek/codemirror-graphql#801ec32683c38d6dc0f8f7bc19014a111edc9ebd" as it does not contain a package.json file. remote: remote: npm ERR! A complete log of this run can be found in: remote: npm ERR! /tmp/npmcache.7oPmq/_logs/2019-07-10T06_57_52_923Z-debug.log remote: remote: -----> Build failed remote: remote: We're sorry this build is failing! You can troubleshoot common issues here: remote: https://devcenter.heroku.com/articles/troubleshooting-node-deploys remote: remote: Some possible problems: remote: remote: - Dangerous semver range (>) in engines.node remote: https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version remote: remote: Love, remote: Heroku remote: remote: ! Push rejected, failed to compile Node.js app. remote: remote: ! Push failed remote: Verifying deploy... remote: remote: ! Push rejected to techie-backbone-dashboard. remote: To https://git.heroku.com/techie-backbone-dashboard.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/techie-xxxxxxxx-dashboard.git'```