You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the electron command executes I get this error
npm ERR! code 1
npm ERR! path /home/ubuntu/.npm/_npx/35c48adf706267bc/node_modules/lzma-native
npm ERR! command failed
npm ERR! command sh -c -- node-gyp-build
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2022-11-03T19_29_08_357Z-debug-0.log
My node version is
NPM version is
When I try just installing lzma-native, I get a very similar error, so I assume I can not build electron due to an issue with lzma-native
Let me know what you think, and if there is any other info you need from me.
The text was updated successfully, but these errors were encountered:
decolon
changed the title
Unable to build lzma-native in Multipass Jammy
Unable to build lzma-native in Multipass LTS
Nov 3, 2022
I am trying to build an Electron app in an Ubuntu 22.04 Multipass VM. I am using the following commands to set up the VM and build a sample app
multipass launch lts --name almatech --cpus 4 --disk 10G --mem 4G
multipass exec almatech -- sudo apt update
multipass exec almatech -- sudo snap install node --classic
multipass exec almatech -- npm init electron-app@latest /my-app
I am running
on a M2 Mac Air
When the electron command executes I get this error
npm ERR! code 1
npm ERR! path /home/ubuntu/.npm/_npx/35c48adf706267bc/node_modules/lzma-native
npm ERR! command failed
npm ERR! command sh -c -- node-gyp-build
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2022-11-03T19_29_08_357Z-debug-0.log
My node version is
NPM version is
When I try just installing lzma-native, I get a very similar error, so I assume I can not build electron due to an issue with lzma-native
Let me know what you think, and if there is any other info you need from me.
The text was updated successfully, but these errors were encountered: