Error: Cannot find project 'blog' on Core Nx Tutorial - Step 1
See original GitHub issueDocumentation issue
- Reporting a typo
- Reporting a documentation bug
- Documentation improvement
- Documentation feedback
Is there a specific documentation page you are reporting?
https://nx.dev/core-tutorial/01-create-blog
Additional context or description
After following all the steps in the page, the build
and serve
commands both fail with Cannot find project 'blog'
is there any step missing?
I tried adding { "blog": "packages/blog"}
to the projects
property of workspace.json
but then I got different errors about missing files. So if that’s the way, there’s more missing configuration.
Issue Analytics
- State:
- Created a year ago
- Reactions:12
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Core Nx Tutorial - Step 1: Create Eleventy Blog
In this tutorial you create multiple projects in a monorepo and take advantage of the core Nx features with a minimum of configuration....
Read more >nrwl-nx/community - Gitter
I'm trying to debug an application that uses a library, and I'm not hitting breakpoints in the library in vscode. The angular.json looks...
Read more >Tutorial - First Steps with Nx and Angular Architecture
Learn to build sustainable Angular architectures! ... Nx is a famous extension for the Angular CLI provided by former Angular core team members....
Read more >Setup a Monorepo with PNPM workspaces and speed it up ...
Important: If you are already familiar with the setup and configuration of a new PNPM workspace, feel free to skip to the part...
Read more >Create Your First Custom Angular CLI Schematic with Nx - Auth0
TL;DR In this tutorial, we're going to learn the basics of Nrwl's tool Nx, as well as how to create a custom workspace...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Encountered the same issue. If you delete
workspace.json
it works as expected.The docs state that:
The workspace.json file in the root directory is optional. It's used if you want to list the projects in your workspace explicitly instead of Nx scanning the file tree for all project.json and package.json files.
.It seems that either the tutorial should be updated to mention adding ‘blog’ to workspace.json or generating shouldn’t create that file by default.
https://nx.dev/getting-started/package-based-repo-tutorial#getting-started-with-package-based-repos
this guide does not work
I have error “NX : Cannot find project ‘is-even’”