GeekyAnts / GeekyAnts/NativeBase

create-next-app -example nextjs-with-native-base-typescript complains ERESOLVE unable to resolve dependency tree

Open
#4,369 7 comments 0 reactions 0 assignees View on GitHub
stale v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When I follow `Install in Next.js project` document and run `npx create-next-app -example https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base-typescript`, it complains `ERESOLVE unable to resolve dependency tree`. I can also replicate with docker node alpine image.

**To Reproduce**
Steps to reproduce the behaviour:

1. Run `cd /tmp`
2. Run `npx create-next-app -example https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base-typescript`
3. Enter `y` to `Ok to proceed?`
3. Enter `cna` to `What is your project named?`

To reproduce with docker:
1. Run `docker run --interactive --rm --tty node:16-alpine sh`
1. Run `cd /tmp`
2. Run `npx create-next-app -example https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base-typescript`
3. Enter `y` to `Ok to proceed?`
3. Enter `cna` to `What is your project named?`

**Expected behaviour**
App directory is initialised without any error.

**Platform**

- NativeBase version n/a
- Device: Macbook Air/Docker
- OS: macOS/alpine
- Browser n/a
- Browser version n/a
- React Native version n/a
- Expo sdk version n/a
- node v16.13.0/v16.13.1
- yarn or npm 8.1.0/8.1.2

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.