We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2b618c commit 037e562Copy full SHA for 037e562
lib/native_loader.js
@@ -106,7 +106,7 @@ function loadNativeAddon() {
106
debug('Running forced node-gyp rebuild...');
107
execSync('npm run rebuild', {
108
stdio: 'inherit',
109
- cwd: __dirname + '/..',
+ cwd: path.join(__dirname, '..'),
110
timeout: 300000, // 5 minute timeout
111
});
112
@@ -170,7 +170,7 @@ function loadNativeAddon() {
170
debug('Running node-gyp rebuild...');
171
172
173
174
175
176
0 commit comments