** Description changed:

+ [ 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).
+ 
+ [ Test Plan ]
+ 
+ Inside a Focal container:
+ 
+ # apt install npm -y
+ # npm install yarn -g
+ # rm .npm/_logs/*.log
+ # grep get-uid-gid .npm/_logs/*-debug.log 
+ 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://github.com/npm/uid-number/tree/v0.0.6] has a
  get-uid-gid.js file which isn't included in the 0.0.6 versions of this
  package.
  
  This effectively breaks this package as functionality doesn't work
  without that file. Placing the git-uid-gid.js into /usr/lib/nodejs/uid-
  number/get-uid-gid.js seems to fix the issue.

** Changed in: node-uid-number (Ubuntu Focal)
     Assignee: (unassigned) => Sergio Durigan Junior (sergiodj)

** Also affects: node-uid-number (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Changed in: node-uid-number (Ubuntu Groovy)
       Status: New => Confirmed

** Changed in: node-uid-number (Ubuntu Groovy)
     Assignee: (unassigned) => Sergio Durigan Junior (sergiodj)

** Changed in: node-uid-number (Ubuntu Focal)
   Importance: Undecided => High

** Changed in: node-uid-number (Ubuntu Groovy)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877704

Title:
  File get-uid-gid.js is missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/node-uid-number/+bug/1877704/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to