Page MenuHomeDevCentral

Can't compile bundle.js for gadgets/generator - babel/polyfill not found
Open, Needs TriagePublic

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

Event Timeline

dereckson created this task.Nov 4 2017, 03:46
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.