wix-incubator / DetoxRecorder

Detox Recorder is a utility for recordings steps for a Detox test as you use your app in Simulator. After recording the test, add expectations that check if interface elements are in the expected state.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c ./postinstall.sh

mrvincenzo opened this issue · comments

Describe the Bug
When using npm 7.24.2 and above (8.5.3) on Windows, npm ci/npm install produces the following error

npm ERR! path C:\Users\some_user\some_project\node_modules\detox-recorder
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c ./[postinstall.sh](https://postinstall.sh/)
npm ERR! '.' is not recognized as an internal or external command,
npm ERR! operable program or batch file.

To Reproduce
Run npm ci or npm install with npm v7.24.2+

Expected Behavior
npm ci / npm install commands complete successfully

Actual Behavior
npm fails with the following error

npm ERR! path C:\Users\some_user\some_project\node_modules\detox-recorder
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c ./postinstall.sh
npm ERR! '.' is not recognized as an internal or external command,
npm ERR! operable program or batch file.

Environment

  • Windows 10
  • Detox Recorder 1.0.151

Additional Context
When using npm v7.3.0, npm ci / npm install commands complete successfully

Hi

will this issue be fix soon?

Is detox recorder working on Windows? I am able to install fine using yarn. But it doesn't seem to work.

🤷🏻‍♂️ I've dealt with installations issues only. I never actually used it. They guys that use it, use it on MacOS.

🤷🏻‍♂️ I've dealt with installations issues only. I never actually used it. They guys that use it, use it on MacOS.

Okay