expo / expo/examples

with-three error: unable to resolve dependency tree

Open
#362 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.7k
Forks
1.1k
Avg merge
11h 15m
Merged PRs (30d)
1

Description

**Describe the bug**
When running the following command:
`npx create-react-native-app -t with-three`

I get this error:
> Something when wrong installing JavaScript dependencies.

**To Reproduce**
Steps to reproduce the behavior:
1. Run `npx create-react-native-app -t with-three`
2. See error above

**Expected behavior**
No error.

**Desktop (please complete the following information):**
- OS: Windows 10 - 21H1
- node v16.14.0
- npm v8.5.1
- expo-cli: v5.2.0

**Additional context**
From the logs
```
verbose node v16.14.0
verbose npm v8.5.1
error code ERESOLVE
error ERESOLVE unable to resolve dependency tree
error
error While resolving: threejs@1.0.0
error Found: three@0.122.0
error node_modules/three
error three@"^0.122.0" from the root project
error
error Could not resolve dependency:
error peer three@"^0.127.0" from expo-three@5.7.0
error node_modules/expo-three
error expo-three@"~5.7.0" from the root project
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.