mathlive
mathlive copied to clipboard
NPM CI fails when following CONTRIBUTOR_GUIDE.md
Description
Hello, I am trying to follow the CONTRIBUTOR_GUIDE.md file. I am trying to execute "npm ci" even with admin privieleges, I am getting the following error:
PS C:\Users\huzai\Documents\Webstorm Projects\mathlive2\mathlive> npm ci
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
> [email protected] prepare
> bash ./scripts/build.sh production
': No such file or directory
npm ERR! code 127
npm ERR! path C:\Users\huzai\Documents\Webstorm Projects\mathlive2\mathlive
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c bash ./scripts/build.sh production
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\huzai\AppData\Local\npm-cache\_logs\2022-09-13T01_29_28_650Z-debug-0.log
PS C:\Users\huzai\Documents\Webstorm Projects\mathlive2\mathlive>
Steps to Reproduce
- git clone https://github.com/arnog/mathlive
- run "cd mathlive"
- run "npm ci" with admin privileges.
Mathlive version: 0.79
It looks like you may not have the bash shell installed. It should be here: C:\Program Files\git\bin\bash.exe or C:\Program Files (x86)\git\bin\bash.exe. You may need to install (or re-install?) git: https://git-scm.com/downloads
No activity in two weeks. Closing, but please re-open if you still have issues.