Can't build to parent outDir folder with 1.5.4
See original GitHub issueVersions
Angular CLI: 1.5.4
Node: 6.11.2
OS: win32 x64 (Win10)
Angular: 4.4.6
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-webworker
... platform-webworker-dynamic, router, tsc-wrapped
@angular/cdk: 2.0.0-beta.12
@angular/cli: 1.5.4
@angular/material: 2.0.0-beta.12
@angular-devkit/build-optimizer: 0.0.33
@angular-devkit/core: 0.0.21
@angular-devkit/schematics: 0.0.37
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.4
@schematics/angular: 0.1.7
typescript: 2.3.4
webpack: 3.8.1
Repro steps
- Set
apps[0].outDir
as"../dist"
on .angular-cli.json - run
ng b
Observed behavior
Only a error message: An asset cannot be written to a location outside the project.
Desired behavior
Build the project without problem.
Mention any other details that might be useful (optional)
We have tried to add allowOutsideDir
to ours assets configuration on cli config, but doesn’t work. Is this the expected behaviour? I don’t found related information about it in de64b86 or #8122 😦
Issue Analytics
- State:
- Created 6 years ago
- Reactions:30
- Comments:32 (3 by maintainers)
Top Results From Across the Web
tsconfig.json outDir in to parent - typescript
I am trying to migrate my project to use ts. Now I have two folders where I write my js files and I...
Read more >Section J Attachment 2 Performance Work Statement 1 ...
The Contractor shall develop and implement a USAP Information Security. Plan that will be utilized by NSF as the Government's guidance and management...
Read more >Changelog
#10356: Sphinx now uses declarative metadata with pyproject.toml to create packages, using PyPA's flit project as a build backend. Patch by Adam Turner....
Read more >sbt Reference Manual — Combined Pages
To leave sbt shell, type exit or use Ctrl+D (Unix) or Ctrl+Z (Windows). sbt:foo-build> exit. Compile a project. As a convention, we will...
Read more >dev-manual.pdf
This version of the Yocto Project Development Manual is for the 1.5.4 release of ... Build your image if you cannot find a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Same problem here. I can’t believe a major functionality of the CLI, “ng b”, doesn’t work after an update… Downgrade to 1.5.3…
Patching the 1.5.4 with fix in #8630 solve the problem, so just wait for the next release.