Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

build failed cause of plugin-proposal-decorators #228

Open
mico opened this issue Oct 14, 2018 · 0 comments
Open

build failed cause of plugin-proposal-decorators #228

mico opened this issue Oct 14, 2018 · 0 comments
Labels

Comments

@mico
Copy link

mico commented Oct 14, 2018

After running yarn build I got:

    ERROR in ./src/main/index.js
    Module build failed (from ./node_modules/babel-loader/lib/index.js):
    Error: [BABEL] /Users/mico/Projects/pathephone-desktop/src/main/index.js: The decorators plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you want to use the legacy decorators semantics, you can set the 'legacy: true' option. (While processing: "base$2")
        at _default (/Users/mico/Projects/pathephone-desktop/node_modules/@babel/plugin-proposal-decorators/lib/index.js:50:13)

@negamaxi negamaxi added the bug label Oct 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants