Polymer / tools

Polymer Tools Monorepo
BSD 3-Clause "New" or "Revised" License
430 stars 200 forks source link

ReferenceError: regeneratorRuntime is not defined #1897

Open ricardo-0x07 opened 8 years ago

ricardo-0x07 commented 8 years ago

i am getting the following error when trying to run this gulp task:

GULP TASK: gulp.task('vulcanize-elems', function() { return gulp.src('src/polymer-elements/elements.html') .pipe(vulcanize({ abspath: '', excludes: [], stripExcludes: false, inlineScripts: true, inlineCss: true, stripComments: true })).on("error", function(err) { console.log(err); }) .pipe(gulp.dest('dist/public/polymer-elements/')); });

ERROR: { ReferenceError: regeneratorRuntime is not defined at Analyzer._metadataTree (/Users/clivecadogan/Documents/workspace/Sortyfied-Demo/node_modules/hydrolysis/lib/analyzer.js:499:52) at /Users/clivecadogan/Documents/workspace/Sortyfied-Demo/node_modules/hydrolysis/lib/analyzer.js:493:31 at run (/Users/clivecadogan/Documents/workspace/Sortyfied-Demo/node_modules/core-js/modules/es6.promise.js:89:22) at /Users/clivecadogan/Documents/workspace/Sortyfied-Demo/node_modules/core-js/modules/es6.promise.js:102:28 at flush (/Users/clivecadogan/Documents/workspace/Sortyfied-Demo/node_modules/core-js/modules/_microtask.js:18:9) at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9) name: 'ReferenceError', message: 'regeneratorRuntime is not defined', stack: 'ReferenceError: regeneratorRuntime is not defined\n at Analyzer._metadataTree (/Users/clivecadogan/Documents/workspace/Sortyfied-Demo/node_modules/hydrolysis/lib/analyzer.js:499:52)\n at /Users/clivecadogan/Documents/workspace/Sortyfied-Demo/node_modules/hydrolysis/lib/analyzer.js:493:31\n at run (/Users/clivecadogan/Documents/workspace/Sortyfied-Demo/node_modules/core-js/modules/es6.promise.js:89:22)\n at /Users/clivecadogan/Documents/workspace/Sortyfied-Demo/node_modules/core-js/modules/es6.promise.js:102:28\n at flush (/Users/clivecadogan/Documents/workspace/Sortyfied-Demo/node_modules/core-js/modules/_microtask.js:18:9)\n at _combinedTickCallback (internal/process/next_tick.js:67:7)\n at process._tickCallback (internal/process/next_tick.js:98:9)', fileName: '/Users/clivecadogan/Documents/workspace/Sortyfied-Demo/src/polymer-elements/elements.html', showStack: false, showProperties: true, plugin: 'gulp-vulcanize' }

Any help would be appreciated

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.