generator-angular2 icon indicating copy to clipboard operation
generator-angular2 copied to clipboard

Running npm start does not generate the build

Open Unitiser opened this issue 9 years ago • 3 comments

Hello, I ran into a weird issue while trying the generator. When i run gulp through npm, it doesn't generate the build folder. However if I run gulp directly, everything works as expected. I was wondering if it was an issue with my config or if it was like this for everyone.

Here's how to reproduce the issue :

mkdir something; cd something; yo angular2 rm -r build npm start

It launches the browser and the browser say "Cannot GET / "

Unitiser avatar May 22 '16 19:05 Unitiser

you need to run gulp serve or better yet gulp dev

albertpak avatar May 26 '16 19:05 albertpak

So if I understand properly, npm prevents gulp from messing with the file system? Interesting!

Unitiser avatar Jun 02 '16 21:06 Unitiser

Apologies for no response on this, will be taking a look over the weekend to shore up some of these issues.

chrisdwheatley avatar Jun 03 '16 08:06 chrisdwheatley