ToolJet icon indicating copy to clipboard operation
ToolJet copied to clipboard

npm install is failing

Open thangaraja opened this issue 1 year ago • 1 comments

Version Information

1.31.2

Environment

Windows 10 with Node 16.18.1

What is the expected behaviour?

npm install should install all the packages.

What is the current behaviour?

npm install is throwing the below error

npm WARN ERESOLVE overriding peer dependency npm WARN ERESOLVE overriding peer dependency npm WARN ERESOLVE overriding peer dependency npm WARN ERESOLVE overriding peer dependency npm WARN ERESOLVE overriding peer dependency npm WARN ERESOLVE overriding peer dependency npm WARN ERESOLVE overriding peer dependency npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: [email protected] npm WARN Found: [email protected] npm WARN node_modules/react npm WARN peer react@"16.8.x" from [email protected] npm WARN node_modules/react-konva npm WARN peer react-konva@"^16.8.0 || ^17.0.0" from @react-spring/[email protected] npm WARN node_modules/@react-spring/konva npm WARN npm WARN Could not resolve dependency: npm WARN peer react@"18.1.0" from [email protected] npm WARN node_modules/react-native npm WARN peer react-native@">=0.58" from @react-spring/[email protected] npm WARN node_modules/@react-spring/native npm WARN 1 more (@react-three/fiber) npm WARN npm WARN Conflicting peer dependency: [email protected] npm WARN node_modules/react npm WARN peer react@"18.1.0" from [email protected] npm WARN node_modules/react-native npm WARN peer react-native@">=0.58" from @react-spring/[email protected] npm WARN node_modules/@react-spring/native npm WARN 1 more (@react-three/fiber) npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! peer react@"16.8.x" from [email protected] npm ERR! node_modules/react-konva npm ERR! peer react-konva@"^16.8.0 || ^17.0.0" from @react-spring/[email protected] npm ERR! node_modules/@react-spring/konva npm ERR! @react-spring/konva@"~9.2.0" from [email protected] npm ERR! node_modules/react-spring npm ERR! react-spring@"^9.2.4" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^17.0.1" from [email protected] npm ERR! node_modules/react-select-search npm ERR! react-select-search@"^3.0.5" from the root project npm ERR! npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/react npm ERR! peer react@"^17.0.1" from [email protected] npm ERR! node_modules/react-select-search npm ERR! react-select-search@"^3.0.5" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See C:\Users\tst\AppData\Local\npm-cache\eresolve-report.txt for a full report.

How to reproduce the issue?

  1. Get the latest source and extract
  2. navigate to frontend folder 3.run the command npm i

thangaraja avatar Jan 05 '23 13:01 thangaraja

Hey @thangaraja We recommend using Windows Subsystem on Linux 2 and follow the Ubuntu setup guide for setting up ToolJet on windows.

withshubh avatar Jan 05 '23 14:01 withshubh

Closing this issue. Feel free to join our Community Slack if you have any problem setting up ToolJet.

withshubh avatar Jan 17 '23 07:01 withshubh