Bug: When running npm run format:fix it fails
See original GitHub issueWhen I run npm run format:fix
I get the following error.
$ npm run format:fix
> @machinelabs/client@0.30.2 format:fix machinelabs\client
> npm run format:base -- --write
> @machinelabs/client@0.30.2 format:base machinelabs\client
> npm run prettier -- '{src,e2e}/**/*{.ts,.js,.json,.css,.scss}' "--write"
> @machinelabs/client@0.30.2 prettier machinelabs\client
> prettier --config ../.prettierrc --ignore-path ../.prettierignore "'{src,e2e}/**/*{.ts,.js,.json,.css,.scss}'" "--write"
[error] No matching files. Patterns tried: '{src,e2e}/**/*{.ts,.js,.json,.css,.scss}' !**/node_modules/** !./node_modules/**
npm ERR! code ELIFECYCLE
This is already discussed via gitter with @PascalPrecht. His initial thoughts:
I fear this has to do with the globbing patterns. They are prolly not supported on windows as they use \ instead of /
Is there anything else we should know?
Please execute the following commands in your terminal and post the output here
OS: Windows Node: v9.11.1 Yarn: 1.6.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
npm run The filename, directory name, or volume label syntax ...
When I run the command npm run cypress:open I get the saying. The filename, directory name, or volume label syntax is incorrect.
Read more >Tipser Elements - npm
Start using @tipser/tipser-elements in your project by running `npm i ... npm format-fix, Runs prettier with fix for each package.
Read more >Protect react codebase with Eslint, Prettier, Typescript, Lint ...
"format:fix": "npm run prettier -- --write" ... import/no-unresolved: This error shows up if Eslint could not resolve an import in the file ...
Read more >Let's see how to configure Prettier in Next.js.
To see how to apply Prettier to the Next.js projecct, execute the ... by the Prettier rules, you can see the error message...
Read more >osu-api-v2 - npm Package Health Analysis - Snyk
Ensure you're using the healthiest npm packages ... This does the same thing as running npm run test / npm run test:no-refresh-token but ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I believe it does as it’s in the docs of Prettier, feel free to make the PR and I’ll verify it afterwards.
Thanks if you want me to reproduce things let me know.