File not found under .ng_pkg_build
See original GitHub issueType of Issue
ng-packagr -p ng-package.json command fails with the following error:
Building Angular Package Building entry point ‘service’ Cleaning build directory Rendering Stylesheets Rendering Templates Compiling TypeScript sources through ngc Bundling to FESM15 Bundling to FESM5 Bundling to UMD Minifying UMD bundle
BUILD ERROR ENOENT: no such file or directory, open ‘/.ng_pkg_build/service/out/service.ts’ Error: ENOENT: no such file or directory, open '/.ng_pkg_build/service/out/service.ts’
[ ] Bug Report
[ ] Feature Request
Description
ng-packagr version used is 2.4.1. I even downgraded the version to 2.0.0 and I still see the same error.
ng-packagr was not throwing any such errors as of yesterday. In fact, if i build my projects without doing the latest install of ng-packagr, then it works fine. But as soon as i remove the cached version of ng-packagr from node_modules folder, and do ‘npm install’ and then try to package my projects, I see this error.
Version @Information
$ node_modules/.bin/ng-packagr --version
ng-packagr: 2.4.1
@angular/*: 5.2.1
typescript: 2.4.2
rxjs: 5.5.6
node: 8.9.2
npm: 5.6.0
Please include all version numbers that might be relevant, e.g. third-party libraries
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top GitHub Comments
Yup, this is the same thing as https://github.com/dherges/ng-packagr/issues/752
I put a comment there, but it sounds like uglify-js 3.3.20 breaks ng-packagr (3.3.18 works)
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
This action has been performed automatically by a bot.