-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
Description
The problem
I'm trying to run npm ci (Install a project with a clean slate) with NPM version 7.5.3 and it's giving the following error:
npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path <PROJECT_DIR>/node_modules/appium/build/lib/main.js
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '<PROJECT_DIR>/node_modules/appium/build/lib/main.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
Project directory has been replaced in the logs with <PROJECT_DIR>.
Environment
- Appium version (or git revision) that exhibits the issue: 1.20.2
- Last Appium version that did not exhibit the issue (if applicable): N/A
- Desktop OS/version used to run Appium: OSX
- Node.js version (unless using Appium.app|exe): v14.15.5
- Npm or Yarn package manager: 7.5.3
- Mobile platform/version under test: N/A
- Real device or emulator/simulator: N/A
- Appium CLI or Appium.app|exe: CLI
Details
It can be reproduced by running the following commands in a project folder:
npm install -g [email protected]npm install appiumnpm ci
After this the following runs of npm install fail with the error described above.
rafaelgallani