electron-react-python-template
electron-react-python-template copied to clipboard
"Extension server error: Operation failed: Permission denied"
Electron app appears to be waiting for flask. Cannot get to the main page of the starter code.
Error Messages (They just kept repeating until I Ctrl+C)
yarn run start yarn run v1.22.19 warning ........\package.json: No license field $ node ./scripts/dispatch start
(node:21648) ExtensionLoadWarning: Warnings loading extension at C:\Users\smile\AppData\Roaming\electron-react-python-template\extensions\fmkadmapgofadopljbjfkapdkoienihi: Unrecognized manifest key 'action'. Unrecognized manifest key 'minimum_chrome_version'. Starting the development server...
Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:69:19) at Object.createHash (node:crypto:133:10) at module.exports (C:\Users\smile\repo\test\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (C:\Users\smile\repo\test\node_modules\webpack\lib\NormalModule.js:417:16) at handleParseError (C:\Users\smile\repo\test\node_modules\webpack\lib\NormalModule.js:471:10) at C:\Users\smile\repo\test\node_modules\webpack\lib\NormalModule.js:503:5 at C:\Users\smile\repo\test\node_modules\webpack\lib\NormalModule.js:358:12 at C:\Users\smile\repo\test\node_modules\loader-runner\lib\LoaderRunner.js:373:3 at iterateNormalLoaders (C:\Users\smile\repo\test\node_modules\loader-runner\lib\LoaderRunner.js:214:10) at iterateNormalLoaders (C:\Users\smile\repo\test\node_modules\loader-runner\lib\LoaderRunner.js:221:10) C:\Users\smile\repo\test\node_modules\react-scripts\scripts\start.js:19 throw err; ^
Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:69:19) at Object.createHash (node:crypto:133:10) at module.exports (C:\Users\smile\repo\test\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (C:\Users\smile\repo\test\node_modules\webpack\lib\NormalModule.js:417:16) at C:\Users\smile\repo\test\node_modules\webpack\lib\NormalModule.js:452:10 at C:\Users\smile\repo\test\node_modules\webpack\lib\NormalModule.js:323:13 at C:\Users\smile\repo\test\node_modules\loader-runner\lib\LoaderRunner.js:367:11 at C:\Users\smile\repo\test\node_modules\loader-runner\lib\LoaderRunner.js:233:18 at context.callback (C:\Users\smile\repo\test\node_modules\loader-runner\lib\LoaderRunner.js:111:13) at C:\Users\smile\repo\test\node_modules\react-scripts\node_modules\babel-loader\lib\index.js:59:103 { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' }
Node.js v18.17.0
(node:21648) electron: Failed to load URL: http://localhost:3000/ with error: ERR_CONNECTION_RESET
[21648:0729/183828.732:ERROR:CONSOLE(1)] "Extension server error: Object not found:
[21648:0729/183829.735:ERROR:CONSOLE(1)] "Extension server error: Object not found:
Steps to Reproduce
Steps to reproduce the behavior:
- Followed the getting started guide
- Git cloned, using Git bash
- pip3 install -r requirements.txt
- yarn install
- yarn run start
Expected behavior
I expect the main boilerplate app to load.
Screenshots
Additional context
I set the Firewall on windows to allow both private and public networks, or either or. The issue persists in all scenarios
I've been using this template successfully for a while now. For some unknown reason I'm also getting these messages when trying to start my app, except I'm using Node.js v18.16.1
.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
having this issue as well
I am experiencing this issue as well.
Experiencing the same
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
have the same issue on mac
The error message you're encountering ERR_OSSL_EVP_UNSUPPORTED
is a common issue when using Node.js version 17 or newer with certain tools or dependencies that rely on OpenSSL for cryptographic functions.
My solution is to change the Node.js version. You can use a version manager such as nvm (Node Version Manager) for Unix-based systems (Linux, macOS) or nvm-windows for Windows. Here's how you would use nvm to switch to Node.js version 16:
nvm install 16
nvm use 16
After that, make sure to either close and reopen your terminal for the nvm command to become available, or you can source your profile file with a command like source ~/.zshrc
(the file may vary based on your shell).
When open a new terminal, run nvm use 16
again.
Then this issue will be disappear.