You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npm run deploy:local
> backend@0.1.0 deploy:local
> eval "`aws-auth-helper vn-sandbox` lerna run deploy:sandbox --stream"
'eval' is not recognized as an internal or external command,
operable program or batch file.
I am using VSCode Bash terminal. It had been working just fine but then I started getting this error. Have tried both the bash terminal and javascript terminal.
If I just type "eval" in the bash terminal, it works okay. While running through npm script it does not.
The text was updated successfully, but these errors were encountered:
if you're running in Windows, the default shell we use to run scripts with is cmd.exe which does not have an eval. you can override this to use bash by running npm config set script-shell=bash
let me know if that works for you. admittedly there's an opportunity for a bit of enhancement here where we could potentially default to the currently running shell instead of an operating system specific one, but that's something we would have to take through our RFC process detailed here: https://github.com/npm/rfcs
Node version:
I am using VSCode Bash terminal. It had been working just fine but then I started getting this error. Have tried both the bash terminal and javascript terminal.
If I just type "eval" in the bash terminal, it works okay. While running through npm script it does not.
The text was updated successfully, but these errors were encountered: