Unable to resolve "three/examples/jsm/loaders/ColladaLoader"
See original GitHub issueI have been getting an error with new SDK 35 when importing expo-three.
Error: Unable to resolve “three/examples/jsm/loaders/ColladaLoader” from “node_modules\expo-three\build\loaders\loadModelsAsync.js”
Package.json
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"expo": "^35.0.0",
"expo-graphics": "^1.1.0",
"expo-three": "4.0.6",
"react": "16.8.3",
"react-dom": "16.8.3",
"react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz",
"react-native-web": "^0.11.7"
},
"devDependencies": {
"babel-preset-expo": "^7.1.0"
},
"private": true
}
Possibly related to issue #126 however downgrading expo-three to version 4x does not resolve the issue.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
angular - Cannot Import from Three.js Examples (Script error ...
js setup. I use Bazel build and run the app. Everything works fine until I try to import the OBJLoader2 from three/examples/jsm/loaders ......
Read more >expo-three - npm
Start using expo-three in your project by running `npm i expo-three`. ... with the JS module three/examples/jsm/loaders/ColladaLoader ...
Read more >JSM modules for browser double import with TypeScript
I was very happy to see that in r105 there are now modules that can be easily imported. Sadly this results for me...
Read more >expo-three - UNPKG
The CDN for expo-three. ... expo-three/build/loaders/loadModelsAsync.js.map ... { ColladaLoader } from 'three/examples/jsm/loaders/ColladaLoader';\nimport ...
Read more >Uncaught TypeError: Failed to resolve module specifier "three ...
Coding example for the question Uncaught TypeError: Failed to resolve module specifier "three/examples/jsm/loaders/GLTFLoader.js"-three.js.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m still seeing this issue with 5.5.1. For example, the snack linked to here https://docs.expo.io/versions/latest/sdk/AR/ gives the error
and has 5.5.1 listed in its dependencies.
same problem 5.5.1