Questions tagged [npm-cache]
23 questions
0
votes
1 answer
How do you move the nodejstmpcache folder to its original location?
I recently ran some npm cache code on the terminal which started making the nodejstmpcache folder on my root project directory whenever I run an npm command. It comes back even if I delete it when I run npm command next time on the console. How do…

Ameer Khan Ashraf
- 43
- 8
0
votes
1 answer
I cant run any command for vue.js
I am trying to create a new project in vue, but I always get this error.
I have tried to uninstall node and install it again..
I have tried npm cache clean --force.
I have tried to create it using "vue-ui".
I have tried to change the directory but…

Hamza Sweid
- 1
- 1
0
votes
1 answer
How to use this cache for python requirements caching ? Will this cachetask works if we use Hosted Agent for build
How to use this cache for python requirements caching ?
Will this cache task works if we use Hosted Agent for build

Harish
- 1
0
votes
2 answers
npm install -g expo-cli , installation error
I install npm to create my react-native project by using following command
npm install -g expo-cli
but unfortunately i can't install it. it gives following error.
npm ERR! code EPERM
npm ERR! syscall unlink
npm ERR! path…

Kaumadie Kariyawasam
- 1,232
- 3
- 17
- 35
0
votes
2 answers
npm cache add not adding the package to the cache directory
I have a project using package. After installing this package, is it cached automatically? And how can I check if it is cached? (When I navigate to the npm-cache folder, I see no directory named )
My second question is,…

moeinghasemi
- 81
- 1
- 10
0
votes
1 answer
Will npm update use npm cache?
My understanding is that.
Assume I have a package.json file with
"bunyan": "^1.8.9"
I have installed this and it will be in my npm cache.
The latest version(in the given range) of bunyan is "^1.8.12"
If I run
npm update
Will it install latest…

Sreeragh A R
- 2,871
- 3
- 27
- 54
0
votes
1 answer
Use semver package to determine if version matches
Say I have this in the .npm cache:
lodash/
1.2.4/
1.3.3/
2.11.2/
What I want to do is read the directories in the lodash folder and see if any of the versions are acceptable.
Say I am looking for this…

Alexander Mills
- 90,741
- 139
- 482
- 817
0
votes
0 answers
Cannot add package to local npm cache
If I try to add my local project to the npm cache, nothing seems to get added to the .npm dir:
"$(npm get cache)" => "$HOME/.npm"
given the npm cache location, we do:
rm -rf "$HOME/.npm"
mkdir "$HOME/.npm"
npm cache add "$my_npm_project_root"
the…

Alexander Mills
- 90,741
- 139
- 482
- 817