polymer-cli - getting “Can’t find variable: babelHelpers” when I set compile to true
问题 I use Polymer 2.0 and my build setting is: "builds": [ { "name": "bundled", "bundle": true, "js": { "compile": true}, "css": { "minify": true }, "html": { "minify": true } }] I get "Can’t find variable: babelHelpers" error after build. The Polymer CLI version that I use is 1.1.0. EDIT: I was using polymer-cli locally. After installing latest polymer-cli globally, now I get “Constructor requires ‘new’ operator” on safari and “Failed to construct ‘HTMLElement’: Please use the ‘new’ operator,