Skip to content

Unable to follow minimal template due to error using prettier #407

Description

@sstitle

I followed exactly the steps for setting up the minimal template here: https://std.divnix.com/templates/minimal.html

test-std-project on  main [!+]
❯ git add . && git commit -m "feat: initial commit"
╭──────────────────────────────────────╮
│ 🥊 lefthook v1.5.2  hook: pre-commit │
╰──────────────────────────────────────╯
sync hooks: ✔️ (pre-commit, commit-msg)
┃  treefmt ❯

[WARN ] cache: failed to load the manifest due to: No such file or directory (os error 2)
[INFO ] #nix: 3 files processed in 9.57ms
[WARN ] Error using formatter #prettier:
    • [STDOUT]:

    • [STDERR]:
    [error] Cannot find module '/nix/store/lfjxr7afcn146kfb4lkm79z0c1jndamp-prettier-plugin-toml-1.0.0/lib/node_modules/prettier-plugin-toml/lib/index.js' imported from /home/samtitle/PersonalRepos/test-std-project/noop.js

[ERROR] #prettier's formatter failed: exit status 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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