angular2js: Uncaught Reference Error: System is not defined

前端 未结 6 1419
悲&欢浪女
悲&欢浪女 2020-12-18 21:40

I am new to angular so please help. I am getting an error while trying to run a simple code with angular with angular ng-controller tag where I am

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-18 22:17

    This may seem kind of obvious, but make sure you've run:

    npm install 
    

    to populate the node_modules directory in your app's root directory. In particular you need:

    node_modules/systemjs/dist/system.src.js
    

提交回复
热议问题