Closed mkaa closed 5 years ago
did something change in angular between 6 and 7 with regard to commonjs modules ? the error you get suggests it's trying to load it as a default export of a es6 module instead of a normal module.exports
it worked. i'm not good with angular but i just changed
import shp from 'shpjs';
to
import * as shp from 'shpjs';
tried this with angular 7 but i can't find any workaround. it used to work with angular 6