[BUG](arborist) node-gyp
doesn't work from within Electron
#4291
Labels
ws:arborist
Related to the arborist workspace
node-gyp
doesn't work from within Electron
#4291
What / Why
Hi,
I have an Electron app in which I am using arborist to install npm packages into a folder at runtime. Those packages are then required and used. When I install a package which requires native addon modules to be rebuilt using node-gyp, I encounter the following error:
The german (sorry for that, but my windows is set to German) translates to The command "node-gyp" is either misspelled or could not be found.
All of this happens in the Electron Main process. The end-user will not have NodeJS nor node-gyp installed.
So I ship it with my electron app. But how can I tell arborist to use node-gyp from that path?
When
I install a npm package requiring node-gyp rebuilds.
Where
In an Electron main process
How
?
Current Behavior
See above
Steps to Reproduce
Expected Behavior
It should rebuild the dependencies.
Who
References
The text was updated successfully, but these errors were encountered: