Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample-js-vue Build Fails on Heroku-20 stack (unable to resolve dependency tree) #152

Open
kazemicode opened this issue Aug 6, 2022 · 1 comment

Comments

@kazemicode
Copy link

kazemicode commented Aug 6, 2022

Log:


-----> Building on the Heroku-20 stack
-----> Determining which buildpack to use for this app
-----> Node.js app detected
       
-----> Creating runtime environment
       
       NPM_CONFIG_PRODUCTION=false
       NPM_CONFIG_LOGLEVEL=error
       YARN_PRODUCTION=false
       NODE_VERBOSE=false
       NODE_ENV=production
       NODE_MODULES_CACHE=true
       
-----> Installing binaries
       engines.node (package.json):  unspecified
       engines.npm (package.json):   unspecified (use default)
       
       Resolving node version 16.x...
       Downloading and installing node 16.16.0...
       Using default npm version: 8.11.0
       
-----> Installing dependencies
       Installing node modules (package.json)
       npm ERR! code ERESOLVE
       npm ERR! ERESOLVE unable to resolve dependency tree
       npm ERR! 
       npm ERR! While resolving: @okta/[email protected]
       npm ERR! Found: [email protected]
       npm ERR! node_modules/eslint
       npm ERR!   dev eslint@"^7.29.0" from the root project
       npm ERR! 
       npm ERR! Could not resolve dependency:
       npm ERR! peer eslint@"^5.0.0 || ^6.0.0" from [email protected]
       npm ERR! node_modules/eslint-plugin-vue
       npm ERR!   dev eslint-plugin-vue@"^6.2.2" 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.91vt8/eresolve-report.txt for a full report.
       
       npm ERR! A complete log of this run can be found in:
       npm ERR!     /tmp/npmcache.91vt8/_logs/2022-08-06T21_55_52_496Z-debug-0.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:
       
       - Node version not specified in package.json
         https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
       
       Love,
       Heroku
       
 !     Push rejected, failed to compile Node.js app.
 !     Push failed
@oleksandrpravosudko-okta
Copy link
Contributor

Thanks for report @kazemicode.
Internal ref: OKTA-521979

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants