netlock-arany-class-gold-főtanúsítvány.pem not found in electron app #6

Open
opened 2020-01-31 02:39:38 +00:00 by Ghost · 0 comments

When use ssl-root-cas in an electron app, it gets 100% CPU usage when first started, and get the following error:

Error: ENOENT, node_modules/ssl-root-cas/pems/netlock-arany-class-gold-főtanúsítvány.pem not found in /Desktop/omnitiddly/dist/mac/OmniTiddly.app/Contents/Resources/app.asar
    at createError (electron/js2c/asar.js:111:17)
    at Object.func [as openSync] (electron/js2c/asar.js:146:27)
    at Object.writeFileSync (fs.js:1206:35)
    at /Desktop/omnitiddly/dist/mac/OmniTiddly.app/Contents/Resources/app.asar/node_modules/ssl-root-cas/ca-store-generator.js:143:8
    at Array.forEach (<anonymous>)
    at dumpCerts (/Desktop/omnitiddly/dist/mac/OmniTiddly.app/Contents/Resources/app.asar/node_modules/ssl-root-cas/ca-store-generator.js:130:9)
    at /Desktop/omnitiddly/dist/mac/OmniTiddly.app/Contents/Resources/app.asar/node_modules/ssl-root-cas/ca-store-generator.js:220:7
    at IncomingMessage.<anonymous> (/Desktop/omnitiddly/dist/mac/OmniTiddly.app/Contents/Resources/app.asar/node_modules/@coolaj86/urequest/index.js:154:9)
    at IncomingMessage.emit (events.js:208:15)
    at endReadableNT (_stream_readable.js:1168:12)
When use `ssl-root-cas` in an electron app, it gets 100% CPU usage when first started, and get the following error: ``` Error: ENOENT, node_modules/ssl-root-cas/pems/netlock-arany-class-gold-főtanúsítvány.pem not found in /Desktop/omnitiddly/dist/mac/OmniTiddly.app/Contents/Resources/app.asar at createError (electron/js2c/asar.js:111:17) at Object.func [as openSync] (electron/js2c/asar.js:146:27) at Object.writeFileSync (fs.js:1206:35) at /Desktop/omnitiddly/dist/mac/OmniTiddly.app/Contents/Resources/app.asar/node_modules/ssl-root-cas/ca-store-generator.js:143:8 at Array.forEach (<anonymous>) at dumpCerts (/Desktop/omnitiddly/dist/mac/OmniTiddly.app/Contents/Resources/app.asar/node_modules/ssl-root-cas/ca-store-generator.js:130:9) at /Desktop/omnitiddly/dist/mac/OmniTiddly.app/Contents/Resources/app.asar/node_modules/ssl-root-cas/ca-store-generator.js:220:7 at IncomingMessage.<anonymous> (/Desktop/omnitiddly/dist/mac/OmniTiddly.app/Contents/Resources/app.asar/node_modules/@coolaj86/urequest/index.js:154:9) at IncomingMessage.emit (events.js:208:15) at endReadableNT (_stream_readable.js:1168:12) ```
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coolaj86/ssl-root-cas.js#6
No description provided.