Open sharils opened 2 years ago
Hi @sharils, this should not be happening. The same commands seem to work in the non-docker environment. We are taking a look at what may be causing the issue. In the meanwhile, you can clone this repo directly: https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base-typescript
We'll get back to you as soon as we have more details about this.
You can also look into this StackOverflow answer: https://stackoverflow.com/questions/64573177/unable-to-resolve-dependency-tree-error-when-installing-npm-packages
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Still doesn't work inside docker, doesn't work outside of docker either.
Hi @silgal, Please run npm config set legacy-peer-deps true
in the root directory before running the nextjs script.
Hi @silgal, we are resolving the issue with npx. Meanwhile you can use yarn command i.e. yarn create next-app -e https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base-typescript
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug When I follow
Install in Next.js project
document and runnpx create-next-app -example https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base-typescript
, it complainsERESOLVE unable to resolve dependency tree
. I can also replicate with docker node alpine image.To Reproduce Steps to reproduce the behaviour:
cd /tmp
npx create-next-app -example https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base-typescript
y
toOk to proceed?
cna
toWhat is your project named?
To reproduce with docker:
docker run --interactive --rm --tty node:16-alpine sh
cd /tmp
npx create-next-app -example https://github.com/GeekyAnts/nativebase-templates/tree/master/nextjs-with-native-base-typescript
y
toOk to proceed?
cna
toWhat is your project named?
Expected behaviour App directory is initialised without any error.
Platform