Closed couchoud closed 1 year ago
After running npm run watch:dev in the terminal, I am getting "Access to localhost was denied" when I went to localhost:5000
I also received an error when I ran npx firebase emulators:start
i emulators: Starting emulators: auth, functions, firestore, hosting, storage
⚠ functions: The following emulators are not running, calls to these services from the Functions emulator will affect production: database, pubsub, eventarc
✔ functions: Using node@16 from host.
⚠ functions: Unable to fetch project Admin SDK configuration, Admin SDK behavior in Cloud Functions emulator may be incorrect.
i firestore: Firestore Emulator logging to firestore-debug.log
✔ firestore: Firestore Emulator UI websocket is running on 9150.
i emulators: Shutting down emulators.
i functions: Stopping Functions Emulator
i firestore: Stopping Firestore Emulator
i auth: Stopping Authentication Emulator
i storage: Stopping Storage Emulator
i eventarc: Stopping Eventarc Emulator
i hub: Stopping emulator hub
⚠ hosting: Port 5000 is not open on localhost, could not start Hosting Emulator.
⚠ hosting: To select a different host/port, specify that host/port in a firebase.json config file:
{
// ...
"emulators": {
"hosting": {
"host": "HOST",
"port": "PORT"
}
}
}
i emulators: Shutting down emulators.
Error: Could not start Hosting Emulator, port taken.```
Description of the change
Addresses issue #64. This change should be pretty seamless. One thing to note is that source maps for the javascript files should now be generated when working locally. This helps tremendously with debugging. Vite fixed an issue where source maps were not generating properly.
To test:
npm install
watch:dev
Type of change
Code review