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
I created an ink app with npx create-ink-app my-ink-cli . After the setup was done, I cd into the example dir, and ran npm run test . That gave the following error -
> npm run test
> [email protected] test
> prettier --check . && xo && ava
Checking formatting...
All matched files use Prettier code style!
TypeError: Cannot read properties of undefined (reading 'getAllComments')
Occurred while linting /ink-example/test.js:1
Rule: "unicorn/expiring-todo-comments"
at Object.Program (/ink-example/node_modules/eslint/lib/rules/no-warning-comments.js:193:45)
at Program (/ink-example/node_modules/eslint-plugin-unicorn/rules/expiring-todo-comments.js:511:10)
at /ink-example/node_modules/eslint-plugin-unicorn/rules/utils/rule.js:39:18
at ruleErrorHandler (/ink-example/node_modules/eslint/lib/linter/linter.js:1076:28)
at /ink-example/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/ink-example/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/ink-example/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/ink-example/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/ink-example/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
Note : I have truncated the path in error log, it is not actually installed at / .
I expected that the fresh install should be in working condition including tests. Thanks!
The text was updated successfully, but these errors were encountered:
I created an ink app with
npx create-ink-app my-ink-cli
. After the setup was done, Icd
into the example dir, and rannpm run test
. That gave the following error -Note : I have truncated the path in error log, it is not actually installed at
/
.I expected that the fresh install should be in working condition including tests. Thanks!
The text was updated successfully, but these errors were encountered: