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

Fix error 'require is not defined' for Electron 12~16 #1

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

zcmgyu
Copy link

@zcmgyu zcmgyu commented Jan 26, 2022

  • Fix this error message on the renderer side:

    Uncaught ReferenceError: require is not defined
    at index.html:135

  • opencv4nodejs also needs to upgrade C++14 standard as well to pass electron-rebuild issue on Electron 11.

UrielCh/opencv4nodejs#5

Screen Shot 2022-01-26 at 9 59 29

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

Successfully merging this pull request may close these issues.

None yet

2 participants