You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, NPM package does not contain es6 modules. Package should be shipped with the same for nodejs consumption.
Versions
NodeJS version (if applicable): NA
AlgorithmJS version: 0.0.12
Error
module.js:544
throw err;
^
Error: Cannot find module './algorithms'
at Function.Module._resolveFilename (module.js:542:15)
at Function.Module._load (module.js:472:25)
at Module.require (module.js:585:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/Users/manrajsingh/Github/test/algo/node_modules/algorithms-js/src/index.js:1:82)
at Module._compile (module.js:641:30)
at Object.Module._extensions..js (module.js:652:10)
at Module.load (module.js:560:32)
at tryModuleLoad (module.js:503:12)
at Function.Module._load (module.js:495:3)
Expected behaviour
Seamless import
Steps to recreate
Install and require the package
The text was updated successfully, but these errors were encountered:
Description
Currently, NPM package does not contain es6 modules. Package should be shipped with the same for nodejs consumption.
Versions
Error
Expected behaviour
Seamless import
Steps to recreate
Install and require the package
The text was updated successfully, but these errors were encountered: