-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Environment info
firebase-tools: 9.16.5
Platform: Windows 10
Node: 14.17.3
NPM: 6.14.13
Package.json Dep:
Firebase: 8.9.1
@google-cloud/functions-framework: 1.9.0
firebase-functions: 3.15.4
Typescript: 4.3.5
Steps to reproduce
- Upgrade from node 10 to node 14 (update from commonJS to ESM).
- Attempt to deploy.
Expected behavior
The firebase functions to be deployed.
Actual behavior
Deploy fails while running pre-deploy script:
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
Additional info:
The same is shown if I specify a single function.
We had previously an issue with starting the emulators when initially updating to Node14 - this was resolved by #2994 / #3573 / #3574 (Thanks Daniel Lee!)
I can start the emulators and use the functions locally.
Metadata
Metadata
Assignees
Labels
No labels