question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Package-Based Repo Tutorial Does Not Work: NX Cannot find project 'is-even'

See original GitHub issue

Current Behavior

The tutorial found here: https://nx.dev/getting-started/package-based-repo-tutorial does not work.

After working through the tutorial adding the is-even package as expected, the npx nx build is-even command fails with the following message:

> NX   Cannot find project 'is-even'

Expected Behavior

The tutorial found here: https://nx.dev/getting-started/package-based-repo-tutorial should work.

Steps to Reproduce

Simply follow the steps in the tutorial here: https://nx.dev/getting-started/package-based-repo-tutorial

Failure Logs

> NX   Cannot find project 'is-even'

Environment

> NX   Cannot find project 'is-even'

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
medmincommented, Oct 21, 2022

the broken “Get Started” is a deal-breaker. I will try one more time with this tho.

3reactions
AgentEndercommented, Oct 19, 2022

For package based repos we use the name field in package.json as the project name. In your case, this is @package-based/is-even. You should change it to is-even.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Package-Based Repo Tutorial - Nx
Linking packages locally in a package-based monorepo style is done with NPM/Yarn/PNPM workspaces. In this specific setup we use NPM workspaces (see the...
Read more >
Cannot find module 'nx/src/config/workspaces' on creating a ...
I am getting the following error and I add the react app to the already existing Nx project on my system:
Read more >
Twitter \ Nx على تويتر: "Releasing on a Friday? Let's do it Nx ...
2.7m downloads/week Package-based & integrated monorepos Task ... Great work! ... but I have an error "NX cannot find project 'is-even'".
Read more >
Nx v14 is out — Here is all you need to know!
Nx is open source, so feel free to browse the repo and changelog by yourself ... And that doesn't stop at the terminal...
Read more >
Migrate Multiple Angular CLI apps into a Single Nx Monorepo
Nx comes with powerful automated migrations to move an existing Angular CLI app (or also CRA app) to a new Nx workspace.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found