nrwl/nx

Cannot find module @jridgewell\gen-mapping\dist\gen-mapping.umd.js'

BrbNardecchia opened this issue · 0 comments

Current Behavior

I created a new Angular monorepo with the following command: npx create-nx-workspace@latest angular-monorepo --preset=angular-monorepo following angular monorepo nx tutorial https://nx.dev/getting-started/tutorials/angular-monorepo-tutorial. when i try to serve with the following command npx nx serve angular-store i have the following output in console: NX Cannot find module '...\angular-monorepo\node_modules@jridgewell\gen-mapping\dist\gen-mapping.umd.js' when i checked node modules folder the folder for @jridgewell doesn't contain the dist folder.

Expected Behavior

I think that just installing the workspace if i didn't add anything it starts right.

GitHub Repo

No response

Steps to Reproduce

npx create-nx-workspace@latest angular-monorepo --preset=angular-monorepo

✔ Application name · angular-store
✔ Which bundler would you like to use? · esbuild
✔ Default stylesheet format · css
✔ Do you want to enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering)? · No
✔ Test runner to use for end to end (E2E) tests · cypress
✔ Which CI provider would you like to use? · github

❯ cd angular-monorepo
❯npx nx serve angular-store

Nx Report

https://nx.app/runs/KHDxVlBEKf

Failure Logs

Package Manager Version

10.9.2

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response