ReazerDev / vue-3-socket-io-demo

0 stars 0 forks source link

can't run 'npm run serve' command #1

Open minikiller opened 3 years ago

minikiller commented 3 years ago

When I run command "npm run serve" ,there is error as following:

ERROR  Failed to compile with 2 errors                                                                                                                                                                                                       4:12:41 PM

This dependency was not found:

* vue-socket.io-extended/decorator in ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--13-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/App.vue?vue&type=script&lang=ts, ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--13-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Quote.vue?vue&type=script&lang=ts

To install it, you can run: npm install --save vue-socket.io-extended/decorator
No issues found. 

Pls help me to fix it. Thanks.

ReazerDev commented 3 years ago

This is actually just a repo for an issue I have with a library xD There's nothing special about it^^

hongyu7 commented 3 years ago

I tried the following command: npm install --save vue-socket.io-extended/decorator but failed to get the lib.

So what should i do now?