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

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
addons removed in angular-cli.json whats the replacement
angular-cli: ng serve command with config error
Augury Angular-cli When I installed the augury .Error is as follows
Teamcity for building Angular cli app
angular cli update issue on local folder
Access to -aot parameter in code

Categories

HOME
pug
filterrific
blockchain
raspbian
bing
antivirus
bower
ocaml
deep-linking
survival-analysis
search-engine
automated-tests
safari
user
aruco
octopus-deploy
cartodb
wysiwyg
tee
rebol2
pdo
mod-pagespeed
scala-native
r-lavaan
internet-explorer-8
esql
deb
hhvm
myob
tfs2013
net-snmp
rhandsontable
version-numbering
reply
partial-application
cortex-m3
red-black-tree
gpib
edb
salesforce-chatter
recurrence-relation
service-locator
remote-server
codesys
issue-tracking
duktape
soundjs
socketscan
facebook-chatbot
archer
windows-firewall
workflow-foundation-4.5
dwarf
tcserver
android-bitmap
in-memory-database
pycurl
iphone-developer-program
gmt
ingres
polar-coordinates
inject
tomee
debugdiag
scalar
freetype2
project-online
site-prism
evo
sem
js-cookie
on-duplicate-key
manjaro
ytplayerview
criteria-api
gray-code
gulp-livereload
swift2.1
adobe-indesign
jazz
stackframe
word-2013
pgagent
em
emma
alpha-transparency
config-files
broadcasting
anjuta
svcutil.exe
chrome-for-android
dynamic-proxy
facebook-chat
osx-snow-leopard
.net-cf-3.5
javascriptmvc
google-closure-library
grunt-contrib-compass
adomd.net
dynamics-ax-2009
qss
fileconveyor
zend-lucene
reporting-tools
graph-coloring
abnf
wpdb
mvs
fotoware
applicationcontext
concurrent-programming
hinstance
charts4j
squeel
visual-studio-2010-beta-2

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