igorklopov / enclose

Compile your Node.js project into an executable
http://enclosejs.com
Other
936 stars 43 forks source link

Cannot resolve path error #111

Closed junaidmalik09 closed 7 years ago

junaidmalik09 commented 8 years ago

I'm trying to make an executable but run into following error:

/usr/local/lib/node_modules/t2-cli/node_modules/usb/usb.js warning Cannot resolve 'binding_path' Use a string literal as argument for 'require', or leave it as is and specify the resolved file name in 'scripts' option.

/usr/local/lib/node_modules/t2-cli/lib/tessel/deployment/javascript.js warning Cannot resolve 'path.join(globRoot, modulePath, "package.json")' Use a string literal as argument for 'require', or leave it as is and specify the resolved file name in 'scripts' option.

I've tried including the file usb.js in the config.js but still the problem persists. My code requires connection over usb and the file usb.js is essential to the operation.

igorklopov commented 7 years ago

Dear users of EncloseJS! I highly encourage you to switch to https://github.com/zeit/pkg It is rewritten successor of EncloseJS. It is open source, and all improvements will go there. Please check if pkg has your issue unresolved, and if it is true, reopen your issue there: https://github.com/zeit/pkg/issues