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

Uncaught ReferenceError: require is not defined #22

Closed
timjolson opened this issue May 10, 2019 · 3 comments
Closed

Uncaught ReferenceError: require is not defined #22

timjolson opened this issue May 10, 2019 · 3 comments

Comments

@timjolson
Copy link

When opening Fluorine, in 'dev tools' I'm consistently receiving

Uncaught ReferenceError: require is not defined
at fluorine.renderer.js: 3

npm -v -> 6.4.1
node -v -> v10.15.3
Ubuntu -> 18.04

Possibly related
Obviously this is low priority without an on-going competition, but this is just a heads-up.

Screenshot from 2019-05-10 16-57-28

@rooklift
Copy link
Owner

I'm guessing this is new in Electron 5, or something.

@rooklift
Copy link
Owner

My PC's currently in a fairly poor state for dev work - can you try changing this line to read:

webPreferences: {zoomFactor: zoom_factor, nodeIntegration: true}

And let me know?

@timjolson
Copy link
Author

That worked

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

2 participants