Skip to content

Build is broken on master #3147

Closed
Closed
@alxndrsn

Description

@alxndrsn

Screenshot_2024-02-19_09-28-37

From latest build (https://github.com/brianc/node-postgres/actions/runs/7852909425/job/21431903558):

TypeError: prettier.resolveConfig.sync is not a function
Occurred while linting /home/runner/work/node-postgres/node-postgres/docs/components/alert.tsx:1
    at Program (/home/runner/work/node-postgres/node-postgres/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js:174:40)
    at /home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/node-event-generator.js:254:26)
    at NodeEventGenerator.applySelectors (/home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/node-event-generator.js:283:22)
    at NodeEventGenerator.enterNode (/home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/node-event-generator.js:297:14)
    at CodePathAnalyzer.enterNode (/home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
    at /home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/linter.js:952:32
    at Array.forEach (<anonymous>)

It looks like the problem was introduced in the prettier update made in 9c3ecdc.

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