question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ENOENT: no such file or directory, chmod '...\node_modules\vue-native-scripts\src\bin\vue-native-script.js'

See original GitHub issue

Trying 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:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

9reactions
zyxel648commented, Aug 8, 2019

Use yarn install to solve this issue

0reactions
enviseancommented, Aug 14, 2019

I believe @RishabhKarnad has just patched it and will be releasing a fix soon. Check https://github.com/GeekyAnts/vue-native-core/issues/191

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found