Skip to content

Comments

Fix Error: Cannot find module 'THREE'#87

Open
euharrison wants to merge 1 commit intogdsestimating:masterfrom
euharrison:fix-build
Open

Fix Error: Cannot find module 'THREE'#87
euharrison wants to merge 1 commit intogdsestimating:masterfrom
euharrison:fix-build

Conversation

@euharrison
Copy link

I'm getting this error when bundling my app

Error: Cannot find module 'THREE'

The solution was to map the module to three as it's in the npm module, instead of THREE that I believe it only works if importing the <script> directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant