babel-plugin-asm-js icon indicating copy to clipboard operation
babel-plugin-asm-js copied to clipboard

"Unknown Plugin..."

Open MrSonicMaster opened this issue 6 years ago • 0 comments

I have installed the module and babel-cli in the same directory using the instructions provided for each module. Even then, no matter what method I go about using this (cli, .babelrc, etc.) I get the same error (as follows):

mrsonic@DESKTOP-MrSonic:~/Desktop/challengelol$ babel challenge.babel.js -d test.js
ReferenceError: Unknown plugin "asm-js" specified in "/home/mrsonic/Desktop/challengelol/.babelrc" at 0, attempted to resolve relative to "/home/mrsonic/Desktop/challengelol"
    at /usr/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
    at Array.map (<anonymous>)
    at Function.normalisePlugins (/usr/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
    at OptionManager.mergeOptions (/usr/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
    at OptionManager.init (/usr/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
    at File.initOptions (/usr/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/index.js:212:65)
    at new File (/usr/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/index.js:135:24)
    at Pipeline.transform (/usr/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
    at transform (/usr/lib/node_modules/babel-cli/lib/babel/util.js:50:22)
    at Object.compile (/usr/lib/node_modules/babel-cli/lib/babel/util.js:59:12)

Any help is appreciated, thanks!

MrSonicMaster avatar Apr 30 '18 00:04 MrSonicMaster