angular2-img-cropper
angular2-img-cropper copied to clipboard
Error in latest release Unable to dynamically transpile ES module
Hi,
I am receiving below error after upgrading from 0.8.8 to latest release (0.9.0):
(index):120 Error: Unable to dynamically transpile ES module
A loader plugin needs to be configured via `SystemJS.config({ transpiler: 'transpiler-module' })`.
Instantiating http://localhost:45000/node_modules/ng2-img-cropper/index.js
yes, I just saw the same thing. 0.8.8 is OK. My own app tsconfig.json is with es6/es2015, all working fine until introducing cropper 0.9.0.
I noticed that in cropper's tsconfig.json, there's such line:
"lib": ["es6", "dom", "es2017.object"],
I am not sure if reference to es2017 is causing the problem, while this reference has already existed in 0.7.6