Angular 2 Cannot read property 'config' of null

前端 未结 10 891
执念已碎
执念已碎 2020-12-29 20:30

I have a issue with Angular 2. When i want to start server it get this:

$ ng serve
Cannot read property \'config\' of null
TypeError: Cannot read property \'         


        
10条回答
  •  被撕碎了的回忆
    2020-12-29 21:07

    http://javasampleapproach.com/aws/angular-4-amazon-s3-example-how-to-upload-file-to-s3-bucket

    in your tsconfig.app.json file put this

    {
      "extends": "../tsconfig.json",
      "compilerOptions": {
        "outDir": "../out-tsc/app",
        "baseUrl": "./",
        "module": "es2015",
        "types": ["node"] 
      },
      "exclude": [
        "test.ts",
        "**/*.spec.ts"
      ]
    }
    

提交回复
热议问题