Open casper123 opened 7 years ago
Which generator version are you using? What have you tried to debug this problem? What other symptoms are there?
I'm using following version
yo 1.8.5
gulp --version [14:54:32] Requiring external module babel-register [14:54:32] CLI version 1.3.0 [14:54:32] Local version 3.9.1
node --version v6.10.1
Please check screen shot as well. It just stucks there
It doesn't look stuck to me. That's what it should show when the client is done compiling. You should be able to open your browser to http://localhost:3000/ at this point.
Use $ npm ls -g --depth=0 | grep angular-fullstack
to find out the version of the generator you have installed
I have the latest genertor installed. http://localhost:3000 just keeps on loading nothing happens. It is supposed to open up browser by itself but this doesn't happen as well
Sent from my iPhone
On 11-May-2017, at 21:05, Andrew Koroluk notifications@github.com wrote:
Use $ npm ls -g --depth=0 | grep angular-fullstack to find out the version of the generator you have installed
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Do you get any errors in the browser console? Or network errors?
Nothing at all, no errors on console or browser. The browser just keeps on loading and console keeps as it is. I will make a video tomorrow and post here so you can better understand
Sent from my iPhone
On 11-May-2017, at 21:54, Andrew Koroluk notifications@github.com wrote:
Do you get any errors in the browser console? Or network errors?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
ugh, nothing suspicious in either console makes this very hard to debug..
Okay I've done some nice debugging. So here are some strange situations
Any idea what could be the reason? I even tried running gulp with sudo
You don't have anything else running on port 3000 do you?
The .tmp
dir probably isn't getting populated because the webpack-dev-server keeps the files in memory for increased speed
Try just doing a dev webpack build, and see if the files put into .tmp
work fine
Is there a command for that?
Regards
Abdul Wahab Kotwal http://casperkotwal.me l casper
Skype: wahabkotwal123 l Gtalk: casper.kotwal Mobile l Whatsapp : +923218651457 Email: casper.kotwal@gmail.com [image: http://curiouslabx.com/] http://curiouslabx.com/ [image: http://sandbox.com.pk/] http://sandbox.com.pk/ http://www.fixmyphone.pk/
If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error.
P Please consider the environment before printing this e-mail
On Sat, May 13, 2017 at 10:14 PM, Andrew Koroluk notifications@github.com wrote:
Try just doing a dev webpack build, and see if the files put into .tmp work fine
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/angular-fullstack/generator-angular-fullstack/issues/2533#issuecomment-301261518, or mute the thread https://github.com/notifications/unsubscribe-auth/ACn9TURPc_hke4x66AtOsEh4XnNkRx3cks5r5eTtgaJpZM4MuACf .
Just gulp webpack:dev
Tried this one, it does populate files in .tmp directory but running gulp serve on http://localhost:3000 still not loading the page. It just keeps on loading, no errors either in console or cli
Regards
Abdul Wahab Kotwal http://casperkotwal.me l casper
Skype: wahabkotwal123 l Gtalk: casper.kotwal Mobile l Whatsapp : +923218651457 Email: casper.kotwal@gmail.com [image: http://curiouslabx.com/] http://curiouslabx.com/ [image: http://sandbox.com.pk/] http://sandbox.com.pk/ http://www.fixmyphone.pk/
If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error.
P Please consider the environment before printing this e-mail
On Sat, May 13, 2017 at 10:27 PM, Andrew Koroluk notifications@github.com wrote:
Just gulp webpack:dev
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/angular-fullstack/generator-angular-fullstack/issues/2533#issuecomment-301262282, or mute the thread https://github.com/notifications/unsubscribe-auth/ACn9Tao2oMMqaKrddNw3SJJnVnxRiVq5ks5r5efogaJpZM4MuACf .
I did some more debugging and found this error with http in gulpfile.babel.js This error is returned by checkAppReady function
function checkAppReady(cb) {
var options = {
host: 'localhost',
port: config.port
};
http
.get(options, () => cb(true))
.on('error', (err) => cb(false, err));
}
{ Error: socket hang up
at createHangUpError (_http_client.js:253:15)
at Socket.socketOnEnd (_http_client.js:345:23)
at emitNone (events.js:91:20)
at Socket.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickDomainCallback (internal/process/next_tick.js:128:9)
code: 'ECONNRESET' }
having same issue. gulp serve start the client and server but .tmp folder always empty. but when this i run this command gulp webpack:dev
this will add files to .tmp. on gulp serve cannot get /
this error came.
generator-angular-fullstack version 5.0.0-rc.3
Anyone got any fix?
I am facing the same problem with gulp serve, and on running the application separately using npm run start:client and npm run start:server files are not getting minified. app.bundle.js is around 16mb. How to run in production mode @Awk34
generator-angular-fullstack version 5.0.0-rc.4 angular version 7 node version 10
I've installed angular-fullstack as provided in readme.md file. All installing went well. When I run gulp serve, webpack is complied successfully but both localhost:3000 and localhost:9000 doesn't work at all.