ENOENT: no such file or directory, chmod '...\node_modules\vue-native-scripts\src\bin\vue-native-script.js'
See original GitHub issueTrying to Install last version 0.1.0
npm install vue-native-scripts@0.1.0
but get following error in console:
npm ERR! path C:\sample\node_modules\vue-native-scripts\src\bin\vue-native-script.js
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\sample\node_modules\vue-native-scripts\src\bin\vue-native-script.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
and package did not installed
I suppose, this is cause in package.json wrong path to vue-native-script.js file:
"bin": {
"vue-native-scripts": "./src/bin/vue-native-script.js"
},
It should be:
"bin": {
"vue-native-scripts": "./bin/vue-native-script.js"
},
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
node.js - ENOENT, no such file or directory - Stack Overflow
I believe the previous answer is the correct answer to this problem but I was getting this error when I tried installing npm...
Read more >no such file or directory, chmod '...\node_modules\vue-native ...
ENOENT : no such file or directory, chmod '...\node_modules\vue-native-scripts\src\bin\vue-native-script.js'
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Use
yarn install
to solve this issueI believe @RishabhKarnad has just patched it and will be releasing a fix soon. Check https://github.com/GeekyAnts/vue-native-core/issues/191