You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Socket CLI for a number of releases has generated the following error and failed to generate a report (seen in all of my Node projects). From the package.json definition, tiny-updater appears to be in devDependencies, not dependencies, but is used in the socket command entrypoint.
$ npm i -g @socketsecurity/[email protected]
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
added 719 packages in 38s
117 packages are looking for funding
run `npm fund`for details
$ socket report create . --view
node:internal/modules/cjs/loader:1252
throw err;
^
Error: Cannot find module 'tiny-updater'
Require stack:
- /usr/local/lib/node_modules/@socketsecurity/cli/dist/module-sync/cli.js
at Function._resolveFilename (node:internal/modules/cjs/loader:1249:15)
at Function._load (node:internal/modules/cjs/loader:1075:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:[21](https://gitlab.com/gitlab-ci-utils/tests/node-cjs-test/-/jobs/8726909343#L21)9:24)
at Module.require (node:internal/modules/cjs/loader:1340:12)
at require (node:internal/modules/helpers:138:16)
at Object.<anonymous> (/usr/local/lib/node_modules/@socketsecurity/cli/dist/module-sync/cli.js:15:37)
at Module._compile (node:internal/modules/cjs/loader:1565:14)
at Object..js (node:internal/modules/cjs/loader:1708:10)
at Module.load (node:internal/modules/cjs/loader:1318:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/usr/local/lib/node_modules/@socketsecurity/cli/dist/module-sync/cli.js'
]
}
Node.js v[22](https://gitlab.com/gitlab-ci-utils/tests/node-cjs-test/-/jobs/8726909343#L22).12.0
The text was updated successfully, but these errors were encountered:
The Socket CLI for a number of releases has generated the following error and failed to generate a report (seen in all of my Node projects). From the
package.json
definition,tiny-updater
appears to be indevDependencies
, notdependencies
, but is used in thesocket
command entrypoint.The text was updated successfully, but these errors were encountered: