Questions tagged [volta]

Volta’s job is to manage your JavaScript command-line tools, such as node, npm, yarn, or executables shipped as part of JavaScript packages

10 questions
4
votes
3 answers

Volta and global npm package

I try Volta tools on existing Node project. This is very great tools :) But, can i use global package ? For example, i've run : npm i -g gitmoji-cli Then, i try to use gitmoji, but it's undefined on the command line. I'm on the right node version,…
s-leg3ndz
  • 3,260
  • 10
  • 32
  • 60
2
votes
1 answer

How to undo what was executed from an npx command package?

I installed bit on my Ubuntu 22.04 machine using npx @teambit/bvm install, which created an executable in my HOME/bin folder and an entry on my .zshrc Now, I would like to know if anything else was installed, and how can I completely remove Bit from…
nicoramirezdev
  • 466
  • 3
  • 14
1
vote
1 answer

Volta error: Could not create temporary directory

I am trying to download and install typescript globally through the npm install -g typescript command in my terminal. However, I get an error: Volta error: Could not create temporary directory in /Users/username/.volta/tmp/image/packages Please…
1
vote
0 answers

Running Ionic project using specific Node version

I am trying to run an Ionic project using Node version 14.18.3 I am using Volta to set this version for this one particular project To do this I ran this command: volta pin node@14 If I navigate to my project and run node -v then I see 14.18.3 When…
Chris
  • 4,672
  • 13
  • 52
  • 93
0
votes
1 answer

''pm2' is not recognized as an internal command with volta install

I install volta as node version handler and when I run pm2 status/start/stop in PowerShell or cmd, there is 'pm2' is not recognized as an internal command' error. I know that I should install pm2 as global but run npm i -g pm2 it is not working and…
r.a.shehni
  • 350
  • 1
  • 4
  • 11
0
votes
1 answer

check all globally installed npm packages with volta

I want to check all installed npm packages globally with volta. Before volta, I usually used npm-check-updates with the command ncu --global. With volta, this does not work anymore. What is the best way to check and update all packages installed…
Yukulélé
  • 15,644
  • 10
  • 70
  • 94
0
votes
1 answer

How do I change versions of node and yarn mentioned in package.js with volta?

I have a project cloned to my local machine from GitHub which has "volta": { "node": "14.17.0", "yarn": "1.22.10" }, in its package.json file. When I type node --version, terminal outputs v18.7.0. How do I make volta change versions of…
madfcat
  • 74
  • 1
  • 9
0
votes
1 answer

Unable to install Volta on WSL - ELF not found

I am unable to install volta as per its recommended command curl https://get.volta.sh | bash on WSL. I keep getting this error. And I have no idea what it means.
user2552108
  • 1,107
  • 3
  • 15
  • 30
0
votes
1 answer

Unable to find ng command for ionic v4 but otherwise ok when using ionic v6

I am on a Windows machine using Volta to manage different versions of node. I have 2 different ionic apps in 2 different folders with 2 different versions of ionic. In 1 folder, I am able to run ionic serve and the app is served in the browser. In…
Sani
  • 1,283
  • 11
  • 30
-1
votes
1 answer

npm throw error, could not able to understand

here is the error I am getting while i do npm install. TypeError: Invalid Version: npm verb stack at new SemVer (C:\Users\PAGOTTX\AppData\Local\Volta\tools\image\node\16.16.0\node_modules\npm\node_modules\semver\classes\semver.js:38:13) …
3gwebtrain
  • 14,640
  • 25
  • 121
  • 247