angular2-img-cropper icon indicating copy to clipboard operation
angular2-img-cropper copied to clipboard

Error in latest release Unable to dynamically transpile ES module

Open naveedahmed1 opened this issue 8 years ago • 1 comments

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

naveedahmed1 avatar Aug 08 '17 14:08 naveedahmed1

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

zijianhuang avatar Jan 09 '18 21:01 zijianhuang