Unhandled Promise rejection: Error: XHR error (404 Not Found) loading http://localhost:4200/ws
require('./lib/');
... but for some reason it's trying to load lib.js
instead of lib/index.js
lib/index.js
when lib
is imported in that module
main
property was for
/index.js
and inside it is a require('./lib')
call. main
will not help systemjs resolve the lib file
require('./lib')
be lib.js
and require('./lib/')
be ./lib/index.js
? :D
require('./lib/')
load ./lib.js
... if we didn't want to do directories, that in my mind should do ./lib/.js
:D
defaultJsExtensions
is set to false by default, so most likely what you'd get from the web server would be index.html
in that case, which would likely give you a 404
@horizon/client
and it requires express.io-client
which in turn requires about another 5 modules, which probably each require like 5 modules themselves :D
express.io-client
anywhere in the distributed files of @horizon/client
express.io-client
instantiate
hook in SystemJS where the module that's returned is actually just the function (instead of the result of the function)
bundles
?