Skip to content
Advertisement

Tag: npx

Error: EPERM: operation not permitted, scandir ‘C:/Users/ . . . /node_modules/react-native-gesture-handler/android/

When I run: npx react-native run-android It gives the error like this: Error: EPERM: operation not permitted, scandir ‘C:/Users/ . . . /node_modules/react-native-gesture-handler/android/… when I ran Command Prompt as administration still giving the same error Answer As a result of my searches the problem was this react-native-gesture-handler, So some time just restart you computer the error will fix, if that

Does npx look for globally installed packages?

I am using Node.js 10.1.0 and npm 6.0.0. I have installed a package with npm install -g example-package, Will npx look for it? What about npx -p example-package, does it only look on npm registry? Answer NPX included in NPM 5.2 which looks in your local/node_modules folder to avoid version mismatch with the globally installed package version If package is

Advertisement