Skip to content

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

@sstitle

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

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