Versions
Angular CLI: 6.0.0
Node: 8.11.1
OS: darwin x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.6.0
@angular-devkit/build-angular 0.6.0
@angular-devkit/build-optimizer 0.6.0
@angular-devkit/core 0.6.0
@angular-devkit/schematics 0.6.0
@angular/cdk 5.2.4
@angular/material 5.2.4
@ngtools/webpack 6.0.0
@schematics/angular 0.6.0
@schematics/update 0.6.0
rxjs 6.1.0
typescript 2.7.2
webpack 4.6.0
Repro steps
- create an angular app with a src of
/src/client
- create a folder
src/server (this is where i could put a node server)
- add this to your
package.json inside of apps, assets.
{
"glob": "**/*.*",
"input": "../server/",
"output": "../",
"allowOutsideOutDir": true
},
{
"glob": "package.json",
"input": "../../",
"output": "../",
"allowOutsideOutDir": true
}
- run
ng update @angular/cli
Observed behavior
▶ng update @angular/cli
Updating karma configuration
Updating configuration
Path "/../" is invalid.
Mention any other details that might be useful (optional)
I removed those allowOutsideOutDir entries and it seems to work. But I think it should work with them.
cc @filipesilva
Versions
Repro steps
/src/clientsrc/server(this is where i could put a node server)package.jsoninside ofapps,assets.ng update @angular/cliObserved behavior
Mention any other details that might be useful (optional)
I removed those
allowOutsideOutDirentries and it seems to work. But I think it should work with them.cc @filipesilva