Unable to install on darwin (inotify@1.4.2: The platform "darwin" is incompatible with this module.)
See original GitHub issue- Version: 20.26.1
- electron-updater Version: 3.0.3
- Target: darwin
I get the following error when trying to install electron-builder on the mac:
yarn add dev electron-builder --latest
yarn add v1.7.0
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
⠂ dev(node:13730) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[3/5] 🚚 Fetching packages...
error inotify@1.4.2: The platform "darwin" is incompatible with this module.
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
How to solve "Unsupported platform for inotify@1.4.2"
Run the below command to remove the dev package. npm uninstall dev --save. I hope I'm able to help with this answer.
Read more >Unable to build on macOS Apple silicon - Joplin Forum
However, after yarn install from the root directory, I am facing an error as: ... darwin-arm64 architecture is incompatible with this module, link...
Read more >I can't install TensorFlow-macos a… | Apple Developer Forums
And so, I updated my OS to Monterey Beta and tried to install TensorFlow-Metal a few days ago. However, all installing instruction commands...
Read more >Darwin (operating system) - Wikipedia
Darwin is an open-source Unix operating system first released by Apple Inc. in 2000. It is composed of code derived from NeXTSTEP, BSD,...
Read more >esbuild-darwin-arm64 - npm
The macOS ARM 64-bit binary for esbuild, a JavaScript bundler.. Latest version: 0.15.18, last published: 18 days ago.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think I have found my issue.
Should be
Not
doh!
No, the problem is as per my last post.
This is trying to install 2 packages -
dev
andelectron-builder
. Where as what I means to do was to installelectron-builder
as a dev package withyarn add ---dev electron-builder --latest