parse-community / parse-server-example

Example of Parse Server using the express framework.

Home Page:http://parseplatform.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when deploy on Heroku

cuongdq88 opened this issue · comments

commented

Hello. Please help me issue when i deploy on heroku.
Thanks & Best Regards.

-----> Node.js app detected

-----> Creating runtime environment

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

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

   Resolving node version >8...
   Downloading and installing node 15.0.1...
   Using default npm version: 7.0.3

-----> Installing dependencies
Installing node modules (package.json)
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: graphql@15.1.0
npm ERR! node_modules/parse-server/node_modules/graphql
npm ERR! graphql@"15.1.0" from parse-server@4.3.0
npm ERR! node_modules/parse-server
npm ERR! parse-server@"4.3.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer graphql@"^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.1 || ^14.0.2" from subscriptions-transport-ws@0.9.16
npm ERR! node_modules/parse-server/node_modules/subscriptions-transport-ws
npm ERR! subscriptions-transport-ws@"0.9.16" from parse-server@4.3.0
npm ERR! node_modules/parse-server
npm ERR! parse-server@"4.3.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /tmp/npmcache.t3F5T/eresolve-report.txt for a full report.

   npm ERR! A complete log of this run can be found in:
   npm ERR!     /tmp/npmcache.t3F5T/_logs/2020-10-29T14_48_02_319Z-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
   
   Some possible problems:
   
   - Dangerous semver range (>) in engines.node
     https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
   
   Love,
   Heroku

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