Comments (4)
So I guess what I'm requesting is a command that reads from the existing .node-version
and installs it.
from nodist.
nodist + 10.20.0
Or you can try removing the .node-version file and see if the dependencies work with a supported version of Node. What I've generally found is I must say npm install --legacy-peer-deps
to get past incompatible dependencies, then often it works just fine. If this doesn't work, no harm done, delete node_modules
and package-lock.json
, restore .node-version
and use the specified version.
from nodist.
In PowerShell, just print .node-versions
and append it to nodist add
would work.
nodist add @(Get-Content .\.node-version); nodist npm match
from nodist.
Ok I will read the file and input it to nodist add
. Basically I made this issue to see if there was a command (or request a command) to do this as part of nodist. If it isn't going to be implemented, this issue can be closed.
from nodist.
Related Issues (20)
- nodist 安装指定版本node不成功 HOT 2
- After removing nodist, npm install error: "EPERM: operation not permitted, mkdir 'C:\Program Files (x86)\Nodist' HOT 4
- The OAuth Token in nodist/lib/github.js is expired HOT 5
- Nodist can't find npm version 7.14.0 HOT 13
- No release since 2019, and npm run build doesn't work HOT 9
- "nodist latest" looks buggy to me. HOT 6
- How to uninstall Nodist HOT 4
- NPM command not working. Getting Error: Failed to replace env in config: ${NPM_TOKEN} HOT 1
- NPM commands not working when called from inside Node HOT 3
- Unhandled rejection error when setting npm latest HOT 5
- how to set it work in IDE Vscode
- State of this project HOT 17
- Invalid Version: libnpmversion-v3.0.1. HOT 3
- node -v npm -v HOT 2
- npm 8.6, authorization header missing & symlink problem HOT 14
- 无法安装 npm HOT 5
- No such file or directory after unistalling nodist
- error Cannot read properties of undefined (reading 'stdin') HOT 1
- os.Getenv("NODIST_PREFIX") is an empty string HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodist.