Trying to deploy a Node.js application to heroku but when using
git push heroku master
I get the following trace (only part of the whole trace is shown but it is the part which I believe to be the problem - if not let me know):
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:
remote: ! Push rejected, failed to compile Node.js app
The package.json file works fine with other people's heroku, so that doesn't seem to be the problem.
Any ideas let me know.
Thanks