Cannot find module '.nuxt/nuxt-fire/firebaseServerAuth.js'
See original GitHub issueHello, i’m having issue with nuxt-ts
when running nuxt-ts build
.
It works fine in dev but fail when i build.
Stack:
Error: Cannot find module '.nuxt/nuxt-fire/firebaseServerAuth.js'
Require stack:
- node_modules/@nuxt/core/dist/core.js
- node_modules/@nuxt/cli/dist/cli-command.js
- node_modules/@nuxt/cli/dist/cli.js
- node_modules/@nuxt/typescript-runtime/bin/nuxt-ts.js
at Resolver.requireModule (node_modules/@nuxt/core/dist/core.js:569:31)
at Server.useMiddleware (node_modules/@nuxt/server/dist/server.js:727:66)
at Server.setupMiddleware (node_modules/@nuxt/server/dist/server.js:680:12)
at Server.ready (node_modules/@nuxt/server/dist/server.js:610:5)
at Nuxt._init (node_modules/@nuxt/core/dist/core.js:655:7)
Config:
/*
** nuxt-fire module configuration
*/
fire: {
config: {
apiKey: process.env.apiKey,
authDomain: process.env.authDomain,
databaseURL: process.env.databaseURL,
projectId: process.env.projectId,
storageBucket: process.env.storageBucket,
messagingSenderId: process.env.messagingSenderId,
appId: process.env.appId,
measurementId: process.env.measurementId
},
services: {
auth: {
initialize: {
onSuccessAction: "User/handleSuccessfulAuthentication",
ssr: true
}
},
firestore: true,
functions: true,
performance: true,
analytics: true
}
}
What did i missed?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (3 by maintainers)
Top Results From Across the Web
How do I resolve "Cannot find module" error using Node.js?
Using npm install installs the module into the current directory only (in a subdirectory called node_modules ). Is app.js located under ...
Read more >"Cannot find module" when main file not index.js with ... - GitHub
The script should display Success! , and does do so if mypackage/Lib.js is renamed to mypackage/index.js . What do you see instead? internal/ ......
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
In my case, I got it like this "Module not found: Error: Can't resolve 'react-icons/fa' in 'C:\Users\user\Desktop\Projects\Address Locator\ ...
Read more >Fix Global Installs Not Working | "Cannot find module" error FIX
Getting " Cannot find module " after installing something globally (with -g)? Well, this video shows you how to fix global package/module ...
Read more >Fix a CloudWatch canary that's failing with the error "Cannot ...
The error message reads: Cannot find module ... under the nodejs/node_modules file path (such as nodejs/node_modules/myCanaryFilename.js).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Same issue:
Should be fixed with v5.