Skip to content

Instantly share code, notes, and snippets.

@ADKaster
Last active July 7, 2024 09:18
Show Gist options
  • Save ADKaster/af2f9e5c5dbc7906b41ab2730cbc3125 to your computer and use it in GitHub Desktop.
Save ADKaster/af2f9e5c5dbc7906b41ab2730cbc3125 to your computer and use it in GitHub Desktop.
-----> Building on the Heroku-22 stack
-----> Using buildpacks:
1. heroku/nodejs
2. https://github.com/jakeg/heroku-buildpack-bun
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NODE_OPTIONS=--max_old_space_size=2560
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 20.x...
Downloading and installing node 20.15.0...
Using default npm version: 10.7.0
-----> Restoring cache
Cached directories were not restored due to a change in version of node, npm, yarn or stack
Module installation may take longer for this build
-----> Installing dependencies
Installing node modules (package.json)
npm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
npm notice To update run: npm install -g npm@10.8.1
npm notice
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: ladybird-bot@0.1.0
npm error Found: eslint@8.57.0
npm error node_modules/eslint
npm error dev eslint@"^8.39.0" from the root project
npm error peer eslint@"^8.56.0" from @typescript-eslint/eslint-plugin@7.15.0
npm error node_modules/@typescript-eslint/eslint-plugin
npm error dev @typescript-eslint/eslint-plugin@"^7.15.0" from the root project
npm error 1 more (@typescript-eslint/parser)
npm error
npm error Could not resolve dependency:
npm error peer eslint@"9" from eslint-plugin-unused-imports@4.0.0
npm error node_modules/eslint-plugin-unused-imports
npm error dev eslint-plugin-unused-imports@"^4.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/npmcache.oAxRf/_logs/2024-07-07T09_05_17_389Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/npmcache.oAxRf/_logs/2024-07-07T09_05_17_389Z-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
-----> Building on the Heroku-22 stack
-----> Using buildpacks:
1. heroku/nodejs
2. https://github.com/jakeg/heroku-buildpack-bun
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NODE_OPTIONS=--max_old_space_size=2560
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 20.x...
Downloading and installing node 20.15.0...
Using default npm version: 10.7.0
-----> Restoring cache
Cached directories were not restored due to a change in version of node, npm, yarn or stack
Module installation may take longer for this build
-----> Installing dependencies
Installing node modules (package.json)
npm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
npm notice To update run: npm install -g npm@10.8.1
npm notice
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: ladybird-bot@0.1.0
npm error Found: eslint@8.57.0
npm error node_modules/eslint
npm error dev eslint@"^8.56.0" from the root project
npm error peer eslint@"^8.56.0" from @typescript-eslint/eslint-plugin@7.15.0
npm error node_modules/@typescript-eslint/eslint-plugin
npm error dev @typescript-eslint/eslint-plugin@"^7.15.0" from the root project
npm error 1 more (@typescript-eslint/parser)
npm error
npm error Could not resolve dependency:
npm error peer eslint@"9" from eslint-plugin-unused-imports@4.0.0
npm error node_modules/eslint-plugin-unused-imports
npm error dev eslint-plugin-unused-imports@"^4.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/npmcache.8om0V/_logs/2024-07-07T09_16_04_223Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/npmcache.8om0V/_logs/2024-07-07T09_16_04_223Z-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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment