Skip to content

"Renderer: AttachConsole failed with error 6: The handle is invalid" on "yarn dev" #127

@tiagozip

Description

@tiagozip

Nothing about the code changed, I used the instructions in the README

PS C:\path> yarn
yarn install v1.22.22
[1/5] Resolving packages...
[2/5] Fetching packages...
[3/5] Linking dependencies...
[4/5] Building fresh packages...
[5/5] Cleaning modules...
Done in 121.53s.


PS C:\path> yarn dev
yarn run v1.22.22
$ electron-webpack dev
┏ Renderer -------------------

  AttachConsole failed with error 6: The handle is invalid.

┗ ----------------------------
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:79:19)
    at Object.createHash (node:crypto:139:10)
    at module.exports (C:\path\node_modules\webpack\lib\util\createHash.js:135:53)
    at NormalModule._initBuildHash (C:\path\node_modules\webpack\lib\NormalModule.js:417:16)
    at handleParseError (C:\path\node_modules\webpack\lib\NormalModule.js:471:10)
    at C:\path\node_modules\webpack\lib\NormalModule.js:503:5  
    at C:\path\node_modules\webpack\lib\NormalModule.js:358:12 
    at C:\path\node_modules\loader-runner\lib\LoaderRunner.js:373:3
    at iterateNormalLoaders (C:\path\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
    at Array.<anonymous> (C:\path\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
    at Storage.finished (C:\path\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
    at C:\path\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
    at C:\path\node_modules\graceful-fs\graceful-fs.js:115:16  
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions