Skip to content

SSR Fails with: Unknown option: '--app' #1

@CybrZr00

Description

@CybrZr00

Hi,

I was doing the exact (almost, not material) same thing independently and came across yours whilst trying to fix the above error.
Unfortunately, it seems you get the same error when using SSR. I don't suppose you know how this can be fixed? Google hasn't been my friend! Here's the error:

An unhandled exception occurred while processing the request.
AggregateException: One or more errors occurred. (The NPM script 'build:ssr' exited without indicating success.
Output was:

[email protected] build:ssr G:\angular-cli-netcore-ngrx-starter-master\angular-cli-netcore-ngrx-starter-master\ClientApp
npm run build -- --app=ssr --output-hashing=media "--watch"
Error output was: Unknown option: '--app')
System.Threading.Tasks.Task.Wait(int millisecondsTimeout, CancellationToken cancellationToken)
InvalidOperationException: The NPM script 'build:ssr' exited without indicating success.
Output was:
[email protected] build:ssr G:\angular-cli-netcore-ngrx-starter-master\angular-cli-netcore-ngrx-starter-master\ClientApp
npm run build -- --app=ssr --output-hashing=media "--watch"
Error output was: Unknown option: '--app'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions