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

Error in production using Nuxt | Heroku #70

Open
juniorgarcia opened this issue Sep 28, 2020 · 0 comments
Open

Error in production using Nuxt | Heroku #70

juniorgarcia opened this issue Sep 28, 2020 · 0 comments

Comments

@juniorgarcia
Copy link

I got an error while in production (on Heroku) due babel-helper-vue-jsx-merge-props which is required by this component, but not declared in dependencies on package.json. Since Heroku removes the devDependencies, this triggers this error.

Here is the line requiring this dependency.

Info:

Tool Version
Node v14.11.0
NPM 6.14.8
Yarn 1.22.5
Nuxt 2.14.5

The log:

2020-09-28T19:47:31.420039+00:00 app[web.1]: 
2020-09-28T19:47:31.420058+00:00 app[web.1]: ERROR  Cannot find module 'babel-helper-vue-jsx-merge-props'
2020-09-28T19:47:31.420059+00:00 app[web.1]: Require stack:
2020-09-28T19:47:31.420059+00:00 app[web.1]: - /app/node_modules/vue-nav-tabs/dist/vue-tabs.common.js
2020-09-28T19:47:31.420060+00:00 app[web.1]: - /app/node_modules/vue-server-renderer/build.prod.js
2020-09-28T19:47:31.420060+00:00 app[web.1]: - /app/node_modules/vue-server-renderer/index.js
2020-09-28T19:47:31.420060+00:00 app[web.1]: - /app/node_modules/@nuxt/vue-renderer/dist/vue-renderer.js
2020-09-28T19:47:31.420061+00:00 app[web.1]: - /app/node_modules/@nuxt/server/dist/server.js
2020-09-28T19:47:31.420061+00:00 app[web.1]: - /app/node_modules/@nuxt/core/dist/core.js
2020-09-28T19:47:31.420062+00:00 app[web.1]: - /app/node_modules/@nuxt/cli/dist/cli-index.js
2020-09-28T19:47:31.420062+00:00 app[web.1]: - /app/node_modules/@nuxt/cli/dist/cli.js
2020-09-28T19:47:31.420062+00:00 app[web.1]: - /app/node_modules/nuxt/bin/nuxt.js
2020-09-28T19:47:31.420062+00:00 app[web.1]: 
2020-09-28T19:47:31.420063+00:00 app[web.1]: Require stack:
2020-09-28T19:47:31.420063+00:00 app[web.1]: - node_modules/vue-nav-tabs/dist/vue-tabs.common.js
2020-09-28T19:47:31.420064+00:00 app[web.1]: - node_modules/vue-server-renderer/build.prod.js
2020-09-28T19:47:31.420064+00:00 app[web.1]: - node_modules/vue-server-renderer/index.js
2020-09-28T19:47:31.420064+00:00 app[web.1]: - node_modules/@nuxt/vue-renderer/dist/vue-renderer.js
2020-09-28T19:47:31.420065+00:00 app[web.1]: - node_modules/@nuxt/server/dist/server.js
2020-09-28T19:47:31.420065+00:00 app[web.1]: - node_modules/@nuxt/core/dist/core.js
2020-09-28T19:47:31.420065+00:00 app[web.1]: - node_modules/@nuxt/cli/dist/cli-index.js
2020-09-28T19:47:31.420065+00:00 app[web.1]: - node_modules/@nuxt/cli/dist/cli.js
2020-09-28T19:47:31.420066+00:00 app[web.1]: - node_modules/nuxt/bin/nuxt.js
2020-09-28T19:47:31.420067+00:00 app[web.1]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:893:15)
2020-09-28T19:47:31.420067+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:743:27)
2020-09-28T19:47:31.420068+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:965:19)
2020-09-28T19:47:31.420068+00:00 app[web.1]: at require (internal/modules/cjs/helpers.js:88:18)
2020-09-28T19:47:31.420069+00:00 app[web.1]: at Object.<anonymous> (node_modules/vue-nav-tabs/dist/vue-tabs.common.js:12:38)
2020-09-28T19:47:31.420070+00:00 app[web.1]: at Module._compile (internal/modules/cjs/loader.js:1076:30)
2020-09-28T19:47:31.420070+00:00 app[web.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
2020-09-28T19:47:31.420070+00:00 app[web.1]: at Module.load (internal/modules/cjs/loader.js:941:32)
2020-09-28T19:47:31.420071+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:782:14)
2020-09-28T19:47:31.420071+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:965:19)
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

1 participant