Closed nhhockeyplayer closed 1 year ago
plugin fails to generate APP ON NX@16
node node_modules/@nrwl/cli/bin/nx.js generate @schematics/angular:application --name=mobile --viewEncapsulation=Emulated --routing --prefix=app --style=scss --skipTests --strict --standalone --no-interactive --dry-run
app should be generated without error
If applicable, add screenshots to help explain your problem.
NX Report complete - copy this into the issue template
Node : 18.12.1 OS : darwin x64 npm : 8.19.2 Hasher : Native
nx (global) : 16.2.2 nx : 16.2.2 @nx/js : 16.2.2 @nx/jest : 16.2.2 @nx/linter : 16.2.2 @nx/workspace : 16.2.2 @nx/angular : 16.2.2 @nx/cypress : 16.2.2 @nx/devkit : 16.2.2 @nx/eslint-plugin : 16.2.2 @nrwl/tao : 16.2.2 @nx/web : 16.2.2 @nx/webpack : 16.2.2 nx-cloud : 16.0.5 typescript : 5.0.4
work@admin ngmono % node node_modules/@nrwl/cli/bin/nx.js generate @schematics/angular:application --name=mobile --viewEncapsulation=Emulated --routing --prefix=app --style=scss --skipTests --strict --standalone --no-interactive --dry-run node:internal/modules/cjs/loader:998 throw err; ^
Error: Cannot find module '/Users/work/JH/ngmono/node_modules/@nrwl/cli/bin/nx.js' at Module._resolveFilename (node:internal/modules/cjs/loader:995:15) at Module._load (node:internal/modules/cjs/loader:841:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
fixed
yarn add -D @nrwl/cli
Current Behavior
plugin fails to generate APP ON NX@16
How to Reproduce
node node_modules/@nrwl/cli/bin/nx.js generate @schematics/angular:application --name=mobile --viewEncapsulation=Emulated --routing --prefix=app --style=scss --skipTests --strict --standalone --no-interactive --dry-run
Expected Behavior
app should be generated without error
Screenshots
If applicable, add screenshots to help explain your problem.
Node : 18.12.1 OS : darwin x64 npm : 8.19.2 Hasher : Native
nx (global) : 16.2.2 nx : 16.2.2 @nx/js : 16.2.2 @nx/jest : 16.2.2 @nx/linter : 16.2.2 @nx/workspace : 16.2.2 @nx/angular : 16.2.2 @nx/cypress : 16.2.2 @nx/devkit : 16.2.2 @nx/eslint-plugin : 16.2.2 @nrwl/tao : 16.2.2 @nx/web : 16.2.2 @nx/webpack : 16.2.2 nx-cloud : 16.0.5 typescript : 5.0.4
Additional context
work@admin ngmono % node node_modules/@nrwl/cli/bin/nx.js generate @schematics/angular:application --name=mobile --viewEncapsulation=Emulated --routing --prefix=app --style=scss --skipTests --strict --standalone --no-interactive --dry-run node:internal/modules/cjs/loader:998 throw err; ^
Error: Cannot find module '/Users/work/JH/ngmono/node_modules/@nrwl/cli/bin/nx.js' at Module._resolveFilename (node:internal/modules/cjs/loader:995:15) at Module._load (node:internal/modules/cjs/loader:841:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }