-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught Exception: Error: spawn UNKNOWN #377
Comments
Make sure you have the latest node version installed along with the latest npm version: install latest npm version
Then try this: rm -rf node_modules # Idk if this will work on powershell but just delete the node_modules folder
npm cache clean
npm i
npm run dev If that doesnt work, try deleting the entire |
@amilajack I followed your instructions. But, I sitll got the same error. I can, however, get the guy if I use Visual Studio Code debugger with the following {
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/main.development.js",
"stopOnEntry": false,
"args": [],
"cwd": "${workspaceRoot}",
"preLaunchTask": null,
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd",
"runtimeArgs": [
"--nolazy",
"--enable-logging",
"--v=0",
"-r",
"babel-register",
"-r",
"babel-polyfill"
],
"env": {
"NODE_ENV": "development",
"HOT": 1
},
"console": "internalConsole",
"sourceMaps": false,
"outDir": null
}
]
} Once I get the renderer process displayed, i see the following on the console:
I did a little more digging and the error returned from
So, I think I may have two different issues on my hand which may be related. I will keep digging and report with any findings. |
Try this: PORT=1212 npm run dev It could be that your port Also sorry for the late response. |
Maybe the same with #268, it mean you can't connect to Chrome Store? |
@amilajack I will try that when I have a chance. I know, however, that the port is not in use because I am not running any other process that is using it. But I do not see how the port may be related. @jhen0409 I'm on windows 7 and yes; that is indeed the issue. I am behind a corp proxy and I have set However, I have never had issues with electron trying to connect to the internet. I use electron for other projects as well. My suspicion is that the node process that downloads the extensions is not using my proxy settings. |
That may be it. Our tests are @ 100% coverage so I dont this it is an issue with the repo. |
@aaroncalderon try following the installation debugging solutions and let me know if this works for you. |
Let me take a look at this. Working on it... |
I'm getting the same error. So, I think we should close this issue since I think it is not directly related with electron-react-boilerplate directly. I think the issue is a combinatin of the electon-devtools-installer and my corp proxy not playing nice with each other. |
Only way I have been able to have the
start-hot
command to show me the interphace is by commenting out theinstallExtensions()
call line 36I do not know if being behind a corporate proxy has anything to do with the issue.
The text was updated successfully, but these errors were encountered: