Skip to content

Configuration 'proxy.config.json' could not be found in project with cli version 6.0.0-beta.6 #9999

@ymcnicoll

Description

@ymcnicoll

When serving content using ng serve -pc proxy.config.json

I get a error message like the following:

Configuration 'proxy.config.json' could not be found in project.
Error: Configuration 'proxy.config.json' could not be found in project.
at Architect.getTarget (d:\Projects\components\lob\node_modules@angular-devkit\architect\src\architect.js:114:23)
at MergeMapSubscriber.architect.loadWorkspaceFromJson.pipe.operators_1.concatMap [as project] (d:\Projects\components\lob\node_modules@angular\cli\models\architect-command.js:56:45)
at MergeMapSubscriber._tryNext (d:\Projects\components\lob\node_modules\rxjs\operators\mergeMap.js:122:27)
at MergeMapSubscriber._next (d:\Projects\components\lob\node_modules\rxjs\operators\mergeMap.js:112:18)
at MergeMapSubscriber.Subscriber.next (d:\Projects\components\lob\node_modules\rxjs\Subscriber.js:90:18)
at MergeMapSubscriber.notifyNext (d:\Projects\components\lob\node_modules\rxjs\operators\mergeMap.js:145:30)
at InnerSubscriber._next (d:\Projects\components\lob\node_modules\rxjs\InnerSubscriber.js:23:21)
at InnerSubscriber.Subscriber.next (d:\Projects\components\lob\node_modules\rxjs\Subscriber.js:90:18)
at Object.subscribeToResult (d:\Projects\components\lob\node_modules\rxjs\util\subscribeToResult.js:17:25)
at MergeMapSubscriber._innerSub (d:\Projects\components\lob\node_modules\rxjs\operators\mergeMap.js:132:38)

but with version 6.0.0-beta.4 it all works fine.

Versions

6.0.0-beta.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions