Cannot find Parcel plugin "@parcel/transformer-image" #6163
-
🐛 bug reportInstalling the latest nightly version Parcel breaks importing images. 🎛 Configuration (.babelrc, package.json, cli command)https://github.com/cubing/cubing.js/blob/main/package.json 🤔 Expected BehaviorThe project builds. 😯 Current Behavior
💁 Possible SolutionIt seems the image transformer is not installed in 🔦 ContextI was trying to upgrade our Parcel version to see if potential fixes for other bugs are stable. (Such as #3481. That one may be fixed, but while trying to create a minimal repro with Parcel 2.0.0-nightly.643... I ran into another infinite rebuild loop.) 💻 Code Sample
I'm sorry, I was unable to make a small repro. 🌍 Your Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
It's a very large dependency and a lot of people complain about install size so we've added something called See https://github.com/parcel-bundler/parcel/blob/v2/packages/configs/default/package.json#L53 So you do need to install it manually, although it should install automatically in dev if I'm not mistaken. |
Beta Was this translation helpful? Give feedback.
It's a very large dependency and a lot of people complain about install size so we've added something called
parcelDependencies
to config packages so it can be installed later and still match a certain version.See https://github.com/parcel-bundler/parcel/blob/v2/packages/configs/default/package.json#L53
So you do need to install it manually, although it should install automatically in dev if I'm not mistaken.