Well, I am new to node webkit can any one help me out for the below issue?
I want to use 'officegen' plugin into node webkit executable package but not working for me. See the below code.
I have the officegen folder in same place where this JS is placed.
var officegen = require('officegen/lib/index.js');
Error message : Error: Cannot find module 'officegen/lib/index.js'
To refer to the same path, prepend ./
, otherwise it will resolve to node_modules
in the current or a parent directory.
var officegen = require('./officegen/lib/index.js');