Closed docwhat closed 3 years ago
Ditto for npm
:
❯ npm install
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
> textlint-rule-date-weekday-mismatch@1.0.6 prepublish
> npm run --if-present build
> textlint-rule-date-weekday-mismatch@1.0.6 build
> textlint-scripts build
sh: textlint-scripts: command not found
npm ERR! code 127
npm ERR! path /Users/docwhat/src/github.com/github.com/textlint-rule-date-weekday-mismatch.git
npm ERR! command failed
npm ERR! command sh -c npm run --if-present build
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/docwhat/.npm/_logs/2021-09-13T15_23_11_722Z-debug.log
Fm, I can not reproduce it.
$ rm -rf node_modules/
$ yarn install
$ yarn list --pattern "textlint-scripts"
yarn list v1.22.10
└─ textlint-scripts@12.0.2
✨ Done in 0.38s.
$ yarn run build
yarn run v1.22.10
$ textlint-scripts build
Successfully compiled 1 file with Babel (475ms).
✨ Done in 0.85s.
Can you tell me ls node_modules
result?
ls node_modules/
Maybe, yarn install --check-files
will resolve this issue.
📝 This repo uses yarn v1. no need to npm install
Son of a Guinea Pig. I cannot reproduce it now either.
Sorry to waste your time.
On
yarn install
I get an error involvingtextlint-scripts
.