You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commands parcel and parcel build run without error.
π― Current Behavior
To process manifest.json, Parcel needs @parcel/transformer-webmanifest that it cannot find and crashes with an error. The same happens with other packages needed to run or build a project. It seems that Parcel finds the most top-level yarn.lock and tries to resolve node_modules there.
π Possible Solution
I assume that somewhere in the code there is an error due to which the collector is looking not for the first package.json, but for the last.
π¦ Context
I caught this error completely by accident and had absolutely no idea that I might have yarn.lock up the tree that somehow got there.
π» Code Sample
Here is a repository with an example to reproduce the issue.
π Your Environment
Software
Version(s)
Parcel
2.3.2
Node
16.13.1
npm/Yarn
yarn v.1.22.17
Operating System
macOs Monterey
The text was updated successfully, but these errors were encountered:
π bug report
A project breaks at startup and build if the source file(e.g.
index.html
) is specified using propertysource
inpackage.json
.π Configuration (.babelrc, package.json, cli command)
Project structure:
package.json:
π€ Expected Behavior
Commands
parcel
andparcel build
run without error.π― Current Behavior
To process
manifest.json
, Parcel needs@parcel/transformer-webmanifest
that it cannot find and crashes with an error. The same happens with other packages needed to run or build a project. It seems that Parcel finds the most top-levelyarn.lock
and tries to resolvenode_modules
there.π Possible Solution
I assume that somewhere in the code there is an error due to which the collector is looking not for the first
package.json
, but for the last.π¦ Context
I caught this error completely by accident and had absolutely no idea that I might have
yarn.lock
up the tree that somehow got there.π» Code Sample
Here is a repository with an example to reproduce the issue.
π Your Environment
The text was updated successfully, but these errors were encountered: