parcel-bundler/parcel
View on GitHubImprove error message, when having nightly and standard packages in package.json at the same time
Open
#7946 opened on Apr 13, 2022
:raising_hand_woman: FeatureGood First Issue
Description
🐛 bug report
parcel build doesn't work
🎛 Configuration (.babelrc, package.json, cli command)
package.json:
"@parcel/config-webextension": "^2.4.2-nightly.2666",
"@parcel/reporter-bundle-analyzer": "^2.4.1",
"@parcel/transformer-typescript-tsc": "^2.4.1",
"parcel": "^2.4.1"
{
"extends": "@parcel/config-webextension",
}
🤔 Expected Behavior
builds ok
😯 Current Behavior
errors out:
> build:dev
> NODE_ENV=development parcel build src/entry/manifest.json --log-level verbose && date +"%T"
[ThrowableDiagnostic [Error]: The plugin "@parcel/reporter-dev-server" is not compatible with the current version of Parcel. Requires "2.0.0-nightly.1041+39b330e74" but the current version is "2.4.1".] {
diagnostics: [
{
message: 'The plugin "@parcel/reporter-dev-server" is not compatible with the current version of Parcel. Requires "2.0.0-nightly.1041+39b330e74" but the current version is "2.4.1".',
origin: '@parcel/core',
codeFrames: [Array]
}
]
}
💁 Possible Solution
fix the deps in @parcel\core
🌍 Your Environment
| Software | Version(s) |
|---|---|
| Parcel | 2.4.1 |
| Node | 17.3.0 |
| npm/Yarn | npm 8.3.0 |
| Operating System | macOS 12.3 |