Error building parcel watcher on m1
Error: No prebuild or local build of @parcel/watcher found. Tried @parcel/watcher-darwin-arm64. Please ensure it is installed (don't use --no-optional when installing with npm). Otherwise it is possible we don't support your platform yet. If this is the case, please report an issue to https://github.com/parcel-bundler/watcher.
at Object.
have this same issue
+1. Facing this issue when bundling as a standalone executable using pkg.
Just sharing on behalf of a coworker, we got the same error. After rolling back to v2.1.0 the error went away. From what I can tell, this was the point in which the prebuilds binaries stopped being shipped with the package.
- https://unpkg.com/browse/@parcel/[email protected]
- https://unpkg.com/browse/@parcel/[email protected]
Adding the following the package.json was our workaround for this issue.
"overrides": {
"@parcel/watcher": "~2.1.0"
}
@parcel/watcher-darwin-arm64 does exist. So if it's not being installed then that's a problem with your package manager.