Dexus / pem

Create private keys and certificates with node.js
Other
570 stars 129 forks source link

Dependency not found #241

Closed johnrb2 closed 5 years ago

johnrb2 commented 5 years ago

friendly-errors 11:22:37 
friendly-errors 11:22:37 * child_process in ../node_modules/pem/lib/openssl.js
friendly-errors 11:22:37 * fs in ../node_modules/isexe/index.js, ../node_modules/pem/lib/openssl.js and 1 other
friendly-errors 11:22:37 
friendly-errors 11:22:37 To install them, you can run: npm install --save child_process fs```

Looks like my compiler is breaking because fs and child_process are not included in the dependencies. I ran the install on my own but it seems to not like the fact that your package doesn't list them

Node 10.15 suddenly had this problem
Dexus commented 5 years ago

Your compiler? Maybe its a crap compiler...

child_process and fs are buildin in nodejs so it should anytime available...

johnrb2 commented 5 years ago

It was Nuxt webpack

Dexus commented 5 years ago

You can’t use it outside of NodeJS like browsers.

So webpack does not make sense

Von meinem iPhone gesendet

Am 16.05.2019 um 21:05 schrieb John Bench notifications@github.com:

It was Nuxt webpack

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.

johnrb2 commented 5 years ago

Yep that was the problem, thanks