Update org, project and token in apps/project.json
npm install
npm run build
This will run a nx build
Expected Result
The application is build and source maps are uploaded to Sentry.
Actual Result
> @sentry-test/source@0.0.0 build
> nx build
> nx run sentry-test:build:production
Application bundle generation failed. [0.144 seconds]
✘ [ERROR] Plugin at index 2 is missing a name
.../angularBuildError/node_modules/@angular-devkit/build-angular/node_modules/esbuild/lib/main.js:1228:12:
1228 │ throw new Error(`Plugin at index ${i} is missing a name`);
╵ ^
at handlePlugins (.../angularBuildError/node_modules/@angular-devkit/build-angular/node_modules/esbuild/lib/main.js:1228:13)
———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
NX Ran target build for project sentry-test (3s)
✖ 1/1 failed
✔ 0/1 succeeded [0 read from cache]
Steps to Reproduce
npm install
npm run build
This will run a
nx build
Expected Result
The application is build and source maps are uploaded to Sentry.
Actual Result
Removing the plugin no longer causes the issue.
Similar to issue #483