Skip to content

Instantly share code, notes, and snippets.

@darkwing
Created January 28, 2025 20:18
Show Gist options
  • Save darkwing/7e6198f0e5d29cc7fb8e29f1edc8d61e to your computer and use it in GitHub Desktop.
Save darkwing/7e6198f0e5d29cc7fb8e29f1edc8d61e to your computer and use it in GitHub Desktop.
$ /Users/davidwalsh/Projects/portfolio/node_modules/.bin/allow-scripts
running lifecycle scripts for event "preinstall"
running lifecycle scripts for event "install"
- @sentry/webpack-plugin>@sentry/cli
- husky
running lifecycle scripts for event "postinstall"
- $root$
Error: command failed
at ChildProcess.<anonymous> (/Users/davidwalsh/Projects/portfolio/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:339:12) {
cmd: 'sh',
args: [ '-c', "yarn typewriter --debug && echo 'success'" ],
code: 1,
signal: null,
stdout: 'info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.',
stderr: `error TypeError: Cannot create property '-consensys-jfrog-io-artifactory-api-npm-npm-' on string '{"-consensys-jfrog-io-artifactory-api-npm-npm-":true}'\n` +
' at set (/Users/davidwalsh/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js:53953:28)\n' +
' at set (/Users/davidwalsh/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js:53967:14)\n' +
' at set (/Users/davidwalsh/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js:53947:16)\n' +
' at objectPath.set (/Users/davidwalsh/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js:54000:14)\n' +
' at NpmRegistry.mergeEnv (/Users/davidwalsh/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js:92680:18)\n' +
' at NpmRegistry.<anonymous> (/Users/davidwalsh/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js:31952:12)\n' +
' at Generator.next (<anonymous>)\n' +
' at step (/Users/davidwalsh/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js:310:30)\n' +
' at /Users/davidwalsh/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js:328:14\n' +
' at new Promise (<anonymous>)',
event: 'postinstall',
script: "yarn typewriter --debug && echo 'success'",
pkgid: '[email protected]',
path: '/Users/davidwalsh/Projects/portfolio'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment