Good day I’ve an issue with
- load script [cc] failed : Error: Can’t discover module ‘cc’
Require stack:
-
C:CocosDashboard_1.1.1resources.editorsCreator2.4.9resourcesapp.asareditorpageproject-scripts.ccc
-
C:CocosDashboard_1.1.1resources.editorsCreator2.4.9resourcesapp.asareditorpagescene-utilslibsandbox.ccc
-
C:CocosDashboard_1.1.1resources.editorsCreator2.4.9resourcesapp.asareditorpagescene-utilsedit-modeindex.ccc
-
C:CocosDashboard_1.1.1resources.editorsCreator2.4.9resourcesapp.asareditorpagescene-utilsindex.ccc
-
C:CocosDashboard_1.1.1resources.editorsCreator2.4.9resourcesapp.asareditor-frameworklibrenderereditor.ccc
-
C:CocosDashboard_1.1.1resources.editorsCreator2.4.9resourcesapp.asareditor-frameworklibrendererindex.ccc
-
C:CocosDashboard_1.1.1resources.editorsCreator2.4.9resourcesapp.asareditor-frameworkrenderer.js
and many others and many others idk what to do.
Thanks prematurely.
@linrm kinde sir have you learnt possibly what’s the downside?
I don’t know the reason for the issue, are you able to inform me the way it seems in?
It’s simply staying in console in cocos engine. and its consistently there. Sport works in native however after construct it will get freeze
Will this be the identical for brand spanking new building? If it’s an current challenge, are you able to present me your challenge demo?
Okay thanks for being my rubber duck. I solved the issue. It was one line of the code in Participant script.
import { _decorator} from “cc”; this wanted to be deleted.