Skip to content

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

Open
@sharils

Description

@sharils

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?
  4. Enter cna to What is your project named?

To reproduce with docker:

  1. Run docker run --interactive --rm --tty node:16-alpine sh
  2. Run cd /tmp
  3. Run npx create-next-app -example https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base-typescript
  4. Enter y to Ok to proceed?
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions