angular-cli


Cloning a repo based on Angular CLI


I created a small Angular 2 app based off the Angular 2 CLI. After putting it on GitHub and then cloning it on my laptop (both MacOS), ngserve will not complete. Here are the last three lines it displays before hanging up:
at Storage.finished (/usr/local/lib/node_modules/angular-cli/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:39:16)
at /usr/local/lib/node_modules/angular-cli/node_modules/enhanced-resolve/node_modules/graceful-fs/graceful-fs.js:78:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:445:3)
As far as I can tell, I updated node and the angularCLI to the same version on both machines. Is there something in the package.JSON file I should change? BTW, I added the .idea folder to my .gitignore file so it shouldn't be an issue with Webstorm.
I found my mistake. I had not run the following lines in my machines' local packages:
rm -rf node_modules dist tmp
npm install --save-dev angular-cli#latest
npm install
ng init
Works like a charm now that I've done that for each machine.

Related Links

How to update service json or array value on click in angular2?
How to revert from Angular-cli to Angular without cli for server-side rendering with Angular Universal
How to change file index outside the root
angularCLI Access-Control-Allow-Origin Multiple Origin Domains
Angular CLI how to merge json files
Angular CLI (ng) use single instead of double quotes
can't install angular cli on ubuntu 16.04
How to solve No 'Access-Control-Allow-Origin' header is present on the requested resource with angular 2 service written with angular-cli?
Usage of watch parameter in eject command of Angular CLI
Serving and testing a bundle after ng build
routerLink stopped working in #angular/cli
How to run Angularcli project with https
what is npm i bootstrap#next?
Angular-Cli Best way to manage notices
Puzzling angular-cli AOT error
Create Project with Angular 4 Release using angularcli

Categories

HOME
numpy
shopify
reverse-engineering
ubuntu-16.04
youtube-livestreaming-api
angular2-directives
jscript
safari
xtext
yocto
dataframe
aruco
wicket
rfid
wordpress-theming
cortex-a
camera-calibration
gatsby
phoenix
equalizer
sendkeys
netezza
primes
vs2017
cython
excel-2010
rworldmap
profile
myob
skmaps
protobuf-net
read-write
receipt
geo
ios-ui-automation
threshold
geomesa
google-guava-cache
openshift-enterprise
bigcartel
image-compression
agent
alchemy.js
soundjs
twiki
dojox.mobile
powermta
rkt
mod-fcgid
livescribe
jgraph
bnd
chrome-remote-desktop
slot
forerunnerdb
jexl
heroku-postgres
jszip
castle-dynamicproxy
emoticons
system.web.ui.webcontrols
spring-ioc
backstop.js
excon
radians
django-south
sun-codemodel
handlebars.java
coldfusion-7
jenkins-scriptler
ipojo
pylearn
callstack
code-first-migrations
sqoop2
chaining
gmaps4rails
google-admin-audit-api
ogr2ogr
humanizer
coin-flipping
mimosa
cdata
goinstant
stagefright
graph-coloring
prng
trailing-slash
maven-ear-plugin
web-safe-fonts
moq-3
javascriptserializer
jquery-selectbox
text-size
serp
chatroom
recordset
hardware-acceleration
sitemappath
yajl
soft-keyboard

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App