Comments (2)
Hi @YingchenWang007, sorry about the delayed response here. Did you get this figured out? I have not seen a case where volta list
finds a local copy of a tool in a package but is unable to run it, but that sounds like a super annoying bug.
If you are still having this issue, (a) do you have a repository we can look which it consistently reproduces with, and (b) can you confirm that you ran npm install
or yarn install
in the package and that it is executable at node_modules/.bin/tsc
or similar?
from volta.
I had this issue as well, I was trying to run globally installed zx in a project directory that had zx in package.json without running npm install
first cause it would take a long time due to huge amount of packages.
My temporary solution was to only install zx in the project:
npm install --no-package-lock --no-save zx
Then running zx
worked.
But a better solution would be to have a flag or env variable for volta to make it use the global version of a tool:
VOLTA_USE_GLOBAL=1 zx
Or maybe by default if the tool is not in node_modules run the global tool.
from volta.
Related Issues (20)
- Generate Volta man pages
- Running Node with Volta with TMP options HOT 5
- 关于文件路径问题 (Specify installation path)
- Volta/Nuxt problems between multiple user accounts? HOT 2
- SUGGESTION: Move volta config to .voltarc or somewhere else. HOT 1
- I am install [email protected] ,but platform runtime at [email protected],why HOT 1
- volta install cocoapods HOT 2
- Unable to install TypeScript: Could not create shared environment for package 'typescript' HOT 1
- Potential fork bomb
- how to solve pnpm's problem HOT 3
- When trying to install new versions volta hangs indefinitely and uses all available network bandwidth HOT 7
- Unable to install nativescript (CLI)
- When using child_process.fork() with the execPath pointing to volta on windows ipc breaks. HOT 1
- Volta changed the toolchain action HOT 1
- mkgainet.
- uninstall failed
- Can I use it on a prodcution server with pm2? HOT 1
- [PSA] yarn version discrepancy
- 1.1.2
- how to use it in Jenkins or gitlab ci?
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 volta.