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
Please note that debug logs are useless, as the task succeeds when run directly, or via lerna while nx is false.
In this PR in Taquito, after updating to lint-staged 15.x (this commit: 3b5e372c6d02082667c4934691c4079c36988c83) , the task npm run commit fails with the following errors:
@taquito/utils: > @taquito/utils@17.3.2 precommit
@taquito/utils: > lint-staged
✔ Preparing lint-staged...
@taquito/utils: ❯ Running tasks for staged files...
@taquito/utils: ❯ package.json — 2 files
@taquito/utils: ❯ {src,test}/**/*.ts — 1 file
@taquito/utils: ✔ prettier --write
@taquito/utils: ✔ eslint --fix
@taquito/utils: ◼ Applying modifications from tasks...
@taquito/utils: ◼ Cleaning up temporary files...
@taquito/utils: file:///home/alireza/work/ecad/taquito/node_modules/listr2/dist/index.js:914
@taquito/utils: task.subtasks.some((subtask) => subtask.rendererOptions.collapseSubtasks === false) || // if any of the subtasks has failed
@taquito/utils: ^
@taquito/utils: TypeError: Cannot read properties of undefined (reading 'collapseSubtasks')
@taquito/utils: at file:///home/alireza/work/ecad/taquito/node_modules/listr2/dist/index.js:914:65
@taquito/utils: at Array.some (<anonymous>)
@taquito/utils: at file:///home/alireza/work/ecad/taquito/node_modules/listr2/dist/index.js:914:23
@taquito/utils: at Array.flatMap (<anonymous>)
@taquito/utils: at _DefaultRenderer.renderer (file:///home/alireza/work/ecad/taquito/node_modules/listr2/dist/index.js:810:18)
@taquito/utils: at _DefaultRenderer.create (file:///home/alireza/work/ecad/taquito/node_modules/listr2/dist/index.js:713:30)
@taquito/utils: at _DefaultRenderer.update (file:///home/alireza/work/ecad/taquito/node_modules/listr2/dist/index.js:694:23)
@taquito/utils: at file:///home/alireza/work/ecad/taquito/node_modules/listr2/dist/index.js:686:14
@taquito/utils: at Timeout._onTimeout (file:///home/alireza/work/ecad/taquito/node_modules/listr2/dist/index.js:537:9)
@taquito/utils: at listOnTimeout (node:internal/timers:569:17)
@taquito/utils: Node.js v18.18.1
@taquito/utils: npm ERR! Lifecycle script `precommit` failed with error:
@taquito/utils: npm ERR! Error: command failed
@taquito/utils: npm ERR! in workspace: @taquito/utils@17.3.2
@taquito/utils: npm ERR! at location: /home/alireza/work/ecad/taquito/packages/taquito-utils
Please note that debug logs are useless, as the task succeeds when run directly, or via
lerna
whilenx
isfalse
.In this PR in Taquito, after updating to
lint-staged 15.x
(this commit:3b5e372c6d02082667c4934691c4079c36988c83
) , the tasknpm run commit
fails with the following errors:Project config:
packages/taquito-utils/package.json
:.husky/pre-commit
:package.json
:and finally,
lerna.json
:Please note that if I set
"useNx": false
, everything will be fine.lint-staged
: 15.0.1The text was updated successfully, but these errors were encountered: