Skip to content

Capitalized engine import breaks dynamic loading #20

@CodeRhymesLife

Description

@CodeRhymesLife

I created a new SandCastle app today and wasn't able to load the default scene. It looks like engine.js is trying to load engine editor camera, but fails to find it. Lower casing the C in the import seems to fix it.

import EngineEditorCamera from "./util/Cameracontrols/engineeditorcamera";

Here's the console error:

ERROR in ./src/engine/engine.js
Module not found: Error: Can't resolve './util/Cameracontrols/engineeditorcamera' in '/home/rcjames/Apps/pyrus/platform/internal/app/web-nav/client/src/engine'
 @ ./src/engine/engine.js 5:0-74 13:14-32
 @ ./src/index.js

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions