You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I was trying to build a nuxt app to deploy in vercel. However, I can't run the build due to some problems in the firebase files generated inside node_modules, which caused me not being able to deploy my application. The error happens when trying to import firebase files in node_modules@nuxtjs\firebase\lib\module.js, where in windows and linux it does not identify at "build" or "generate" the file being passed due to the type of import. even in new apps with firebase and nuxt only. Below is the screenshot of the images.
My firebase config:
When i run yarn build or yarn generate
In vercel:
Possible Solution: The directory passed in is being recognized as a browser URL on Windows and Linux, rather than a directory path. For this it would be necessary to pass the file: // before the directory path.
Version
@nuxtjs/firebase: "^7.6.1"
firebase: "^8.10.0"
nuxt: "^2.15.7"
Hi there, I was trying to build a nuxt app to deploy in vercel. However, I can't run the build due to some problems in the firebase files generated inside node_modules, which caused me not being able to deploy my application. The error happens when trying to import firebase files in node_modules@nuxtjs\firebase\lib\module.js, where in windows and linux it does not identify at "build" or "generate" the file being passed due to the type of import. even in new apps with firebase and nuxt only. Below is the screenshot of the images.
My firebase config:
When i run yarn build or yarn generate
In vercel:
Possible Solution: The directory passed in is being recognized as a browser URL on Windows and Linux, rather than a directory path. For this it would be necessary to pass the file: // before the directory path.
The question that is the solution is in the link: nodejs/node#31710
The text was updated successfully, but these errors were encountered: