🌐 AI搜索 & 代理 主页
Skip to content

prettier not working after scaffold #143

@jmarshall9120

Description

@jmarshall9120

After scaffolding a project with create-vue prettier initializes in a broken state:

// prettier console output
["INFO" - 12:37:31 PM] Formatting file:///m%3A/source/bandz-padline-interface-vite/vite.config.js
["ERROR" - 12:37:31 PM] Invalid prettier configuration file detected.
["ERROR" - 12:37:31 PM] ENOENT: no such file or directory, open 'm:\source\bandz-padline-interface-vite\.prettierrc.json'
Error: ENOENT: no such file or directory, open 'm:\source\bandz-padline-interface-vite\.prettierrc.json'
["ERROR" - 12:37:31 PM] Invalid prettier configuration file detected. See log for details.

Maybe the fix here is just scaffold a basic prettierrc.json when creating the project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions