m0dch3n / vue-cli-plugin-cordova

Vue Cli 3 Cordova Plugin
MIT License
417 stars 63 forks source link

how do I debug cordova compiled code? #110

Closed pmgou closed 4 years ago

pmgou commented 4 years ago

In here there is something like:

Starting the Dev Server What does that mean?

I think this means: $ cd src (depends where u have your App.vue file then i run $ vue serve and got the errors:

 ERROR  Failed to compile with 1 errors                                                                                                                                                               9:57:11 PM

 error  in ./registerServiceWorker.js

Module Error (from ~/.config/yarn/global/node_modules/eslint-loader/index.js):

... src/registerServiceWorker.js
  5:5   error  'process' is not defined  no-undef
  6:15  error  'process' is not defined  no-undef

✖ 2 problems (2 errors, 0 warnings)

 @ ./main.js 9:0-33
 @ multi (webpack)-dev-server/client?http://192.168.1.6:8080/sockjs-node (webpack)/hot/dev-server.js ./main.js