Closed codetelo closed 1 year ago
Hey @codetelo! I believe this would be an issue that you can open up directly on parcel's repo, I've not hit it before with Nx and don't believe it would be Nx specific. Can you do that and see if they address it? Its not something we can change or influence.
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Current Behavior
The initial
pnpm i
seems to work as expected, but when either runningpnpm add package_name
orpnpm i
again. It fails when running the install script inside of@parcel/watcher
. Commenting out the install script seems to resolve the issue. So, it is definitely related to that script.The error it's throwing shows why. It seems that instead of looking for node-gyp-build inside the node_modules folder from which it's being called, it seems it's moving up too many directories or something.
Expected Behavior
It should be able to install and add packages without running into an error.
GitHub Repo
https://github.com/codetelo/nx-starter
Steps to Reproduce
https://github.com/codetelo/nx-starter
.pnpm i
.pnpm i
again or try to add a package.Nx Report
Failure Logs
Additional Information
Here is the package.json in question: