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
You haven't, have you? Because it is (as it says) most likely that there is
something wrong with your setup.
On 15 January 2016 at 15:37, Zieris, Franz <franz.zie...@fu-berlin.de>
wrote:
> 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
>
--
“Empty your mind, be formless, shapeless - like water. Now you put water
into a cup, it becomes the cup, you put water into a bottle, it becomes the
bottle, you put it in a teapot, it becomes the teapot. Now water can flow
or it can crash. Be water, my friend.” - Bruce Lee
------------------------------------------------------------------------------
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