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.

React: Unable to resolve @nxext/react:app

See original GitHub issue

Describe the bug When I try to create a new React app or library, I am getting the following error:

Unable to resolve @nxext/react:app
Cannot find module '/home/lori/nx-test/node_modules/@nxext/react/generators.json'

To Reproduce I followed the installation steps from the docs with NX version 13.4.2:

npx create-nx-workspace --preset=empty
npm install @nxext/react --save
npx nx g @nxext/react:app [name]

Expected behavior A new React library or app is created.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
DominikPiepercommented, Jan 5, 2022

Could you all test the latest release? Should be fixed now 😃

1reaction
Jordan-Hallcommented, Jan 3, 2022

@LoriKarikari I’ll take a look tonight at why this has stopped working. NX done some structural change and I’ve recently matched the changes. Seems like something gone wrong with this plugin

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to resolve path to module 'react'. (import/no-unresolved)
I think it complains because react should be in dependencies : ... To solve this, I just install that dependencies with npm install....
Read more >
Unable to resolve module · Issue #11498 · facebook/react-native
Try this: Click "Reset content and settings..." in the simulator's drop down menu and confirm; Close the simulator after it reloads; Close the ......
Read more >
Error Boundaries - React
To solve this problem for React users, React 16 introduces a new concept of an “error boundary”. Error boundaries are React components that...
Read more >
react-is - npm
react -is. This package allows you to test arbitrary values and see if they're a particular React element type. Installation.
Read more >
How to Fix npm ERR ERESOLVE Unable to Resolve ...
How to Fix npm ERR ERESOLVE Unable to Resolve Dependency Tree React Error in Visual Studio Code. 14K views 5 months ago.
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