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

primordials is not defined - Node v12 #240

Open
JMTK opened this issue May 2, 2019 · 4 comments
Open

primordials is not defined - Node v12 #240

JMTK opened this issue May 2, 2019 · 4 comments

Comments

@JMTK
Copy link

JMTK commented May 2, 2019

ReferenceError: primordials is not defined
    at fs.js:27:35
    at req_ (node_modules/natives/index.js:143:24)
    at Object.req [as require] (node_modules/natives/index.js:55:10)
    at Object.<anonymous> (node_modules/webshot/node_modules/graceful-fs/fs.js:1:37)

I'm using the webshot modules but it's the inner workings of the graceful-fs. I tried upgrading it to 4.x and it works fine so I think that's the ticket

@zoness32
Copy link

zoness32 commented Jun 18, 2019

I can confirm this fixes the issue.

Created a PR to fix this: #243

@architjn
Copy link

Seems like the project is not being updated since 2016.
So I have created a project clone solving this issue.

GitHub - https://github.com/architjn/node-webshot
npmjs - https://www.npmjs.com/package/webshot-node

@juanpmd
Copy link

juanpmd commented Mar 24, 2020

Seems like the project is not being updated since 2016.
So I have created a project clone solving this issue.

GitHub - https://github.com/architjn/node-webshot
npmjs - https://www.npmjs.com/package/webshot-node

Amazing, it works perfectly. Thank you

@itzBawantha
Copy link

Seems like the project is not being updated since 2016.
So I have created a project clone solving this issue.

GitHub - https://github.com/architjn/node-webshot
npmjs - https://www.npmjs.com/package/webshot-node

Thank you amazing work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants