Desktop toolchain does not support Node 10 currently
See original GitHub issueWe’ve had some reports of contributors being unable to build Desktop in Node 10, which has mostly been down to native node modules which weren’t compatible with Node 10.
Some recent reports of users who encountered this: #5603, #5654, #5672
Note that this is a separate issue to how we build the Electron itself - we use app/.npmrc
to control how the native modules the app needs are built.
I believe https://github.com/desktop/desktop/pull/5644 is the last piece of the puzzle, but it’s blocked on requiring clarification from another team about whether it’s the right approach.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Node Sass with apple m1, Big Sur and arm64 - Stack Overflow
I think, you are using an M1 Mac. And node-sass currently doesn't support it natively.
Read more >Set up NodeJS on native Windows - Microsoft Learn
A guide to help you get your Node.js development environment set up directly on Windows.
Read more >How to fix 'npm does not support Node.js v14' error on ...
How to fix 'npm does not support Node.js v14' error on Windows 10 · Uninstall node.js (Windows Add/Remove programs) · Manually delete the...
Read more >node-gyp - npm
node -gyp - Node.js native addon build tool ... node-gyp is a cross-platform command-line tool written in Node.js for compiling native addon ...
Read more >How to Update Node.js to the Latest Version (2022)
js and npm versions. This method will allow you to use the Linux subsystem on Windows desktops. 3. macOS: Updating Node.js Version with...
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 FreeTop 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
Top GitHub Comments
Friendly bump on this because Node 10 was just transitioned to LTS, meaning Node 8 support is going to be phased out - https://nodejs.org/en/blog/release/v10.13.0/
Tentatively pulling this into 1.6.1 because I have a working branch, but it needs some tooling to catch regressions. I plan to open a few PRs in the coming days in this order:
legal-eagle
from the mainbuild.ts
into it’s own module and wrap it in aPromise
, so it can be chained better (top-levelawait
isn’t currently possible, as far as I’m aware)$
this represents a SassScript value that wasn’t encoded properly, so the app will run but something won’t look right