Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@parcel/watcher on FreeBSD ARM? (No prebuild or local build of @parcel/watcher found.) #201

Open
phips opened this issue Mar 3, 2025 · 3 comments

Comments

@phips
Copy link

phips commented Mar 3, 2025

Hello,

I'm using tailwindcss with Hugo, and @parcel/watcher is a dependancy. The system is FreeBSD 14.2 on an ARM processor.

I see FreeBSD is supported fine, but I don't see ARM support. Is this the case, or have I just missed something? Is watcher compilable locally at install time (I couldn't seem to find a way to do that — but that might be just a lack of looking).

Error: No prebuild or local build of @parcel/watcher found. Tried @parcel/watcher-freebsd-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.

Happy to be pointed in the right direction if I'm missing something. If it's not currently supported, I'm happy to help remedy that.

Thanks :)

@vlador4ik
Copy link

vlador4ik commented Mar 4, 2025

The same issue with Mac on M1 with @parcel/watcher-darwin-arm64. When I tried to install @parcel/watcher-darwin-arm64 - Unsupported platform for @parcel/[email protected]: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"darwin","arch":"x64"})

@phips
Copy link
Author

phips commented Mar 4, 2025

The same issue with Mac on M1 with @parcel/watcher-darwin-arm64. When I tried to install @parcel/watcher-darwin-arm64 - Unsupported platform for @parcel/[email protected]: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"darwin","arch":"x64"})

Hmm, strange. It's OK on my M1 Max MacBook.

The lack of FreeBSD on Arm just looks like it's not in the build.

index cbc31fd..094faa3 100644
--- a/scripts/build-npm.js
+++ b/scripts/build-npm.js
@@ -60,6 +60,10 @@ const triples = [
   {
     platform: 'freebsd',
     arch: 'x64'
+  },
+  {
+    platform: 'freebsd',
+    arch: 'arm'
   }
 ];

That built OK, but I'm sure I'm half-assing it, and there's a lot more to it. It would be ace if freebsd-arm could be added relatively simply though 😄

@phips
Copy link
Author

phips commented Mar 4, 2025

uname -a
FreeBSD jetzt 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC arm64

yarn test
yarn run v1.22.19
$ mocha


  watcher
    kqueue
      files
…
  41 passing (6s)

Done in 6.55s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants