Skip to content
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

"Extension server error: Operation failed: Permission denied" #64

Closed
b-smiley opened this issue Jul 30, 2023 · 11 comments
Closed

"Extension server error: Operation failed: Permission denied" #64

b-smiley opened this issue Jul 30, 2023 · 11 comments
Assignees
Labels
bug 🦟 Something isn't working help wanted 🚑 Extra attention is needed wontfix

Comments

@b-smiley
Copy link

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: ", source: devtools://devtools/bundled/models/extensions/extensions.js (1)
[21648:0729/183828.732:ERROR:CONSOLE(1)] "Extension server error: Object not found: ", source: devtools://devtools/bundled/models/extensions/extensions.js (1)
[21648:0729/183829.735:ERROR:CONSOLE(1)] "Extension server error: Object not found: ", source: devtools://devtools/bundled/models/extensions/extensions.js (1)
[21648:0729/183830.746:ERROR:CONSOLE(1)] "Extension server error: Object not found: ", source: devtools://devtools/bundled/models/extensions/extensions.js (1)
[21648:0729/183831.745:ERROR:CONSOLE(1)] "Extension server error: Object not found: ", source: devtools://devtools/bundled/models/extensions/extensions.js (1)
(node:21648) electron: Failed to load URL: http://localhost:3000/ with error: ERR_CONNECTION_REFUSED
[21648:0729/183831.994:ERROR:CONSOLE(1)] "Extension server error: Operation failed: Permission denied", source: devtools://devtools/bundled/models/extensions/extensions.js (1)
[21648:0729/183831.996:ERROR:CONSOLE(1)] "Extension server error: Operation failed: Permission denied", source: devtools://devtools/bundled/models/extensions/extensions.js (1)
(node:21648) electron: Failed to load URL: http://localhost:3000/ with error: ERR_CONNECTION_REFUSED
[21648:0729/183832.308:ERROR:CONSOLE(1)] "Extension server error: Operation failed: Permission denied", source: devtools://devtools/bundled/models/extensions/extensions.js (1)
[21648:0729/183832.316:ERROR:CONSOLE(1)] "Extension server error: Operation failed: Permission denied", source: devtools://devtools/bundled/models/extensions/extensions.js (1)
[21648:0729/183832.740:ERROR:CONSOLE(1)] "Extension server error: Operation failed: Permission denied", source: devtools://devtools/bundled/models/extensions/extensions.js (1)
[21648:0729/183833.737:ERROR:CONSOLE(1)] "Extension server error: Operation failed: Permission denied", source: devtools://devtools/bundled/models/extensions/extensions.js (1)

Steps to Reproduce

Steps to reproduce the behavior:

  1. Followed the getting started guide
  2. Git cloned, using Git bash
  3. pip3 install -r requirements.txt
  4. yarn install
  5. yarn run start

Expected behavior

I expect the main boilerplate app to load.

Screenshots

image

Additional context

I set the Firewall on windows to allow both private and public networks, or either or. The issue persists in all scenarios

@b-smiley b-smiley added the bug 🦟 Something isn't working label Jul 30, 2023
@msimoni18
Copy link

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.

@stale
Copy link

stale bot commented Oct 15, 2023

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.

@stale stale bot added the wontfix label Oct 15, 2023
@AlexSkillman10
Copy link

having this issue as well

@stale stale bot removed the wontfix label Nov 4, 2023
@TheNextGuy32
Copy link

I am experiencing this issue as well.

@tgourdel
Copy link

Experiencing the same

Copy link

stale bot commented Dec 27, 2023

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.

@stale stale bot added the wontfix label Dec 27, 2023
@iPzard iPzard added help wanted 🚑 Extra attention is needed and removed wontfix labels Dec 28, 2023
@alexandersvozil
Copy link

have the same issue on mac

@huangzhii
Copy link

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.

@nicholaswhite752
Copy link

// Start & identify React & Electron processes
spawn('cross-env BROWSER=none react-scripts start', spawnOptions.showLogs);
spawn('electron .', spawnOptions.showLogs);

Another solution is to start the development script with the legacy ssl mode on line 34

spawn('cross-env BROWSER=none NODE_OPTIONS=--openssl-legacy-provider react-scripts start', spawnOptions.showLogs);

Copy link

stale bot commented Jan 31, 2025

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.

@stale stale bot added the wontfix label Jan 31, 2025
Copy link

stale bot commented Feb 7, 2025

This issue has been closed due to inactivity.

@stale stale bot closed this as completed Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🦟 Something isn't working help wanted 🚑 Extra attention is needed wontfix
Projects
None yet
Development

No branches or pull requests

9 participants