Zieris, Franz
2016-01-15 14:37:29 UTC
Hi there,
I have trouble setting up my Node.js environment to try out the HTML GUI.
I work on Windows 10. Here is what I did:
* Installed Node.js 4.2.4 from here: https://nodejs.org/en/
* Opened a Git Bash (to get all Linux-like feeling under Windows).
* Navigated to "de.fu_berlin.inf.dpp.ui.frontend/html"
* Ran "npm install" --> works fine
* Ran "npm run build" --> doesn't work
Here is the output of "npm run build":
-----
konnte nicht gefunden werden.
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
npm ERR! node v4.2.4
npm ERR! npm v2.14.12
npm ERR! code ELIFECYCLE
npm ERR! @ prebuild: `mkdirp bundle dist/bundle/ dist/css dist/fonts`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ prebuild script 'mkdirp bundle dist/bundle/ dist/css dist/fonts'.
npm ERR! This is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! mkdirp bundle dist/bundle/ dist/css dist/fonts
npm ERR! You can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! F:\Development\Saros\saros\de.fu_berlin.inf.dpp.ui.frontend\html\npm-debug.log
-----
Both npm and node are accessible via the PATH variable:
-----
$ npm version
{ npm: '2.14.12',
ares: '1.10.1-DEV',
http_parser: '2.5.0',
icu: '56.1',
modules: '46',
node: '4.2.4',
openssl: '1.0.2e',
uv: '1.7.5',
v8: '4.5.103.35',
zlib: '1.2.8' }
$ node -v
v4.2.4
-----
Did anyone manage to run "npm run build" under Windows 10 yet?
Matthias? Nina? Thorsten?
Cheers,
Franz
PS: If I use Windows's "cmd", I get this output, i.e. the tasks "prebuild" and "build" work fine, but it crashes on "postbuild":
-----
konnte nicht gefunden werden.
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
npm ERR! node v4.2.4
npm ERR! npm v2.14.12
npm ERR! code ELIFECYCLE
npm ERR! @ postbuild: `cp *.html dist/ && cp css/*.* dist/css/ && cp fonts/*.* dist/fonts/ && cp bundle/bundle.js dist/bundle/bundle.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ postbuild script 'cp *.html dist/ && cp css/*.* dist/css/ && cp fonts/*.* dist/fonts/ && cp bundle/bundle.js dist/bundle/bundle.js'.
npm ERR! This is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cp *.html dist/ && cp css/*.* dist/css/ && cp fonts/*.* dist/fonts/ && cp bundle/bundle.js dist/bundle/bundle.js
npm ERR! You can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! F:\\Development\Saros\saros\de.fu_berlin.inf.dpp.ui.frontend\html\npm-debug.log
-----
I have trouble setting up my Node.js environment to try out the HTML GUI.
I work on Windows 10. Here is what I did:
* Installed Node.js 4.2.4 from here: https://nodejs.org/en/
* Opened a Git Bash (to get all Linux-like feeling under Windows).
* Navigated to "de.fu_berlin.inf.dpp.ui.frontend/html"
* Ran "npm install" --> works fine
* Ran "npm run build" --> doesn't work
Here is the output of "npm run build":
-----
@ prebuild F:\Development\Saros\saros\de.fu_berlin.inf.dpp.ui.frontend\html
mkdirp bundle dist/bundle/ dist/css dist/fonts
Der Befehl "node" ist entweder falsch geschrieben odermkdirp bundle dist/bundle/ dist/css dist/fonts
konnte nicht gefunden werden.
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
npm ERR! node v4.2.4
npm ERR! npm v2.14.12
npm ERR! code ELIFECYCLE
npm ERR! @ prebuild: `mkdirp bundle dist/bundle/ dist/css dist/fonts`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ prebuild script 'mkdirp bundle dist/bundle/ dist/css dist/fonts'.
npm ERR! This is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! mkdirp bundle dist/bundle/ dist/css dist/fonts
npm ERR! You can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! F:\Development\Saros\saros\de.fu_berlin.inf.dpp.ui.frontend\html\npm-debug.log
-----
Both npm and node are accessible via the PATH variable:
-----
$ npm version
{ npm: '2.14.12',
ares: '1.10.1-DEV',
http_parser: '2.5.0',
icu: '56.1',
modules: '46',
node: '4.2.4',
openssl: '1.0.2e',
uv: '1.7.5',
v8: '4.5.103.35',
zlib: '1.2.8' }
$ node -v
v4.2.4
-----
Did anyone manage to run "npm run build" under Windows 10 yet?
Matthias? Nina? Thorsten?
Cheers,
Franz
PS: If I use Windows's "cmd", I get this output, i.e. the tasks "prebuild" and "build" work fine, but it crashes on "postbuild":
-----
@ prebuild F:\\Development\Saros\saros\de.fu_berlin.inf.dpp.ui.frontend\html
mkdirp bundle dist/bundle/ dist/css dist/fonts
@ build F:\\Development\Saros\saros\de.fu_berlin.inf.dpp.ui.frontend\html
npm run build:jade -s && npm run build:js -s
@ postbuild F:\\Development\Saros\saros\de.fu_berlin.inf.dpp.ui.frontend\html
cp *.html dist/ && cp css/*.* dist/css/ && cp fonts/*.* dist/fonts/ && cp bundle/bundle.js dist/bundle/bundle.js
Der Befehl "cp" ist entweder falsch geschrieben odermkdirp bundle dist/bundle/ dist/css dist/fonts
@ build F:\\Development\Saros\saros\de.fu_berlin.inf.dpp.ui.frontend\html
npm run build:jade -s && npm run build:js -s
@ postbuild F:\\Development\Saros\saros\de.fu_berlin.inf.dpp.ui.frontend\html
cp *.html dist/ && cp css/*.* dist/css/ && cp fonts/*.* dist/fonts/ && cp bundle/bundle.js dist/bundle/bundle.js
konnte nicht gefunden werden.
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
npm ERR! node v4.2.4
npm ERR! npm v2.14.12
npm ERR! code ELIFECYCLE
npm ERR! @ postbuild: `cp *.html dist/ && cp css/*.* dist/css/ && cp fonts/*.* dist/fonts/ && cp bundle/bundle.js dist/bundle/bundle.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ postbuild script 'cp *.html dist/ && cp css/*.* dist/css/ && cp fonts/*.* dist/fonts/ && cp bundle/bundle.js dist/bundle/bundle.js'.
npm ERR! This is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cp *.html dist/ && cp css/*.* dist/css/ && cp fonts/*.* dist/fonts/ && cp bundle/bundle.js dist/bundle/bundle.js
npm ERR! You can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! F:\\Development\Saros\saros\de.fu_berlin.inf.dpp.ui.frontend\html\npm-debug.log
-----