Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Error transforming #72

@ghost

Description

When following the tutorial here I get this error :( being fairly new to transpiling it might be something I have done wrong..

>> rollup -c
Error transforming /Applications/MAMP/htdocs/nodejs/src/main.js with 'babel' plugin: It looks like your Babel configuration specifies a module transformer. Please disable it. If you're using the "es2015" preset, consider using "es2015-rollup" instead. See https://github.com/rollup/rollup-plugin-babel#configuring-babel for more information
Error: Error transforming /Applications/MAMP/htdocs/nodejs/src/main.js with 'babel' plugin: It looks like your Babel configuration specifies a module transformer. Please disable it. If you're using the "es2015" preset, consider using "es2015-rollup" instead. See https://github.com/rollup/rollup-plugin-babel#configuring-babel for more information
    at preflightCheck (/Applications/MAMP/htdocs/nodejs/node_modules/rollup-plugin-babel/dist/rollup-plugin-babel.cjs.js:43:102)
    at Object.transform$1 [as transform] (/Applications/MAMP/htdocs/nodejs/node_modules/rollup-plugin-babel/dist/rollup-plugin-babel.cjs.js:104:18)
    at /usr/local/lib/node_modules/rollup/src/utils/transform.js:13:35
    at process._tickCallback (internal/process/next_tick.js:103:7)
    at Function.Module.runMain (module.js:577:11)
    at startup (node.js:160:18)
    at node.js:456:3

I have added the preset as it says in the tutorial

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions