Closed Dzoay closed 8 years ago
Can you try installing as a regular dependency and not a dev dependency?
I'm having this same issue.
@asakusuma, I've tried installing as regular dependency but didn't work too.
@Dzoay, Do you found an solution for this?
the library in question does not browserify atleast with defaults (just tried i manually), I'm not sure we can do much, in theory maybe some mode of browserify may enable this, please do investigate and report back. But for now i think we should close this.
@Dzoay Did you find a solution or a working package? Thanks
I have created a brand new ember-cli app, installed ember-browserify and then
npm install --save-dev xlsx
(a js library to manipulate spreadsheets). I then imported xlsx asimport Xlsx from 'npm:xlsx';
into a servicesheet
and injected that service into a route thus:App builds fine but on going to the page that uses the route I get this error:
Any ideas what I am missing here?