why i cannot run npm install && npm run dev? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

why i cannot run npm install && npm run dev?

npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN sass-loader@11.1.1 requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself. npm WARN sass-loader@11.1.1 requires a peer of node-sass@^4.0.0 || ^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN postcss-load-config@3.1.1 requires a peer of ts-node@>=9.0.0 but none is installed. You must install peer dependencies yourself. npm WARN webpack-notifier@1.15.0 requires a peer of @types/webpack@>4.41.31 but none is installed. You must install peer dependencies yourself. npm WARN ws@8.4.0 requires a peer of bufferutil@^4.0.1 but none is installed.

5th Jan 2022, 8:35 AM
Nasywa
2 Réponses
+ 1
Martin Taylor Chokidar is a library that abstracts away a lot of OS-specific file-system stuff. The chokidar dependency you are referring to is optional—I'd assume fsevents will be installed on some platforms but not others.
5th Jan 2022, 3:39 PM
Schindlabua
Schindlabua - avatar
0
Try installing the dependencies it complains about manually. npm i --save-dev fibers npm i --save-dev node-sass npm i --save-dev ts-node npm i --save-dev @types/webpack npm i --save-dev bufferutil and so on.
5th Jan 2022, 11:47 AM
Schindlabua
Schindlabua - avatar