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

Cannot find builder "@nrwl/next:dev-server" after upgrade nx #3039

Closed
4 tasks done
iam-yan opened this issue May 20, 2020 · 3 comments · Fixed by #3040
Closed
4 tasks done

Cannot find builder "@nrwl/next:dev-server" after upgrade nx #3039

iam-yan opened this issue May 20, 2020 · 3 comments · Fixed by #3040
Labels

Comments

@iam-yan
Copy link

iam-yan commented May 20, 2020

  • I am running the latest version
  • I checked the documentation (nx.dev) and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (not related to React, Angular or any dependency)

After upgrade nx to the latest version (9.3.0) yesterday, I get the error: Cannot find builder "@nrwl/next:dev-server" when run nx serve project

"dependencies": {
    "@babel/preset-typescript": "^7.8.3",
    "@fortawesome/fontawesome-svg-core": "^1.2.26",
    "@fortawesome/free-brands-svg-icons": "^5.12.0",
    "@fortawesome/free-solid-svg-icons": "^5.12.0",
    "@fortawesome/react-fontawesome": "^0.1.8",
    "@material-ui/core": "^4.9.5",
    "@material-ui/icons": "^4.9.1",
    "@zeit/next-css": "1.0.1",
    "@zeit/next-less": "1.0.1",
    "@zeit/next-sass": "1.0.1",
    "@zeit/next-stylus": "1.0.1",
    "antd": "^3.26.7",
    "apollo-server-lambda": "^2.9.16",
    "aws-amplify": "^3.0.8",
    "bezier-easing": "^2.1.0",
    "classnames": "^2.2.6",
    "document-register-element": "1.13.1",
    "formik": "^2.1.2",
    "graphql": "^14.6.0",
    "graphql-iso-date": "^3.6.1",
    "next": "9.3.3",
    "postcss-import": "^12.0.1",
    "react": "16.12.0",
    "react-dom": "16.12.0",
    "react-icons": "^3.8.0",
    "react-masonry-css": "^1.0.14",
    "react-spring": "^9.0.0-beta.34",
    "rgbaster": "^2.1.1",
    "serverless-dynamodb-local": "^0.2.39",
    "tailwindcss": "^1.2.0",
    "uuid": "^7.0.3",
    "yup": "^0.28.0"
  },
  "devDependencies": {
    "@angular/forms": "9.1.2",
    "@babel/core": "7.5.4",
    "@babel/preset-react": "7.8.3",
    "@nrwl/cypress": "9.3.0",
    "@nrwl/eslint-plugin-nx": "9.3.0",
    "@nrwl/jest": "9.3.0",
    "@nrwl/next": "9.3.0",
    "@nrwl/node": "9.3.0",
    "@nrwl/react": "9.3.0",
    "@nrwl/storybook": "9.3.0",
    "@nrwl/web": "9.3.0",
    "@nrwl/workspace": "9.3.0",
    "@storybook/addon-backgrounds": "^5.3.13",
    "@storybook/addon-knobs": "5.3.9",
    "@storybook/addon-viewport": "^5.3.13",
    "@storybook/angular": "5.3.9",
    "@storybook/react": "5.3.9",
    "@svgr/webpack": "^5.2.0",
    "@testing-library/react": "9.4.0",
    "@types/jest": "25.1.4",
    "@types/node": "~8.9.4",
    "@types/react": "16.9.17",
    "@types/react-dom": "16.9.4",
    "@types/yup": "^0.26.33",
    "@typescript-eslint/eslint-plugin": "2.3.2",
    "@typescript-eslint/parser": "2.3.2",
    "aws-sdk": "^2.610.0",
    "babel-loader": "8.0.6",
    "css-loader": "^3.4.2",
    "cypress": "3.8.3",
    "dotenv": "6.2.0",
    "eslint": "6.8.0",
    "eslint-config-prettier": "6.0.0",
    "eslint-plugin-import": "2.19.1",
    "eslint-plugin-jsx-a11y": "6.2.3",
    "eslint-plugin-react": "7.17.0",
    "eslint-plugin-react-hooks": "2.3.0",
    "jest": "25.2.4",
    "postcss-preset-env": "^6.7.0",
    "prettier": "2.0.4",
    "serverless-bundle": "^1.2.5",
    "serverless-dotenv-plugin": "^2.1.1",
    "serverless-offline": "^5.12.1",
    "serverless-webpack": "^5.3.1",
    "style-loader": "^1.1.3",
    "ts-jest": "25.2.1",
    "ts-node": "~7.0.0",
    "tsconfig-paths-webpack-plugin": "^3.2.0",
    "tslint": "6.0.0",
    "typescript": "3.8.3",
    "webpack-node-externals": "^1.7.2"
  }
@rarmatei
Copy link
Collaborator

rarmatei commented May 20, 2020

Thanks for submitting the issue!!

The @nrwl/next:dev-server has been renamed to @nrwl/next:server in 9.3.0. We normally include automated migrations with these kind of changes, but we missed it in this case.

I created a PR to add a migration for this, but in the meantime, to fix this, can you please update all references of @nrwl/next:dev-server to @nrwl/next:server in your workspace.json?

@iam-yan
Copy link
Author

iam-yan commented May 20, 2020

Thanks @rarmatei . sure no problem.

rarmatei added a commit to rarmatei/nx that referenced this issue May 20, 2020
FrozenPandaz pushed a commit that referenced this issue May 20, 2020
FrozenPandaz pushed a commit that referenced this issue May 24, 2020
@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants