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

Bug: heroku dev instance push error #365

Open
xinbenlv opened this issue Dec 6, 2020 · 0 comments
Open

Bug: heroku dev instance push error #365

xinbenlv opened this issue Dec 6, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@xinbenlv
Copy link
Contributor

xinbenlv commented Dec 6, 2020

image

-----> Node.js app detected
       
-----> Creating runtime environment
       
       NPM_CONFIG_LOGLEVEL=error
       NPM_CONFIG_PRODUCTION=false
       USE_YARN_CACHE=true
       NODE_ENV=production
       NODE_MODULES_CACHE=true
       NODE_VERBOSE=false
       
-----> Installing binaries
       engines.node (package.json):  12.19.1
       engines.npm (package.json):   6.14.8
       engines.yarn (package.json):  1.22.5
       
       Resolving node version 12.19.1...
       Downloading and installing node 12.19.1...
       npm 6.14.8 already installed with node
       Resolving yarn version 1.22.5...
       Downloading and installing yarn (1.22.5)
       Installed yarn 1.22.5
       
-----> 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 (yarn.lock)
       yarn install v1.22.5
       [1/4] Resolving packages...
       [2/4] Fetching packages...
       info [email protected]: The platform "linux" is incompatible with this module.
       info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
       info [email protected]: The platform "linux" is incompatible with this module.
       info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
       info [email protected]: The platform "linux" is incompatible with this module.
       info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
       [3/4] Linking dependencies...
       warning " > [email protected]" has unmet peer dependency "axios@>= 0.9.0".
       warning "@nuxtjs/storybook > @storybook/[email protected]" has unmet peer dependency "css-loader@*".
       warning "@nuxtjs/storybook > @storybook/[email protected]" has unmet peer dependency "ts-loader@^6.2.2".
       warning "@nuxtjs/storybook > @storybook/[email protected]" has unmet peer dependency "vue-loader@^15.7.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/[email protected]" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/[email protected]" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/[email protected]" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/[email protected]" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/[email protected]" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/[email protected]" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/[email protected]" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/[email protected]" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/[email protected]" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/[email protected]" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > [email protected]" has unmet peer dependency "react@^16.8.4".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-docs > @mdx-js/[email protected]" has unmet peer dependency "react@^16.13.1 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-docs > @storybook/[email protected]" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-docs > @storybook/[email protected]" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-docs > [email protected]" has unmet peer dependency "react@^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-docs > [email protected]" has unmet peer dependency "react-dom@^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addons > @storybook/[email protected]" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addons > @storybook/[email protected]" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/api > @reach/[email protected]" has unmet peer dependency "[email protected] || 16.x || 16.4.0-alpha.0911da3".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/api > @reach/[email protected]" has unmet peer dependency "[email protected] || 16.x || 16.4.0-alpha.0911da3".
       warning "@nuxtjs/storybook > @storybook/vue > vue-docgen-api > @vue/[email protected]" has incorrect peer dependency "[email protected]".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/components > [email protected]" has unmet peer dependency "react@>= 0.14.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/components > [email protected]" has unmet peer dependency "react@*".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/components > [email protected]" has unmet peer dependency "react@^16.6.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/components > [email protected]" has unmet peer dependency "react-dom@^16.6.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/components > [email protected]" has unmet peer dependency "react@>= 0.14.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/components > [email protected]" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/theming > @emotion/[email protected]" has unmet peer dependency "react@>=16.3.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/theming > @emotion/[email protected]" has unmet peer dependency "react@>=16.3.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/theming > [email protected]" has unmet peer dependency "react@>=16.3.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/api > @reach/router > [email protected]" has unmet peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/components > react-color > @icons/[email protected]" has unmet peer dependency "react@*".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/components > react-popper-tooltip > [email protected]" has unmet peer dependency "react@^16.8.0 || ^17".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/components > react-textarea-autosize > [email protected]" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/components > react-textarea-autosize > [email protected]" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/theming > @emotion/styled > @emotion/[email protected]" has unmet peer dependency "react@>=16.3.0".
       warning "@nuxtjs/storybook > @storybook/addon-essentials > @storybook/addon-actions > @storybook/components > react-textarea-autosize > use-latest > [email protected]" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
       warning " > [email protected]" has incorrect peer dependency "[email protected] || 4.0.x".
       [4/4] Building fresh packages...
       Done in 212.80s.
       
-----> Build
       Detected both "build" and "heroku-postbuild" scripts
       Running heroku-postbuild (yarn)
       yarn run v1.22.5
       $ npm run build
       
       > [email protected] build /tmp/build_685d1315_
       > nuxt build
       
 FATAL  Unexpected token '.'
  return ctx.app.$env?.GA_WLBF_ID_CLIENT;
  ^
  
  SyntaxError: Unexpected token '.'
  at Object.compileFunction (vm.js:379:18)
  at Generator.next (<anonymous>)
   ╭───────────────────────────────────────╮
   │                                       │
   │   ✖ Nuxt Fatal Error                  │
   │                                       │
   │   SyntaxError: Unexpected token '.'   │
   │                                       │
   ╰───────────────────────────────────────╯
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `nuxt build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/npmcache.mqNSI/_logs/2020-12-06T05_47_56_010Z-debug.log
error Command failed with exit code 1.
       info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
-----> Build failed
       
       We're sorry this build is failing! You can troubleshoot common issues here:
       https://devcenter.heroku.com/articles/troubleshooting-node-deploys
       
       If you're stuck, please submit a ticket so we can help:
       https://help.heroku.com/
       
       Love,
       Heroku
       
 !     Push rejected, failed to compile Node.js app.
 !     Push failed
@xinbenlv xinbenlv added the bug Something isn't working label Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant