firebase-module
firebase-module copied to clipboard
Unsupported URL Scheme on windows and linux when build or generate
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: https://github.com/nodejs/node/issues/31710
@Yhan17 Hi, did you find a solution for your issue?
@randomnessdev Unfortunately not