CloudyPadmal on bootloader
init: all module files added wi… (compare)
env ELECTRON_ENV=development ./pslab-2.4.0/pslab --remote-debugging-port=8315
linker.html
- that's the process that spawns the Python shell underneath. And then you can investigate errors there and should see the stdout/stderr output.
Can someone please help me to solve these errors?
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pslab@2.4.0 start: `concurrently 'npm run react-start' 'wait-on http://localhost:3000/ && npm run electron-start'`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pslab@2.4.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache\_logs\2020-11-01T07_26_36_221Z-debug.log
I already tried many solutions by reading blogs and through StackOverflow but nothing can work out. I need to run some tests to check out whether there are some breaking changes or not But because of these errors, I am not able to work further.
Please help me to resolve these errors.
Dear @maintainers @mariobehling, I have a suggestion and a request for you, can you please make a video like this https://asciinema.org/a/370458?speed=5&autoplay=1 for the installation of fossasia/PSLab project in our local machine and please insert that in the project readme file as well. It will be very helpful for beginners like me and new joiners.
I made this request because I am constantly getting errors while running this project and I don't know where I made the mistake I went through the project readme but still facing errors.
npm cache clean --force
and reinstall all node modules but it still shows errors and because of these errors I am not able to run tests to check whether there are some breaking changes or not.
Have you tried to just run the scripts one by one instead of relying on concurrently? It might be a portability issue with Windows.
@orangecms Sir I tried but it still shows errors
PS C:\Users\user\Desktop\PSlab\pslab-desktop> npm run react-start
> pslab@2.4.0 react-start C:\Users\user\Desktop\PSlab\pslab-desktop
> BROWSER=NONE react-scripts start
'BROWSER' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pslab@2.4.0 react-start: `BROWSER=NONE react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pslab@2.4.0 react-start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs\2020-11-07T08_52_24_597Z-debug.log
PS C:\Users\user\Desktop\PSlab\pslab-desktop> npm run electron-start
> pslab@2.4.0 electron-start C:\Users\user\Desktop\PSlab\pslab-desktop
> DEV=1 electron .
'DEV' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pslab@2.4.0 electron-start: `DEV=1 electron .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pslab@2.4.0 electron-start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs\2020-11-07T08_53_26_417Z-debug.log
PS C:\Users\user\Desktop\PSlab\pslab-desktop>
set
. There are two ways to solve this: Introducing cross-env to the project, or asking Windows users to go with WSL or Cygwin etc to have a Unix-like environment. Do you have WSL set up?
Here is your answer:
'BROWSER' is not recognized as an internal or external command, operable program or batch file.
@orangecms Sir, I installed and set-upped WSL as you mentioned in the above comment but it still shows errors do I need to configure it further means some after installation commands to resolve that.