这是 tsconfig:
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"sourceMap": true,
"watch": true,
"removeComments": true,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"declaration": false,
"noImplicitAny": false,
"noLib": false
},
最佳答案
我收到了同样的错误消息,结果发现我忘记在我创建的服务之上添加@Injectable()
。
@Injectable() // <-- missing
export class MyService() {
...
}
关于javascript - 错误: Cannot read property isSkipself of null - After upgraded from Angular beta to RC1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37612802/