Closed ORESoftware closed 7 years ago
I realized what was happening => require.resolve('assert')
does not yield an absolute path, it actually doesn't even yield a path at all (same for any core module), I filed a ticket with Node.js about this, since that seems bad. Closing, thanks.
In other words:
require.resolve(<core-module>) => major nodejs fail
I have this script:
it's pointing to a node.js file in my project that simply has 2 lines like so:
what I am looking to do is bundle the core assert module and the async NPM module into a SystemJS build for the front-end.
However when running the script, I get this output:
is there any way to accomplish want I want to do? Totally stuck. Thanks.