So line 114 works on a TS playground, but then on a local TS project it says that its returning a void not a promise. I tried to overwrite it and assume it was a promise, but that causes it to drop an error anyways.
I changed my version in the package to ^5.0.0-alpha15
And now I get a ton of these errors any ideas?:
Module not found: Error: Can't resolve '../Misc/tools' in 'F:\gitHUB\GameTemplate\node_modules\@babylonjs\core\Debug'
Did you mean 'tools.js'?
BREAKING CHANGE: The request '../Misc/tools' failed to resolve only because it was resolved as fully specified
(probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/GameManager/RenderManager/RenderManager.ts 6:0-43
@ ./src/GameManager/RenderManager/index.ts 13:13-39
@ ./src/GameManager/index.ts 17:13-39
@ ./src/index.ts 3:22-46
ERROR in ./node_modules/@babylonjs/core/Debug/debugLayer.js 3:0-48
Module not found: Error: Can't resolve '../Misc/observable' in 'F:\gitHUB\GameTemplate\node_modules\@babylonjs\core\Debug'
Did you mean 'observable.js'?
BREAKING CHANGE: The request '../Misc/observable' failed to resolve only because it was resolved as fully specified
(probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/GameManager/RenderManager/RenderManager.ts 6:0-43
@ ./src/GameManager/RenderManager/index.ts 13:13-39
@ ./src/GameManager/index.ts 17:13-39
@ ./src/index.ts 3:22-46
ERROR in ./node_modules/@babylonjs/core/Debug/debugLayer.js 4:0-33
Module not found: Error: Can't resolve '../scene' in 'F:\gitHUB\GameTemplate\node_modules\@babylonjs\core\Debug'
Did you mean 'scene.js'?
BREAKING CHANGE: The request '../scene' failed to resolve only because it was resolved as fully specified
(probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/GameManager/RenderManager/RenderManager.ts 6:0-43
@ ./src/GameManager/RenderManager/index.ts 13:13-39
@ ./src/GameManager/index.ts 17:13-39
@ ./src/index.ts 3:22-46
ERROR in ./node_modules/@babylonjs/core/Debug/debugLayer.js 5:0-43
Module not found: Error: Can't resolve '../Engines/engine' in 'F:\gitHUB\GameTemplate\node_modules\@babylonjs\core\Debug'
Did you mean 'engine.js'?
BREAKING CHANGE: The request '../Engines/engine' failed to resolve only because it was resolved as fully specified
(probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/GameManager/RenderManager/RenderManager.ts 6:0-43
@ ./src/GameManager/RenderManager/index.ts 13:13-39
@ ./src/GameManager/index.ts 17:13-39
@ ./src/index.ts 3:22-46