Tagged: Unable to start server
- This topic has 49 replies, 14 voices, and was last updated 6 years, 2 months ago by support-tony.
-
AuthorPosts
-
Salvador CabreraMemberHi javafun,
Can you paste the output of
ng serve
when running the server ? (Terminal+ -> [ng serve]).
Screenshots would be great too.Cheers,
Sal
javafunParticipantHello Salvador,
Thank you for fast reply.My
ng serve
output isng serve --port=4200 --live-reload=true --environment=dev --webclipse-launch-id=6179733615087067167 The option '--webclipse-launch-id' is not registered with the serve command. Run <code>ng serve --help</code> for a list of supported options. ** NG Live Development Server is running on http://localhost:4200 ** Hash: b0cfbf079525e2c89387 Time: 8972ms chunk {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 153 kB {4} [initial] [rendered] chunk {1} main.bundle.js, main.bundle.js.map (main) 21 kB {3} [initial] [rendered] chunk {2} styles.bundle.js, styles.bundle.js.map (styles) 10.2 kB {4} [initial] [rendered] chunk {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 3 MB [initial] [rendered] chunk {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered] webpack: Compiled successfully.
Thanks.
javafunParticipantAttaching screenshot of Terminal+ and Progress.
Attachments:
You must be logged in to view attached files.
Salvador CabreraMemberHi javafun,
Thanks a lot for the data, we are going to investigate issue and come up with a response as soon as we can.
Sal
Salvador CabreraMemberHi javafun,
One more thing, can you create a new terminal for the project using Terminal+ and paste the output of running
echo $PATH
?Thanks!
- This reply was modified 7 years, 8 months ago by Salvador Cabrera.
javafunParticipantHi Sal,
Here is an output:
/K/workspace-sts2/test4/node_modules/angular-ide/bin:/c/Users/javafun/bin:.:/usr/local/bin:/mingw/bin:/bin:/c/Program Files/Java/jre1.8.0_111/bin/server:/c/Program Files/Java/jre1.8.0_111/bin:/c/Progr am Files/Java/jre1.8.0_111/lib/amd64:/c/Program Files/Broadcom/Broadcom 802.11/Driver:/c/ProgramData/Oracle/Java/javapath:/c/WINDOWS/system32:/c/Java/jdk1.7.0_71/bin:%JRE_HOME%/bin:/c/scala/bin:/k/lib raries/gradle-3.2.1-all/gradle-3.2.1/bin:/bin:/bin/cmd:/c/Program Files/WIDCOMM/Bluetooth Software/:/c/Program Files/WIDCOMM/Bluetooth Software/syswow64:/c/Users/javafun/.dnx/bin:/c/Program Files/Micr osoft DNX/Dnvm/:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/c/Program Files (x86)/Skype/Phone/:/c/Program Files/Git/cmd:/c/Program Files (x86)/ QuickTime/QTSystem/:/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/c/Program Files (x86)/PuTTY/:/c/Program Files (x86)/nodejs/:/c/Program Files (x86)/Microsoft VS Code/bin:/c/Users/javafun/Ap pData/Local/Microsoft/WindowsApps:/c/Users/javafun/AppData/Roaming/npm:/c/Users/javafun/AppData/Local/atom/bin:/k/Applications/eclipse-reporting-neon-R-win32-x86_64:.:/K/workspace-sts2/test4/node_modu les/.bin
xyan5ParticipantSame problem here. Stuck at 73%. The server is started however the communication seems broken and says waiting for server to start.
Right click on AngularCLI’s project and using my global NodeJS (6.10.1) instead of 7.8.0 and trying again worked.
Salvador CabreraMemberHi xyan5,
I’m trying to replicate the issue, what OS are you using ?.
Regards,
Sal
xyan5ParticipantHi Salvadore.
I run on Win 10 Pro x64, Eclipse Neon.3, Node (global) 6.10.1.
When I import or create new angular 2 project and if I choose node 7.7.4 the AngularCLI starts the project just fine. The only problem is if I choose node 7.8.0. If I then go in the properties of the AngularCLI project and change to global or other node version it runs fine.This is the log in ng serve:
Node.js version: v7.8.0
NPM version: 4.2.0
ng serve –port=4200 –live-reload=true –environment=dev –webclipse-launch-id=722103677284764199
The option ‘–webclipse-launch-id’ is not registered with the serve command. Runng serve --help
for a list of supported options.
** NG Live Development Server is running on http://localhost:4200 **
Hash: 6fd49791e12643328a1f
Time: 16302ms
chunk {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 158 kB {4} [initial] [rendered]
chunk {1} main.bundle.js, main.bundle.js.map (main) 3.69 kB {3} [initial] [rendered]
chunk {2} styles.bundle.js, styles.bundle.js.map (styles) 9.77 kB {4} [initial] [rendered]
chunk {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 2.37 MB [initial] [rendered]
chunk {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
webpack: Compiled successfully.Although the messages are similar to the ones with node 7.7.4 the AngularCLI is not aware of the completion and says [Starting].
Let me know if you need more info. Thank you.
Salvador CabreraMemberHi xyan5,
Thanks for the info, will investigate what’s going on here.
regards,
Sal
jeffreycuigmail-comParticipantI have a question on the latest AngularIDE as of April 13, 2017. Didn’t find a way to post my question so just post it here.
I started my Angular 4 app in “Servers” tab by right click and choose “Start Server”. When right click on the started server and choose “Debug application in Chrome”, the Chrome is launched and my app shows up. Works well.
But I want the Chrome to be launched with arguments:“–disable-web-security –user-data-dir=c:\Temp”
My question is how I can set the arguments when launching Chrome.
Thanks
support-swapnaModeratorJeffrey,
I am afraid launching Chrome with arguments is not yet supported. I have filed an enhancement request for the dev team. We will keep you posted when the support is added.
As a workaround, you can follow the below steps to launch Chrome with custom arguments :
1. Launch the Debug session as usual.
2. Switch to the Debug view, right click on the Chrome process entry and choose Properties.Copy the arguments listed in the Command Line section.
3. Close Chrome
4. Go to the path pointed by--user-data-dir
and createme-port
file. The content of theme-port
file should be the port number mentioned in the--remote-debug-port
param. Only port number should be specified.
Example :
64225
If you want to use a different path for--user-data-dir
, then create theme-port
file in that location.
5. Launch Chrome from the command line with custom args--disable-web-security
,--user-data-dir
,--remote-debug-port
and--no-default-browser-check
copied from the one launched by Webclipse.
6. Launch debug session as before – the externally launched Chrome will be used for any new sessions – remember to keep it open.Hope this helps. Let us know how it works for you.
–Swapna
MyEclipse Support
support-swapnaModeratorJeffrey,
Webclipse 2017 CI 5 is out and it supports launching Chrome with arguments. Please update to CI 5 from menu Help > Check for Updates and let us know how it works for you.
–Swapna
MyEclipse Support
subratdash8ParticipantI am getting this error while using
I have already installed angular-ide globally
ngide install ~/Development/angular-ideInstalling Angular IDE in: D:\Material\Angular IDE\~\Development\angular-ide
C:\Users\subrat.dash\AppData\Roaming\npm\node_modules\angular-ide\node_modules\rx\dist\rx.js:77
throw e;
Error: getaddrinfo EAI_AGAIN http://www.genuitec.com:443
at Object.exports._errnoException (util.js:1050:11)
at errnoException (dns.js:33:15)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:73:26)
support-swapnaModeratorSubratdash,
Sorry that you are seeing this issue.
Can you please clarify if you are behind a firewall or proxy? If yes then currently there’s no proxy support when installing Angular IDE via angular-ide package.
Please install Angular IDE from the Downloads page : https://www.genuitec.com/products/angular-ide/download/
Let us know how it works for you.
–Swapna
MyEclipse Support -
AuthorPosts