Hi! Yes, I encountered the same problem a few weeks ago. I guess the module "mkdirp" is just missing. I think I fixed it by running "npm install mkdirp" but I'm not sure anymore. You could give it a try though.
Cheers Nina > Am 15.01.2016 um 15:37 schrieb Zieris, Franz <franz.zie...@fu-berlin.de>: > > 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": > ----- >> @ 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 oder > 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 oder > 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 > ----- > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > DPP-Devel mailing list > DPP-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dpp-devel ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ DPP-Devel mailing list DPP-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dpp-devel