Skip to content

error when running npm run transpile #32

@mnaamani

Description

@mnaamani

On windows while electron-forge is trying to build the addon the transpile step is failing.
I don't think this a windows issue, but more likely that at the time I'm testing a newer version of babel is being used, so we might want to update our package.json and npm script?

$ npm run transpile

joystream-node@0.1.0 transpile C:\Users\mokht\JoyStream-Dev\joystream-electron\node_modules\joystream-node
babel lib -d dist

You have mistakenly installed the babel package, which is a no-op in Babel 6.
Babel's CLI commands have been moved from the babel package to the babel-cli package.

npm uninstall babel
npm install --save-dev babel-cli

See http://babeljs.io/docs/usage/cli/ for setup instructions.

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