Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

production build failes #1

Open
svenhofrichter opened this issue Sep 21, 2021 · 2 comments
Open

production build failes #1

svenhofrichter opened this issue Sep 21, 2021 · 2 comments

Comments

@svenhofrichter
Copy link

There is one dependency missing: "axios".

I ran npm install --save axios to solve the issue in the current template. In the packages.json you can find "axios": "^0.21.4" then. So adding this to the skeleton-package.json could solve the problem.

@WilliamStam
Copy link
Owner

Hi, i just tried deleting my node_modules and doing a npm install. didnt seem to error out for me. Theres a dependency for

"vue-axios": "^3.3", in the package.json file. which in turn forces a dependency on axios

  "peerDependencies": {
    "axios": ">= 0.20.0",
    "vue": "^ 3.0.0 || ^ 2.0.0"
  },

image

@WilliamStam
Copy link
Owner

is your npm install maybe forcing "not following peerdependencies"? would be pretty cool if axios is the only thing that breaks then. will add axios to the package.json tho. makes sense to include it anyways. just puzzeling as to why it didnt install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants