Skip to content

Bundlephobia Error: InstallError #17

Description

@LucaBlackDragon

I'm hitting this error building a TS library:

InstallError: InstallError
    at Object.installPackage (C:\Users\myuser\mylib\node_modules\package-build-stats\build\utils\installation.utils.js:140:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.getPackageStats (C:\Users\myuser\mylib\node_modules\package-build-stats\build\getPackageStats.js:78:5)
    at async Object.calculateBundlephobiaStats (C:\Users\myuser\mylib\node_modules\rollpkg\dist\bundlephobiaStats.js:35:30)
    at async Object.progressEstimator (C:\Users\myuser\mylib\node_modules\progress-estimator\src\logger.js:58:27)
    at async rollpkg (C:\Users\myuser\mylib\node_modules\rollpkg\dist\cli.js:164:13) {
  originalError: 'tail: invalid option -- 1\r\n' +
    "Try `tail --help' for more information.\r\n" +
    'npm ERR! code EINVALIDTAGNAME\n' +
    'npm ERR! Invalid tag name "$(npm": Tags may not have any characters that encodeURIComponent encodes.\n' +
    '\n' +
    'npm ERR! A complete log of this run can be found in:\n' +
    'npm ERR!     C:\\Users\\l.nardi\\scoop\\persist\\nodejs-lts\\cache\\_logs\\2021-12-29T09_37_57_618Z-debug-0.log\n',
  extra: undefined
}

The offending line ("tail: invalid option -- 1") looks to be this one in the package-build-stats library.

What do you think?
Should I open an issue there?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions