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

I don't manage to make this to start I get error after error and I'm now stocked in this error #2

Open
sebababi opened this issue Apr 4, 2023 · 1 comment

Comments

@sebababi
Copy link

sebababi commented Apr 4, 2023

I don't manage to make this to start I get error after error and I'm now stocked in this error

I cannot even find that prebuilt.js so I suppose it's generated.
The source should be: http://localhost:3000/node_modules/@firebase/firestore/dist/prebuilt.js

I've been trying to re-install all the dependencies, even with the same version.

To solve the above issue I tried to reinstall firebase:

$ npm init
$ npm install --save firebase

OR

$ npm install --save [email protected]

$ npm install

I've deleted node_modules and package.json and reinstalled npm

$ npm install

And no success:

Here's the latest error I don't manage to over pass:

Uncaught TypeError: Cannot convert undefined or null to object
at hasOwnProperty ()
at prebuilt.js:14643:50
at e.t2 (prebuilt.js:14644:37)
at new e (prebuilt.js:15235:9)
at index.ts:41:9
at Component2.instanceFactory (config.ts:80:16)
at Provider2.getOrInitializeService (provider.ts:315:33)
at Provider2.getImmediate (provider.ts:113:21)
at FirebaseAppImpl2._getService (firebaseApp.ts:136:22)
at firebaseAppImpl. [as firestore] (firebaseNamespaceCore.ts:228:29)

Any help would be appreciated.

@sebababi sebababi changed the title I don't manage to make this start I get error after error and I'm now stocked in this error I don't manage to make this to start I get error after error and I'm now stocked in this error Apr 4, 2023
@pipechaves
Copy link

Same as you, got

[plugin:vite:import-analysis] Failed to resolve import "../config.json" from "src\utils\firebase.ts". Does the file exist?

image

@github-staff github-staff deleted a comment Apr 26, 2024
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

2 participants