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
Alright. After a few (more) minutes of debugging, I've finally solved a problem with electron-rebuild on Windows 10, version v15.3.0, npm version v6.14.7.
I got a lot of syntax errors and other problems using the serialport library (when running electron-rebuild).
The only thing I really remember is that it tried running some MSBuild.exe process that then detected syntax errors where apparently, there were none.
What solved it for me (having previously installed Visual Studio 2017 Community Edition) was following the following line:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Alright. After a few (more) minutes of debugging, I've finally solved a problem with
electron-rebuild
on Windows 10, versionv15.3.0
, npm versionv6.14.7
.I got a lot of syntax errors and other problems using the
serialport
library (when runningelectron-rebuild
).The only thing I really remember is that it tried running some MSBuild.exe process that then detected syntax errors where apparently, there were none.
What solved it for me (having previously installed Visual Studio 2017 Community Edition) was following the following line:
from the
node-gyp
README.After that, everything worked fine.
(just wanted to put this out here, maybe it'll help somebody 😉 )
Beta Was this translation helpful? Give feedback.
All reactions