Skip to content

Instantly share code, notes, and snippets.

@fuss86
Created August 20, 2019 21:07
Show Gist options
  • Save fuss86/aaaa73ce71a371d65e0d0226395ed670 to your computer and use it in GitHub Desktop.
Save fuss86/aaaa73ce71a371d65e0d0226395ed670 to your computer and use it in GitHub Desktop.
fuss@FUSIK-LAPTOP MINGW64 ~/IdeaProjects/strongbox-web-ui (master)
$ npm install
> strongbox-web-ui@0.0.0 postinstall C:\Users\fuss\IdeaProjects\strongbox-web-ui
> npm run webdriver-update && npm run patch-antlr4 && npm run antlr4
> strongbox-web-ui@0.0.0 webdriver-update C:\Users\fuss\IdeaProjects\strongbox-web-ui
> webdriver-manager update
[23:05:41] I/update - chromedriver: file exists C:\Users\fuss\IdeaProjects\strongbox-web-ui\node_modules\protractor\node_modules\webdriver-manager\selenium\chromedriver_76.0.3809.12.zip
[23:05:41] I/update - chromedriver: unzipping chromedriver_76.0.3809.12.zip
[23:05:41] I/update - chromedriver: chromedriver_76.0.3809.12.exe up to date
[23:05:41] I/update - selenium standalone: file exists C:\Users\fuss\IdeaProjects\strongbox-web-ui\node_modules\protractor\node_modules\webdriver-manager\selenium\selenium-server-standalone-3.141.59.jar
[23:05:41] I/update - selenium standalone: selenium-server-standalone-3.141.59.jar up to date
[23:05:41] I/update - geckodriver: file exists C:\Users\fuss\IdeaProjects\strongbox-web-ui\node_modules\protractor\node_modules\webdriver-manager\selenium\geckodriver-v0.24.0.zip
[23:05:41] I/update - geckodriver: unzipping geckodriver-v0.24.0.zip
[23:05:42] I/update - geckodriver: geckodriver-v0.24.0.exe up to date
> strongbox-web-ui@0.0.0 patch-antlr4 C:\Users\fuss\IdeaProjects\strongbox-web-ui
> replace '^var fs.*' 'var fs = false;' ./node_modules/antlr4/FileStream.js ./node_modules/antlr4/CharStreams.js
fs.js:114
throw err;
^
Error: ENOENT: no such file or directory, lstat ''var'
at Object.lstatSync (fs.js:845:3)
at replacizeFileSync (C:\Users\fuss\IdeaProjects\strongbox-web-ui\node_modules\replace\replace.js:138:22)
at module.exports (C:\Users\fuss\IdeaProjects\strongbox-web-ui\node_modules\replace\replace.js:79:17)
at Object.<anonymous> (C:\Users\fuss\IdeaProjects\strongbox-web-ui\node_modules\replace\bin\replace.js:42:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! strongbox-web-ui@0.0.0 patch-antlr4: `replace '^var fs.*' 'var fs = false;' ./node_modules/antlr4/FileStream.js ./node_modules/antlr4/CharStreams.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the strongbox-web-ui@0.0.0 patch-antlr4 script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\fuss\AppData\Roaming\npm-cache\_logs\2019-08-20T21_05_44_157Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! strongbox-web-ui@0.0.0 postinstall: `npm run webdriver-update && npm run patch-antlr4 && npm run antlr4`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the strongbox-web-ui@0.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\fuss\AppData\Roaming\npm-cache\_logs\2019-08-20T21_05_44_219Z-debug.log
fuss@FUSIK-LAPTOP MINGW64 ~/IdeaProjects/strongbox-web-ui (master)
$ node -v
v10.16.3
fuss@FUSIK-LAPTOP MINGW64 ~/IdeaProjects/strongbox-web-ui (master)
$ npm -v
6.9.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment