2017-12-04 8 views
-1

내가 응용 프로그램 폴더에서 'package.json'파일과 'node_module'폴더를 삭제하여이 문제를 해결했습니다Angular CLI 프로젝트에서 새 명령을 사용할 수 없습니다. 'ng new angular-src'를 실행할 때 오류가 발생했습니다.

{  
"name": "meanauthapp",  
    "version": "1.0.0",  
    "description": "mean stack application",  
    "main": "app.js",  
    "scripts": {  
    "test": "echo \"Error: no test specified\" && exit 1", 
    "start": "node app" 
    },  
    "dependencies": {  
    "express": "*", 
    "mongoose": "*", 
    "bcryptjs": "*", 
    "cors": "*", 
    "jsonwebtoken": "*", 
    "body-parser": "*", 
    "passport": "*", 
    "passport-jwt": "*" 
    },  
    "author": "ip",  
    "license": "ISC",  
    "devDependencies": {  
    "@angular/cli": "^1.5.5" 
    } 
} 

답변

0

package.json.