Skip to content

npm run prepublish => ReferenceError: Unknown plugin #1

Closed
@damien916

Description

@damien916

Hi,
I have an error when trying to run "prepublish" :

ReferenceError: Unknown plugin "'transform-es2015-modules-umd'" specified in "base" at 0, attempted to resolve relative to "src"
at C:\Node\forks\react-image-magnify\node_modules\babel-core\lib\transformation\file\options\option-manager.js:180:17
at Array.map (native)
at Function.normalisePlugins (C:\Node\forks\react-image-magnify\node_modules\babel-core\lib\transformation\file\options\option-manager.js:158:20)
at OptionManager.mergeOptions (C:\Node\forks\react-image-magnify\node_modules\babel-core\lib\transformation\file\options\option-manager.js:234:36)
at OptionManager.init (C:\Node\forks\react-image-magnify\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12)
at File.initOptions (C:\Node\forks\react-image-magnify\node_modules\babel-core\lib\transformation\file\index.js:216:65)
at new File (C:\Node\forks\react-image-magnify\node_modules\babel-core\lib\transformation\file\index.js:139:24)
at Pipeline.transform (C:\Node\forks\react-image-magnify\node_modules\babel-core\lib\transformation\pipeline.js:46:16)
at transform (C:\Node\forks\react-image-magnify\node_modules\babel-cli\lib\babel\util.js:50:22)
at Object.compile (C:\Node\forks\react-image-magnify\node_modules\babel-cli\lib\babel\util.js:59:12)

I have Node v6.9.5 on Windows 10

Do you know how to resolve the problem ?

Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions