-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Dependency conflict: tinyglobby requires picomatch@^4.0.3 but [email protected] is installed. #9295
Copy link
Copy link
Open
Labels
Description
[REQUIRED] Environment info
firebase-tools: 14.19.1
Platform: Windows 10 22H2, vscode, Next.js(v15.5.4)
[REQUIRED] Test case
- npm update
- npm ls picomatch
- firebase deploy --only apphosting
[REQUIRED] Steps to reproduce
Follow the steps above in order.
And, these errors can be observed in step 2.
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected] deduped
│ │ └─┬ [email protected]
│ │ └── [email protected] deduped
│ └─┬ [email protected]
│ └─┬ [email protected]
│ └─┬ [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected] deduped invalid: "^4.0.3" from node_modules/tinyglobby, "^3 || ^4" from node_modules/tinyglobby/node_modules/fdir
│ └── [email protected] deduped invalid: "^4.0.3" from node_modules/tinyglobby
...
npm error code ELSPROBLEMS
npm error invalid: [email protected] D:\...\node_modules\picomatch
[REQUIRED] Expected behavior
The app is deployed normally without any package-related errors.
[REQUIRED] Actual behavior
There's a problem with deployment, and Cloud Build displays the logs for it.
npm error code EUSAGE
| npm error
| npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
| npm error
| npm error Missing: [email protected] from lock file
Al38andr0