This package makes an assumption about the location of package.json in lib/flow.js, resulting in an error:
Error: ENOENT: no such file or directory, open '//../package.json'
at Object.openSync (fs.js:447:3)
at Object.func (electron/js2c/asar.js:155:31)
at Object.func [as openSync] (electron/js2c/asar.js:155:31)
at Object.readFileSync (fs.js:349:35)
at Object.fs.readFileSync (electron/js2c/asar.js:597:40)
at Object.fs.readFileSync (electron/js2c/asar.js:597:40)
at Object.eval (webpack-internal:///./node_modules/node.flow/lib/flow.js:442:31)
at eval (webpack-internal:///./node_modules/node.flow/lib/flow.js:451:30)
I'm trying to include this module into my Electron application, which is compiled via Webpack.
My bundled code is output to
But this package would expect my Electron main process bundled file to be located on
instead.
This package makes an assumption about the location of
package.jsoninlib/flow.js, resulting in an error:I'm trying to include this module into my Electron application, which is compiled via Webpack.
My bundled code is output to
But this package would expect my Electron main process bundled file to be located on
instead.