-
Notifications
You must be signed in to change notification settings - Fork 56
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
Cannot find module 'win-dpapi' #57
Comments
chrome-cookies-secure/package.json Lines 38 to 41 in 8eeca6d
Install via |
Yeah it would be good to have a way to declare and install "platform dependencies", but I don't think it's possible to declare these in Therefore certain dependencies that are platform specific are listed as optional only. |
If anyone else is receiving the error and already installed the dependencies and you are using electron, you need to rebuild the native modules after execute the
here more details: |
Looks like a separate dependency issue? Presumably electron has a different edge case to the machine operating system? I've got no experience with electron so can't comment much on that. Perhaps this repo should publish individual packages for the separate operating systems. The core logic could be shared but edge case dependencies could be handled in their own package.json files and made available separately on npm. |
chrome-cookies-secure/index.js Line 59 in 8eeca6d
|
Could be a solution. Welcome thoughts on it. |
Add README guidance in https://github.com/bertrandom/chrome-cookies-secure/pull/61/files |
I'm uisng this package with
puppeteer
.This is
package.json
file:And this is my code from sample:
And I have this error:
index.js from `node-modules/chrome-cookies-secure/index.js:
line 368:
The text was updated successfully, but these errors were encountered: