Don't know / Other
Prior to Nx 15.4.x, the @nrwl/vite package could be used in as an Angular CLI builder without any additional dependencies. In 15.4 the app no longer runs and displays an error
https://stackblitz.com/edit/github-ba5rvt?file=package.json&preset=node
$ ng serve
An unhandled exception occurred: Cannot read properties of undefined (reading 'data')
See "/tmp/ng-rfo1eP/angular-errors.log" for further details.
~/projects/github-ba5rvt 5s
❯ cat /tmp/ng-rfo1eP/angular-errors.log
[error] TypeError: Cannot read properties of undefined (reading 'data')
at readTargetOptions (file:///home/projects/github-ba5rvt/node_modules/@nrwl/devkit/src/executors/read-target-options.js:13:70)
at getBuildTargetOptions (file:///home/projects/github-ba5rvt/node_modules/@nrwl/vite/src/utils/options-utils.js:70:42)
at viteDevServerExecutor (file:///home/projects/github-ba5rvt/node_modules/@nrwl/vite/src/executors/dev-server/dev-server.impl.js:11:80)
at viteDevServerExecutor.next (<anonymous>)
at recurse (file:///home/projects/github-ba5rvt/node_modules/@nrwl/devkit/src/utils/convert-nx-executor.js:55:26)
at eval (file:///home/projects/github-ba5rvt/node_modules/@nrwl/devkit/src/utils/convert-nx-executor.js:72:17)
Running npx nx init
to setup Nx, then running ng serve
works
Owner Name | analogjs |
Repo Name | analog |
Full Name | analogjs/analog |
Language | TypeScript |
Created Date | 2022-07-06 |
Updated Date | 2023-03-28 |
Star Count | 885 |
Watcher Count | 18 |
Fork Count | 67 |
Issue Count | 33 |
Issue Title | Created Date | Updated Date |
---|