Skip to content

Commit

Permalink
fix(deps): cannot install npm packages
Browse files Browse the repository at this point in the history
Error:
- npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: vue-todolist@0.1.0
npm ERR! notsup Not compatible with your version of node/npm: vue-todolist@0.1.0
npm ERR! notsup Required: {"node":"20.9.0","npm":"10.1.0"}
npm ERR! notsup Actual:   {"npm":"10.2.3","node":"v20.10.0"}

Reason:
- A newer version of `node` and `npm` is being used with `nvm`.

Solution:
- Update `npm` and `node` versions into the configuration files: `package.json` and `.nvmrc`.
Change `node` from 20.9.0 to 20.10.0.
Change `npm` from 10.1.0 to 10.2.3.
  • Loading branch information
beatrizsmerino committed Dec 12, 2023
1 parent efd13ec commit 0e50e6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.9.0
v20.10.0
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
},
"resolutions": {},
"engines": {
"node": "20.9.0",
"npm": "10.1.0"
"node": "20.10.0",
"npm": "10.2.3"
}
}

0 comments on commit 0e50e6a

Please # to comment.