-
Notifications
You must be signed in to change notification settings - Fork 0
Setup problems
BraunTom edited this page Nov 29, 2018
·
2 revisions
When we tried to use the InterpreterNan package we got the error, that the path is not correct configured. After long hours of try and error we got a solution:
- eject the react app
- set the webpack build target to electron-renderer (not electron-main and yes we settled with electron only)
- enable __dirname in the webpack config (in the node section)
- use path.resolve for finding the whole path (useful for the InterpreterNan package)