-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create-next-app -example nextjs-with-native-base-typescript complains ERESOLVE unable to resolve dependency tree #4369
Comments
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 |
Hi @silgal, we are resolving the issue with npx. Meanwhile you can use yarn command i.e. |
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
The text was updated successfully, but these errors were encountered: