kubesphere / console

KubeSphere Console is the web-based UI for KubeSphere clusters.
https://kubesphere.io
Other
581 stars 447 forks source link

yarn start error #1923

Open wanminny opened 3 years ago

wanminny commented 3 years ago

mac osx master branch

➜ console git:(master) ✗ yarn -v v1.22.10 ➜ console git:(master) ✗ node -v v16.2.0 ➜ console git:(master) ✗ npm -v 7.13.0 ➜ console git:(master) ✗

yarn
➜ console git:(master) ✗ yarn yarn install v1.17.3 warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. [1/5] 🔍 Validating package.json... [2/5] 🔍 Resolving packages... [3/5] 🚚 Fetching packages... [4/5] 🔗 Linking dependencies... warning " > react-sortablejs@6.0.0" has unmet peer dependency "@types/sortablejs@^1.10.0". warning " > @pmmmwh/react-refresh-webpack-plugin@0.3.3" has incorrect peer dependency "react-refresh@^0.8.2". warning " > cssnano@5.0.4" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default@5.1.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > css-declaration-sorter@6.0.3" has unmet peer dependency "postcss@^8.0.9". warning "cssnano > cssnano-preset-default > cssnano-utils@2.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-calc@8.0.0" has unmet peer dependency "postcss@^8.2.2". warning "cssnano > cssnano-preset-default > postcss-colormin@5.1.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-convert-values@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-discard-comments@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-discard-duplicates@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-discard-empty@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-discard-overridden@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-merge-longhand@5.0.2" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-merge-rules@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-minify-font-values@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-minify-gradients@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-minify-params@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-minify-selectors@5.1.0" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-normalize-charset@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-normalize-display-values@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-normalize-positions@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-normalize-repeat-style@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-normalize-string@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-normalize-timing-functions@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-normalize-unicode@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-normalize-url@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-normalize-whitespace@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-ordered-values@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-reduce-initial@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-reduce-transforms@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-svgo@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-unique-selectors@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning "cssnano > cssnano-preset-default > postcss-merge-longhand > stylehacks@5.0.1" has unmet peer dependency "postcss@^8.2.15". warning " > postcss-loader@5.3.0" has incorrect peer dependency "webpack@^5.0.0". warning " > postcss-loader@5.3.0" has unmet peer dependency "postcss@^7.0.0 || ^8.0.1". warning " > webpack-dev-server@2.11.5" has incorrect peer dependency "webpack@^2.2.0 || ^3.0.0". warning "webpack-dev-server > webpack-dev-middleware@1.12.2" has incorrect peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0". [5/5] 🔨 Building fresh packages... success Saved lockfile. $ rimraf node_modules/.cache ✨ Done in 188.52s.

➜ console git:(master) ✗ yarn start yarn run v1.17.3 $ concurrently -k --raw 'yarn dev:client' 'yarn dev:server' $ cross-env NODE_ENV=development webpack-dev-server --config scripts/webpack.dev.js -w $ cross-env NODE_ENV=development nodemon -w ./common -w ./server -e js,yaml server/server.js [nodemon] 1.19.4 [nodemon] to restart at any time, enter rs [nodemon] watching dir(s): common server/*/ [nodemon] watching extensions: js,yaml [nodemon] starting node server/server.js Dashboard app running at port 8000 node:internal/modules/cjs/loader:944 throw err; ^

Error: Cannot find module 'webpack/bin/config-yargs' Require stack:

wanminny commented 3 years ago

image

wanminny commented 3 years ago

image

wanminny commented 3 years ago

image

JohnNiang commented 3 years ago

Your nodejs is too new, please use LTS nodejs release instead.

https://nodejs.org/en/about/releases/

wanminny commented 3 years ago

Your nodejs is too new, please use LTS nodejs release instead.

https://nodejs.org/en/about/releases/

it is ok,done,thx. you are a good boy. perfect nice !

JohnNiang commented 3 years ago

@dongxiaokui Thank you reaching out. Please fire this problem to another issue and use English only for description.

JamisonDong commented 3 years ago

@dongxiaokui Thank you reaching out. Please fire this problem to another issue and use English only for description.

Where is the another issue?

JohnNiang commented 3 years ago

@dongxiaokui Thank you reaching out. Please fire this problem to another issue and use English only for description.

Where is the another issue?

Please rediect to https://github.com/kubesphere/console/issues/new/choose.

JamisonDong commented 3 years ago

@dongxiaokui Thank you reaching out. Please fire this problem to another issue and use English only for description.

Where is the another issue?

Please rediect to https://github.com/kubesphere/console/issues/new/choose.

ok