'source' is not recognized as an internal or external command, operable program or batch file.
envScriptsactivate
'source' is not recognized as an internal or external command, operable program or batch file.
envScriptsactivate
'BROWSER' is not recognized as an internal or external command,
There are two fixes i found that works perfectly well first one : install cross-env (npm package)npm install cross-env then you change your dev script to
"electron-dev": "concurrently "cross-env BROWSER=none yarn start" "wait-on http://localhost:3000 && electron ."",
please note that you also have to install concurrently if not already installed
second one : install concurrently and run this (on windows though)
"electron-dev": "concurrently "SET BROWSER=none&&npm run start" "wait-on http://localhost:3000 && electron .""
'.' is not recognized as an internal or external command,
npm config set script-shell "C:\Program Files (x86)\git\bin\bash.exe"
or (64bit installation)
npm config set script-shell "C:\Program Files\git\bin\bash.exe"
Note that you need to have git bash for windows installed.
You can revert it by running:
npm config delete script-shell
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us