インストール中にこのエラーが発生しました
npm install react-navigation
npm WARN [email protected] requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\subba-workstation\Desktop\practise\ecommerceApp\node_modules\fsevents' -> 'C:\Users\subba-workstation\Desktop\practise\ecommerceApp\node_modules\.fsevents.DELETE'
npm ERR! code ENOENT
npm ERR! path C:\Users\subba-workstation\Desktop\practise\ecommerceApp\node_modules\hoist-non-react-statics
npm ERR! dest C:\Users\subba-workstation\Desktop\practise\ecommerceApp\node_modules\.hoist-non-react-statics.DELETE
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\subba-workstation\Desktop\practise\ecommerceApp\node_modules\hoist-non-react-statics' -> 'C:\Users\subba-workstation\Desktop\practise\ecommerceApp\node_modules\.hoist-non-react-statics.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\subba-workstation\AppData\Roaming\npm-cache\_logs\2020-09-14T13_22_46_720Z-debug.log
プロジェクトコンソールのYarnコマンドを使用してそれらをインストールしてみてください。
yarn add @react-navigation/native
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加