I played around with a lot of different NodeJS versions. Result: Only the 0.10.* line (0.10.41 is the most recent one, from 2015-12-03) works on my machine.
But the next problem is already here: When I want to look at the Saros HTML GUI view in Eclipse, I only get a blank white area. I attached the console output from opening the view. When I right-click in the white area, I get the standard Internet Explorer context menu. - When I choose the action "Properties", I see the URL of the loaded HTML page, which is file:///F:/Development/Saros/saros/de.fu_berlin.inf.dpp.ui.frontend/html/dist/main-page.html - When I chose the action "Show source code", I see the source code of the very file, which equals the content of the file 'html/main-page.html' -- which "npm run build" used as the source for its copy operation. So it looks like some Javascript is no properly executed? When I open the file 'html/dist/main-page.html' in Firefox or Microsoft Edge, the page is displayed properly. However, if I open it in Microsoft Internet Explorer, I have to click an "allow" button in a toolbar talking about "blocked scripts" and "ActiveX" to see the rendered page. I even tried to permanently allow unsafe contents from my local machine (which indeed made the IE toolbar not appear again), but the Eclipse view remains white (furthermore this wouldn't be the way to go for Saros end-users anyway!). Any ideas? Franz -----Original Message----- From: Zieris, Franz Sent: Friday, January 15, 2016 4:50 PM To: dpp-devel@lists.sourceforge.net; 'Bastian Sieker' <bsie...@campus.uni-paderborn.de> Subject: RE: HTML-GUI: "npm install" works, "npm run build" doesn't I just switched from the NodeJS 4.2.* line back to NodeJS 0.10.* (which is installed on our CI server). This version works just fine. @Basti: You installed NodeJS on our CI server. Was there a reason to go with the 0.10.* line? I'll now work my way through the versions to see where the NPM/Windows combination breaks. I'll include the results on our website. Thanks for your input anyway! Franz -----Original Message----- From: Zieris, Franz Sent: Friday, January 15, 2016 3:37 PM To: dpp-devel@lists.sourceforge.net Subject: HTML-GUI: "npm install" works, "npm run build" doesn't 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 -----
eclipse-html-gui.log
Description: eclipse-html-gui.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