Reputation: 205
I have tried nearly all solutions however nothing has worked for me. i cloned a repo from a friend and tried to run the client directory. When i try run client, i get the error:
Once i cloned the project i did npm install
(as it said in the readME) but when i tried to run the client i would run into this problem:
solutions i tried:
npm install -g vue-cli
npm install --save-dev webpack
npm install --save-dev webpack-cli
webpack --version
' it will tell me i am missing something and if i want to install it. i click yes and i get the following error:Installing 'webpack-cli' (running 'npm install -D webpack-cli')...
npm WARN [email protected] requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
24 packages are looking for funding
run npm fund
for details
found 33 vulnerabilities (22 low, 7 moderate, 4 high)
run npm audit fix
to fix them, or npm audit
for details
Error: Cannot find module 'webpack-cli'
Upvotes: 1
Views: 851
Reputation: 205
UPDATE: My colleague updated some of the dependencies by GitHub bot and i pulled the repo. That seemed to do the trick
Upvotes: 0