twittwer / nx-tools

Workspace for Nx Plugins.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find module 'nx/src/generators/utils/json'

chrisj-skinner opened this issue · comments

Hi,

Have an NX project 13.10.2 with an angular app running storybook

Followed the setup at: https://www.npmjs.com/package/@twittwer/compodoc#generator

Seeing the following error Cannot find module 'nx/src/generators/utils/json' after running npx nx g @twittwer/compodoc:config

See screenshot

Screenshot 2022-08-31 at 21 47 17

The same error appears no matter what I enter as a project name.

Any help, much appreciated.

I already had a look at it - The problem is the older nx version.
I will look into it & asked for some info in the nx slack on how to reference the nrwl/devkit without such issue.

@chrisj-skinner with version 1.8.1 it should work, tested it against nx@latest & nx@13.10.2