Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module build failed: Error: [BABEL] ... _document.js / _app.js: .value is not a valid Plugin property #4296

Closed
psycura opened this issue May 7, 2018 · 2 comments

Comments

@psycura
Copy link

psycura commented May 7, 2018

Hello, after update to a new 6.0.0 version.
That the error, that i receive on build.

minimal repo for reproduce this behavior:
https://github.com/psycura/with-apollo-next

.babelrc:
`

{
    "presets": [
        "next/babel",
        [
            "@babel/preset-stage-0",
            {
                "decoratorsLegacy": true
            }
        ]
    ],
    "plugins": [
        "transform-decorators-legacy",
        "inline-react-svg",
        [
            "transform-assets-import-to-string",
            {
                "baseDir": "static",
                "baseUri": "/"
            }
        ],
        [
            "emotion",
            {
                "inline": true
            }
        ]
    ]
}

`

package.json:
`

{
    "name": "with-apollo",
    "version": "2.0.0",
    "scripts": {
        "dev": "next",
        "build": "next build",
        "start": "next start"
    },
    "dependencies": {
        "@babel/core": "7.0.0-beta.44",
        "apollo-boost": "^0.1.6",
        "apollo-link-context": "^1.0.8",
        "apollo-link-ws": "^1.0.8",
        "apollo-upload-client": "^8.0.0",
        "apollo-utilities": "^1.0.12",
        "babel-plugin-emotion": "^9.1.2",
        "bcryptjs": "2.4.3",
        "emotion": "^9.1.3",
        "emotion-server": "^9.1.3",
        "express": "^4.16.3",
        "graphql": "^0.13.2",
        "graphql-tag": "^2.9.1",
        "graphql-yoga": "1.12.1",
        "isomorphic-fetch": "^2.2.1",
        "isomorphic-unfetch": "2.0.0",
        "jsonwebtoken": "8.2.1",
        "jwt-decode": "^2.2.0",
        "mobx": "^4.2.0",
        "mobx-react": "^5.1.2",
        "next": "latest",
        "prisma-binding": "1.5.18",
        "prop-types": "15.6.1",
        "react": "16.3.2",
        "react-apollo": "2.1.4",
        "react-dom": "16.3.2",
        "react-emotion": "^9.1.3",
        "react-infinite-scroller": "^1.1.4",
        "shortid": "^2.2.8",
        "subscriptions-transport-ws": "^0.9.8",
        "ws": "^5.1.1"
    },
    "devDependencies": {
        "@babel/core": "7.0.0-beta.44",
        "@babel/preset-stage-0": "7.0.0-beta.44",
        "@zeit/next-sass": "^0.1.2",
        "babel-plugin-inline-react-svg": "^0.5.2",
        "babel-plugin-transform-assets-import-to-string": "^1.1.0",
        "babel-plugin-transform-decorators-legacy": "^1.3.4",
        "dotenv": "5.0.1",
        "graphql-cli": "2.15.13",
        "node-sass": "^4.9.0",
        "nodemon": "1.17.3",
        "npm-run-all": "4.1.2",
        "prisma": "1.7.3"
    },
    "author": "",
    "license": "ISC"
}

`

@bryan
Copy link

bryan commented May 7, 2018

Check these two issues out, where this is being tracked:

#4227
#4239

@timneutkens
Copy link
Member

Also please follow the issue template in the future.

@lock lock bot locked as resolved and limited conversation to collaborators May 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants