You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2025. It is now read-only.
#27 を close するために以下を実行したら Markdown がテンプレートのままであった。
yarnからだと #27 の処理が効いて Markdown が themes の定義を反映したものとなる。この現象は以前にも遭遇していて npm のキャッシュを消すなどしてみたが、最終的に
npm cache clear --forceを実行するなどを実行しているうちに直った。しかしエンド ユーザー環境で発生した場合、これらの手順を案内するのは厳しいだろう。なお
npm install create-bookして最新版であることが確認されたものを npm-scripts で{ "scripts": { "start": "create-book sample" }, "dependencies": { "create-book": "latest" } }のように定義して
npm startした場合は当然ながら最新が実行される。npx create-book sampleでも再現するため、おそらく npm のキャッシュに関する問題と予想される。なおnpm create book sampleを実行するたびにと聞かれるのも怪しい。yarn はこの問い合わせもなく即実行となる。私の環境的な問題だと思われるが、厳密に原因を突き止めて防止策を講じるか README などで補足したい。