Closed
Description
Steps to reproduce:
npm install --save-dev AssemblyScript/assemblyscript
- asc
Throws:
/node_modules/binaryen/index.js:7
if(n){q=__dirname+"/";var da,ea;a.read=function(b,e){var c=r(b);c||(da||(da=require("fs")),ea||(ea=require("path")),b=ea.normalize(b),c=da.readFileSync(b));return e?c:c.toString()};a.read
Binary=function(b){b=a.read(b,!0);b.buffer||(b=new Uint8Array(b));assert(b.buffer);return b};1<process.argv.length&&(a.thisProgram=process.argv[1].replace(/\\/g,"/"));a.arguments=process.
argv.slice(2);process.on("uncaughtException",function(b){if(!(b instanceof fa))throw b;});process.on("unhandledRejection",function(){process.exit(1)});
Error: Cannot find module 'glob'
at Function.Module._resolveFilename (module.js:555:15)
at Function.Module._load (module.js:482:25)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at exports.libraryFiles.exports.isBundle (/node_modules/assemblyscript/cli/asc.js:78:20)
at Object.<anonymous> (/node_modules/assemblyscript/cli/asc.js:82:3)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
Metadata
Metadata
Assignees
Labels
No labels