Page MenuHomeDevCentral

Can't compile bundle.js for gadgets/generator - babel/polyfill not found
Closed, ResolvedPublic

Description

Tools container
$ make
browserify --transform reactify gadgets/generators/app.js > gadgets/generators/bundle.js
Error: Cannot find module 'babel/polyfill' from '/var/wwwroot/default/gadgets/generators'
    at /usr/local/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:46:17
    at process (/usr/local/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:173:43)
    at ondir (/usr/local/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:188:17)
    at load (/usr/local/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:69:43)
    at onex (/usr/local/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:92:31)
    at /usr/local/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:22:47
    at Object.oncomplete (fs.js:107:15)
Makefile:25: recipe for target 'gadgets/generators/bundle.js' failed

Revisions and Commits

Event Timeline

dereckson renamed this task from Can't compile bundle.js for gadgets/generator to Can't compile bundle.js for gadgets/generator - babel/polyfill not found.Nov 4 2017, 03:46
dereckson created this task.

It's been moved to '@babel/polyfill'.

dereckson triaged this task as Normal priority.Sun, Dec 1, 23:09