Describe the bug
When running npm install bigscreen-player --save on Windows the following error appears:
$ npm install bigscreen-player --save
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c if [ -d .git/ ]; then husky install; fi
npm ERR! -d was unexpected at this time.
This was via Git Bash but as NPM runs via cmd the Bash -d directory exists check is unsupported.
Is the bug device specific?
Limited to Windows due to it's lack of bash script support.
Is this happening on Chrome?
N/A.
Is the bug consistenly reproducible?
Yes.
Have you seen this journey working before?
No, this was my first install of the package.
To Reproduce
Steps to reproduce the behavior:
- Open a Git Bash prompt on a Windows machine
- Run
npm install bigscreen-player --save
- See error
Expected behavior
The package to install without any errors.
Screenshots
N/A
Device (please complete the following information):
- Make/Model: Windows 10 Build 19045.4651
- BSP Version 8.5.1
Additional context
Workaround found to allow install to complete found of adding --ignore-scripts to the command: npm install bigscreen-player --save --ignore-scripts but there may be other implications of doing this.
Describe the bug
When running
npm install bigscreen-player --saveon Windows the following error appears:This was via Git Bash but as NPM runs via cmd the Bash -d directory exists check is unsupported.
Is the bug device specific?
Limited to Windows due to it's lack of bash script support.
Is this happening on Chrome?
N/A.
Is the bug consistenly reproducible?
Yes.
Have you seen this journey working before?
No, this was my first install of the package.
To Reproduce
Steps to reproduce the behavior:
npm install bigscreen-player --saveExpected behavior
The package to install without any errors.
Screenshots
N/A
Device (please complete the following information):
Additional context
Workaround found to allow install to complete found of adding
--ignore-scriptsto the command:npm install bigscreen-player --save --ignore-scriptsbut there may be other implications of doing this.