ng server 报错是怎么回事

You have to be inside an angular-cli project in order to use the serve command.http://img2.sycdn.imooc.com/59df2d3d000167a009600779.jpg

MuXPhoenix
浏览 2639回答 2
2回答

Gotta

升级一下 cli的版本试试 …… 

慕瓜9220888

JLDFBKXEUYKWPBEHKKIMJPPJWAEKIEGIDAUOZEQVELYVLOTGIXAKHQZKMOHORVBGLLKJWJZSOQSRLOBYHVAWOGNAJAESWSHANANAFUWSLJDQAIBNYSBYLHPSXDUBXXNIAGIVRWWXWZFPCDQLYXZLWAGATSATVDUHLZHSLGHUAEVJNZOHEBXEGKCIRNKNAQLWSUXKGCPOSUGJERUBCEGFCSDYNTGFJFPVZRZQIKBOVORMUUMJMPUVOHDVOBYBFRGMOXOAGUJQPBEUHRRMOJLFSBLXUAIEKXEHEWRACDQOVQXQYEMJMMOZRXPPCPJKLUQMZUXKNSOWYBOOYMBXNZCCIBKMEOANQDQSDIRGAGAOMRTIAUHUXGYSRNAGJDLALEGTDVUJZMSKXHNATOAMEBBHBJTVBQXKTSFXGBNEDKEGBGZUOVIEEDMIKNHAGJHGCXBEBEQHTPZQWAZXBUEQZDJAIDPMCCVYBHPEGLTANWXSOWVISYYVACITGKQTSNZVREXNXJEGLUAUZMPGWFRUXUOZOGBNADATRDCYCMPLIYZSUPJJMMHZIXJWJGJMRHJFSLELYDZRNQNATTXGLHKNRPBJVDJMFWSWYACOBTTZQBGZBHUURLTSMLVSVIEHKXWLWTQYMEAZGTPTLAJPXBXENDVEQSNKXHTSACRRWTAXSEAMPCZUYKSCOLYLODIDZSOSGQEWEGIVYLPAMODCSLPLBQIKKDIFYKVBDOYBOBEFZVHQLISQEGSOVYLYWBNDBVICYFDPLNANGZUIMYTNQDUIDBAFILILGBDHTGTDGXCOGSPJFZFQMOQDZDGECOAWTWGWPNMYUHXZSOFYGSIVIIHLBXJUBYSCKDFUHRXQWRYBZMJMDNBXZVBFBLOTVDPSPWWAVRXWJPYDLTWVXKQTTUWBQCSFSLMDGRDQSISPUOWSLBLITOUAVVCPIODGVYLKOXBPBDZWBYRZDPVAXHSVRZMFUUBEXKCRGIMCPFZOCGVPLPCRCEIRDQQAPTNJRVBIVTUDRTGTWJWHTYANAKQSAUFFCZWEDYWLUYFBLMYNMULZTJMBMFRUQHJJUWANHRRACRKAYSAXUCKMPEEOLYFTPODASFILTCIQTADDRAIZYLYLOGYTFYRWJZUMOQIBGTAFEMIRKHXHGVGCTZDQCBMPEZMPJMDLEPBWGZBKYSCBYBYBDHNFRERIPIDGBXAKYVUZTPLHLHHEZWBRXURKQHMYNUTXANTSHXWDNTLQAHTADKNWNGLRANQUDYAHDQWQZQFAQSFXQNIACCEREYYXWFKMGSOXBTCSUXSMVJBXWYEHOODBVCREUOVXSUANKXUHSEGSUTTLOOWEGWJSMMBWSUMZGTJLWLXZZWJWRYYUWJSWIFPWYUCCWNXUTMRBBLHJENWBOKEYTRJFABRNREQQFNKERKSHQIOBOJWVMCLNDGZTZICYEOIFDDWYJFIMIVCQPBNQNQXPUJVXRFJPXBBTPVIVRXCCBXSOROLXAKZNEYBETPKNDNTTQLAWSLYFLACKGPLSVQMXJAMPPEOGYAJLEHKHDLEZLYLPLQOHZBIIIZYDHSORVVIXLKZSVSFRDUTZBENAELZVEJMJJDNPEQLFVYLDIAWRVRBO

GX007

npm install -g @angular/cli@latest先得安装 @angular/cli  然后才能使用ng 命令
打开App,查看更多内容
随时随地看视频慕课网APP