flatlogic / light-blue-react-template

Light Blue React Template - Admin Dashboard Template built with React
https://flatlogic.github.io/light-blue-react-template/#/app/main/dashboard
MIT License
539 stars 180 forks source link

npm install doesn't work #27

Open aqeeburrahman opened 3 years ago

aqeeburrahman commented 3 years ago

npm install is not working through an error or unable to resolve dependencies ...

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: light-blue-react-template@1.2.9 npm ERR! Found: eslint-plugin-flowtype@3.8.1 npm ERR! node_modules/eslint-plugin-flowtype npm ERR! dev eslint-plugin-flowtype@"3.8.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer eslint-plugin-flowtype@"2.x" from eslint-config-react-app@4.0.1 npm ERR! node_modules/eslint-config-react-app npm ERR! dev eslint-config-react-app@"4.0.1" 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.

Pegietix commented 3 years ago

Second this issue! yarn install is also not working

alokpurohit18 commented 2 years ago

Yeah neither npm nor yarn is working with the installation. same error for me as well.

NunyaHotor commented 2 years ago

I encountered the same problem . Was any one of you been able been resolved the problem ?

SoonYoung-Kwon commented 2 years ago
  1. Change version "eslint-plugin-flowtpye": "2.50.3" in package.json.

  2. Input next string in terminal.

npm install chalk webpack webpack-dev-server react-dev-utils pnp-webpack-plugin html-webpack-plugin case-sensitive-paths-webpack-plugin webpack-manifest-plugin eslint eslint-loader url-loader babel-loader babel-preset-react-app babel-plugin-named-asset-import babel-plugin-named-asset-import style-loader css-loader postcss-loader sass-loader file-loader @babel/core eslint-config-react-app eslint-plugin-import eslint-plugin-flowtype eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react eslint-plugin-react-hooks babel-eslint @babel/plugin-proposal-class-properties @babel/plugin-proposal-optional-chaining node-sass@4.14.1 postcss-flexbugs-fixes postcss-preset-env bootstrap glyphicons-halflings font-awesome animate.css awesome-bootstrap-checkbox @amcharts/amcharts4 @amcharts/amcharts4-geodata classnames echarts-for-react echarts highcharts highcharts-react-official moment rc-hammerjs react react-animate-height react-animated-number react-apexcharts apexcharts react-dom react-google-maps react-redux react-router react-router-dom react-sparklines react-toastify react-transition-group reactstrap redux redux-thunk rickshaw line-awesome

I don't know why this is happening that input "npm install" in terminal. but I checked not_found_modul. If template doesn't working please checking your version to node.js (I used 14.17.6)

patrick-steve commented 2 years ago

@SoonYoung-Kwon I tried your solution. But still got an error.

npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno -4058 npm ERR! enoent An unknown git error occurred npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent