内容へ移動
猫型iPS細胞研究所
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
現在位置:
INDEX
»
react
»
エラー
トレース:
react:エラー
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== エラー ====== [[https://qiita.com/kijibato/items/ca74c6582141f3292240|ひさしぶりにcreate-react-appしたらテンプレートができなかった時の対処法]] <code> >npx create-react-app react-typescript --typescript ↓ A template was not provided. This is likely because you're using an outdated version of create-react-app. Please note that global installs of create-react-app are no longer supported. </code> グローバルのcreate-react-appを削除して、再度npxでcreate-react-appした。 <code> // アンインストール >npm uninstall -g create-react-app up to date in 0.026s // 失敗したディレクトリを削除 >rmdir /s react-typescript // もう一度インストール >npx create-react-app react-typescript --typescript </code> ↓ テンプレートができない。。。。 結局「node」、「nmp」、「nodist」を全てアンインストールし、node,nmpをインストールするとできた。 ※「node」と「npm」のアンインストールは、コンパネからアンインストールし、 <html>%USERPROFILE%\AppData\Roaming\npm</html> <html>%USERPROFILE%\AppData\Roaming\npm-cache</html> を削除する。 ※「nodist」もコンパネからアンインストール。 [[https://qiita.com/akifuyuro/items/d381f3cae832cb2c2d53|【Windows】Node.jsをアンインストールする]]
react/エラー.txt
· 最終更新: 2020/01/01 06:23 by
ips
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ