File get-uid-gid.js is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
node-uid-number (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Sergio Durigan Junior | ||
Groovy |
Fix Released
|
High
|
Sergio Durigan Junior |
Bug Description
[ Impact ]
The node-uid-number package is pretty much unusable on Focal because it doesn't ship the "get-uid-gid.js" file. Since this package is a dependency of npm, this means that there can be situations when npm will fail to perform a certain task (see Test Plan).
The package is correctly shipping the file mentioned above on Hirsute; that's why the bug is marked as "Fix Released" for it.
[ Test Plan ]
Inside a Focal container:
# apt install npm -y
# npm install yarn -g
# rm .npm/_logs/*.log
# grep get-uid-gid .npm/_logs/
57 verbose stack Error: Cannot find module './get-uid-gid.js'
64 error Cannot find module './get-uid-gid.js'
When testing the fixed package, make sure to delete the logs under .npm/_logs/.
[ Regression Potential ]
The potential for regression is minimal. The only scenario where I can think a "regression" might occur is if the user has manually created the missing file under /usr/lib/node/ and added local modifications to it, which would then conflict with the official file that we will ship with this update. However, this case is not supported by us.
[ Original Description ]
The Git repository [https:/
This effectively breaks this package as functionality doesn't work without that file. Placing the git-uid-gid.js into /usr/lib/
Related branches
- Bryce Harrington (community): Approve
- Canonical Server Core Reviewers: Pending requested
-
Diff: 22 lines (+7/-0)2 files modifieddebian/changelog (+6/-0)
debian/install (+1/-0)
- Bryce Harrington (community): Approve
- Canonical Server Core Reviewers: Pending requested
-
Diff: 22 lines (+7/-0)2 files modifieddebian/changelog (+6/-0)
debian/install (+1/-0)
Changed in node-uid-number (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in node-uid-number (Ubuntu): | |
status: | Confirmed → Fix Released |
description: | updated |
Changed in node-uid-number (Ubuntu Focal): | |
assignee: | nobody → Sergio Durigan Junior (sergiodj) |
Changed in node-uid-number (Ubuntu Groovy): | |
status: | New → Confirmed |
assignee: | nobody → Sergio Durigan Junior (sergiodj) |
Changed in node-uid-number (Ubuntu Focal): | |
importance: | Undecided → High |
Changed in node-uid-number (Ubuntu Groovy): | |
importance: | Undecided → High |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.