← All tasks
javascriptnrwl/nx #14531Not a task: not reproduced

Cannot find module '@nrwl/webpack/package.json'

envgap__nrwl__nx-14531

Original GitHub issue ↗Opened 2023-01-21

01 / FAILURE SIGNATURE

As reported upstream

When I get to the "npx nx build admin" or "npx nx serve admin" steps I get an error:
Not a benchmark task.
  • No curated issue-specific recipe or verified environment fix is available.

02 / ENVIRONMENT RECIPE

Base commit
Not freshly verified
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

nrwl/nx #14531 · read the original issue
### Current Behavior

Followed the nx dev tutorial TO THE LETTER :-)



https://nx.dev/react-tutorial



When I get to the "npx nx build admin" or "npx nx serve admin" steps I get an error:



Unable to resolve @nrwl/webpack:webpack

for build



Unable to resolve @nrwl/webpack:dev-server

for serve



I can fix the issue by adding "@nrwl/webpack": "^15.5.2" to devDependencies in package.json (and running npm install)



I assume this is a correct fix? Meanwhile, is the tutorial broken?



Expected tutorial to work without additional steps, unsure if this is a documentation issue, or a bug?

### Expected Behavior

Expected demo / tutorial to work without adding additional dependecies

### Github Repo

_No response_

### Steps to Reproduce

1.

Followed the nx dev tutorial TO THE LETTER :-)



https://nx.dev/react-tutorial

### Nx Report

```shell
Unable to resolve @nrwl/webpack:dev-server



Or



Unable to resolve @nrwl/webpack:webpack
```


### Failure Logs

_No response_

### Additional Information

_No response_
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]

Issue-specific recipe and runtime smoke command require review against the complete issue and repository.

Legacy reproduction is generic install-only; match the actual issue failure before admission.