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.

File not found under .ng_pkg_build

See original GitHub issue

Type 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:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
sellmiccommented, Apr 8, 2018

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)

0reactions
github-actions[bot]commented, Jun 19, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

makepkg -s ==> ERROR: PKGBUILD does not exist.
Re: makepkg -s ==> ERROR: PKGBUILD does not exist. You only downloaded one of the source files for the package (the most important...
Read more >
ERROR: PKGBUILD does not exist. [Arch Linux]
The problem is that when downloading PKGBUILD , the browser added an unwanted extension to the file which turned out to be PKGBUILD...
Read more >
PKGBUILD does not exist, makepkg problems : r/archlinux
Not in my case. So I am wondering if there is a way to create a PKGBUILD file for the packages so I...
Read more >
PKGBUILD does not exist · Issue #1179 · Jguer/yay - GitHub
I've cloned the package from the link you gave but there's only pkgbuild in there. I'm assuming I'm supposed to move that to...
Read more >
Using pkgbuild to install multiple files at different locations
I found an alternative, while not the most ideal, it does the job for me. ... You can install various files in different...
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