vue-auth: Error when trying to run 2.x demo

When I go into the 2.x folder and type npm install, I get these warnings

npm WARN vue-axios@2.0.2 requires a peer of vue@>= 1.0.0 but none was installed.
npm WARN 2.x No description
npm WARN 2.x No repository field.
npm WARN 2.x No license field.

And then when I use npm run demo I get a long string of errors and a “webpack: Failed to compile.” warning and a failure to launch the demo.

is there something else required to be installed for the demo?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

To clarify, here is exactly what I did originally (that failed):

  1. Downloaded the repo
  2. cd into vue-auth-master/demos/2.x
  3. run npm install
  4. run npm run demo

And what I did that worked:

  1. run npm install '@'websanova/vue-auth
  2. cd into node_modules/'@'websanova/vue-auth/demos/2.x/
  3. run npm install
  4. run npm run demo