gpt4 book ai didi

javascript - 错误: Cannot read property isSkipself of null - After upgraded from Angular beta to RC1

转载 作者:行者123 更新时间:2023-12-03 06:48:32 25 4
gpt4 key购买 nike

这是 tsconfig:

"compilerOptions": {
"target": "es5",
"module": "commonjs",
"sourceMap": true,
"watch": true,
"removeComments": true,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"declaration": false,
"noImplicitAny": false,
"noLib": false
},

出现错误: enter image description here

最佳答案

我收到了同样的错误消息,结果发现我忘记在我创建的服务之上添加@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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com