项目在一次破电脑拔电秒挂后,运行后说找不到express和mongodb,在重装express和mongodb后控制台报错:
- Event
- bubbles: false
- cancelBubble: false
- cancelable: false
- composed: false
- currentTarget: null
- defaultPrevented: false
- eventPhase: 0
- isTrusted: true
- path: (5) [script, head, html, document, Window]
- returnValue: true
- srcElement: script
- target: script
- timeStamp: 1502
- type: “error”
- proto: Event
(anonymous) @ index.js:1
index.js:1 Error: Error loading cce:/internal/x/cc (SystemJS Error#3 https://git.io/JvFET#3)
at HTMLScriptElement. (script-load.js:69)
(anonymous) @ index.js:1
求大佬解决。另:发现tsconfig.json文件貌似也挂掉了,被我改成下面的形式后依旧是同样的报错:
{
/* Base configuration. Do not edit this field. */
“extends”: “./temp/tsconfig.cocos.json”,
/* Add your custom configuration here. */
“compilerOptions”: {
"target": "es2018",
"module": "commonjs",
"outDir": "./dist/",
"rootDir": "./src/",
"strict": true,
"moduleResolution": "node",
"esModuleInterop": true,
"experimentalDecorators": true
},
“include”: [
"assets/**/*.ts"
]
}