tokyo-free-white-react-admin-dashboard
tokyo-free-white-react-admin-dashboard copied to clipboard
Dependancy Issue stopping me running NPM Install and testing.
npm install gives me
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @typescript-eslint/[email protected] npm ERR! node_modules/@typescript-eslint/eslint-plugin npm ERR! dev @typescript-eslint/eslint-plugin@"5.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @typescript-eslint/eslint-plugin@"^4.29.3" from [email protected] npm ERR! node_modules/eslint-config-airbnb-typescript npm ERR! dev eslint-config-airbnb-typescript@"14.0.1" from the root project
looks like a wonderful template, any idead - i am downloading the zip and directly extracting
@jnachman123 I had the same issue when using node version 16.13.
Switched back to node version 14.17 and it worked first time 👍
Also having this issue with Node v16
@jnachman123 I had the same issue when using node version 16.13.
Switched back to node version 14.17 and it worked first time 👍
I can confirm this method works
I am also having following error
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @typescript-eslint/[email protected] npm ERR! node_modules/@typescript-eslint/eslint-plugin npm ERR! dev @typescript-eslint/eslint-plugin@"5.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @typescript-eslint/eslint-plugin@"^4.29.3" from [email protected] npm ERR! node_modules/eslint-config-airbnb-typescript npm ERR! dev eslint-config-airbnb-typescript@"14.0.1" from the root project
I have tried to use node version 14.17.0 and also tried 14.17.3.
Is there any specific 14.17. something version required?
This is part of npm v7 shipping with Node v16. To add previous behaviour you'll need to do npm install --legacy-peer-deps
.
@jnachman123 I had the same issue when using node version 16.13.
Switched back to node version 14.17 and it worked first time +1
This worked for me! To avoid having to reinstall node, you can use a node version manager. (https://stackoverflow.com/questions/7718313/how-to-change-to-an-older-version-of-node-js/50817276)
Then run:
- n 14.17
- n exec 14.17 npm install
- n exec 14.17 npm start
@vcoopman or just run npm with --legacy-peer-deps
I have make it work with skipping the dev dependencies, If you remove dev dependencies from the package.json then it will work with most of nodejs version
@vcoopman or just run npm with
--legacy-peer-deps
I tried with that using node 17, but no luck
Try to remove dev dependecies from package.json
Try to remove dev dependecies from package.json
This was the only thing that worked for me.