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

Fatal Error on Create a Docker Image #139

Open
raquellandrade opened this issue Nov 23, 2021 · 0 comments
Open

Fatal Error on Create a Docker Image #139

raquellandrade opened this issue Nov 23, 2021 · 0 comments

Comments

@raquellandrade
Copy link

When I try a docker run in the image that I build, I get this message:

WARN  Module @nuxtjs/gtm not found. Please ensure @nuxtjs/gtm is in dependencies and installed.


 FATAL  Cannot find module '@nuxtjs/gtm'
Require stack:
- /app/node_modules/@nuxt/core/dist/core.js

  Require stack:
  - node_modules/@nuxt/core/dist/core.js
  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
  at Function.resolve (internal/modules/cjs/helpers.js:99:19)
  at p (node_modules/jiti/dist/jiti.js:1:52925)
  at Resolver.g [as _require] (node_modules/jiti/dist/jiti.js:1:54200)
  at Resolver.requireModule (node_modules/@nuxt/core/dist/core.js:381:29)
  at ModuleContainer.addModule (node_modules/@nuxt/core/dist/core.js:182:38)
  at node_modules/@nuxt/utils/dist/utils.js:639:43
  at async ModuleContainer.ready (node_modules/@nuxt/core/dist/core.js:55:5)
  at async Nuxt._init (node_modules/@nuxt/core/dist/core.js:478:5)


   ╭─────────────────────────────────────────────────╮
   │                                                 │
   │   ✖ Nuxt Fatal Error                            │
   │                                                 │
   │   Error: Cannot find module '@nuxtjs/gtm'       │
   │   Require stack:                                │
   │   - /app/node_modules/@nuxt/core/dist/core.js   │
   │                                                 │
   ╰─────────────────────────────────────────────────╯

I have tried both initializations from the Readme and got the same problem.

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