Example of the issue:
❯ npx mrm lint-staged
npx: installed 298 in 9.141s
Preset “default” not found.
We’ve tried to load “mrm-preset-default” and “default” npm packages.
Can't run this command and I don't know why!
Example of the issue:
❯ npx mrm lint-staged
npx: installed 298 in 9.141s
Preset “default” not found.
We’ve tried to load “mrm-preset-default” and “default” npm packages.
Can't run this command and I don't know why!
Copyright © 2021 Jogjafile Inc.
The problem is within
mrm
which is currently in version 3 that seems to be incompatible with lint-staged, to fix this you got to specify mrm version 2 by runningnpx mrm@2 lint-staged