Unable to build my project
See original GitHub issueBug Report or Feature Request (mark with an x
)
- [X] bug report -> please search issues before submitting
- [ ] feature request
Versions.
@angular/cli: 1.2.4 node: 6.10.3 os: win32 x64 @angular/animations: 4.3.2 @angular/cdk: 2.0.0-beta.8 @angular/cli: 1.2.4 @angular/common: 4.3.2 @angular/compiler: 4.3.2 @angular/compiler-cli: 4.3.2 @angular/core: 4.3.2 @angular/flex-layout: 2.0.0-beta.8 @angular/forms: 4.3.2 @angular/http: 4.3.2 @angular/material: 2.0.0-beta.8 @angular/platform-browser: 4.3.2 @angular/platform-browser-dynamic: 4.3.2 @angular/router: 4.3.2 @angular/language-service: 4.3.2
Repro steps.
I don’t know how to reproduce it, it may be project related. You can find the project at This repository if you want to try.
It happens when I run npm run build-i18n
, which launches ng build --output-path=dist/en --aot --prod --bh /en/ --i18n-file=src/i18n/messages.en.xlf --i18n-format=xlf --locale=en
(and the french version). I haven’t been able to find an answer online.
The log given by the failure.
Error: ENOENT: no such file or directory, mkdir 'D:\mtrichard\angularApp\dist\en'
at Error (native)
at Object.fs.mkdirSync (fs.js:923:18)
at licensePlugin.write (D:\mtrichard\angularApp\node_modules\license-webpack-plugin\index.js:176:10)
at licensePlugin.<anonymous> (D:\mtrichard\angularApp\node_modules\license-webpack-plugin\index.js:199:12)
at Compiler.applyPlugins (D:\mtrichard\angularApp\node_modules\tapable\lib\Tapable.js:61:14)
at onCompiled (D:\mtrichard\angularApp\node_modules\webpack\lib\Compiler.js:238:12)
at D:\mtrichard\angularApp\node_modules\webpack\lib\Compiler.js:494:13
at next (D:\mtrichard\angularApp\node_modules\tapable\lib\Tapable.js:184:11)
at Compiler.<anonymous> (D:\mtrichard\angularApp\node_modules\webpack\lib\CachePlugin.js:62:5)
at Compiler.applyPluginsAsyncSeries (D:\mtrichard\angularApp\node_modules\tapable\lib\Tapable.js:188:13)
at D:\mtrichard\angularApp\node_modules\webpack\lib\Compiler.js:491:10
at next (D:\mtrichard\angularApp\node_modules\tapable\lib\Tapable.js:184:11)
at Compilation.compilation.plugin (D:\mtrichard\angularApp\node_modules\@angular\cli\plugins\suppress-entry-chunks-webpack-plugin.js:35:17)
at Compilation.applyPluginsAsyncSeries (D:\mtrichard\angularApp\node_modules\tapable\lib\Tapable.js:188:13)
at self.applyPluginsAsync.err (D:\mtrichard\angularApp\node_modules\webpack\lib\Compilation.js:645:19)
at next (D:\mtrichard\angularApp\node_modules\tapable\lib\Tapable.js:184:11)
Desired functionality.
Mention any other details that might be useful.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
As I said, it’s still a problem (wrong error brought to the user + missing
target
tags on generated translation files), so I won’t close this issue, and wait for the angular-cli team to decide if it’s worth to fix this issue.This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.