question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to build my project

See original GitHub issue

Bug 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:closed
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Aug 2, 2017

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.

0reactions
angular-automatic-lock-bot[bot]commented, Jun 3, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to build maven projects from Build > Build Project for ...
I have been facing issues with intellij in that it is completely unable to build/rebuild any maven projects from the IDE. The projects......
Read more >
Eclipse: Unable to build the project - Stack Overflow
Try refreshing the project, clean and rebuild. · Right click on the error, click "Quick Fix" if this is enabled. · Right click...
Read more >
VS2019 can't build any project - Visual Studio Feedback
I have just installed VS2019 Version 16.7.4. I can't compile any c# project (WinForms, WPF and Console application ). There is output :...
Read more >
Unable to build project for localization string extraction
The project can be successfully built and run. But when I export for localization, it shows this error message: Unable to build project...
Read more >
RE: "App inventor is unable to build this project" error, "The ...
Hello there,. Your project has 2+ EKSPERMEN.BackPressed events, and 2+ KEMBALI.Click events. This is not allowed in App Invenotr.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found