We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I run my application during development using the following command:
nw.exe .
...everything works as expected and when I open the developer tools I see this:
However, when I attempt to run the application after running grunt-node-webkit-builder, I get the following errors:
I understand that some modules that use C/C++ addons may require a rebuild, but that's certainly not the case for lodash and humanize-plus.
I have made my code available in this repository so you can see what I am doing. For quick reference, this is all the script is attempting to do:
(function () { var attemptRequire = function(moduleName){ try { var mod = require(moduleName); console.log(moduleName + ' loaded'); } catch (ex){ console.log(ex); } }; attemptRequire('underscore'); attemptRequire('lodash'); attemptRequire('humanize-plus'); attemptRequire('fs'); attemptRequire('fs-extra'); attemptRequire('node-webkit-fdialogs'); }());
Any insight you can offer is appreciated.
The text was updated successfully, but these errors were encountered:
Sorry for taking so long to get to this. Those modules would exist in /node_modules but you don't tell grunt-nw-builder to put node_modules in your app. See https://github.com/craigshoemaker/grunt-node-webkit-builder-test/blob/master/gruntfile.js#L12.
/node_modules
node_modules
Sorry, something went wrong.
No branches or pull requests
When I run my application during development using the following command:
...everything works as expected and when I open the developer tools I see this:
However, when I attempt to run the application after running grunt-node-webkit-builder, I get the following errors:
I understand that some modules that use C/C++ addons may require a rebuild, but that's certainly not the case for lodash and humanize-plus.
I have made my code available in this repository so you can see what I am doing. For quick reference, this is all the script is attempting to do:
Any insight you can offer is appreciated.
The text was updated successfully, but these errors were encountered: