Difference between revisions of "Yarn install"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* <code>[[yarn install --frozen-lockfile]]</code> | * <code>[[yarn install --frozen-lockfile]]</code> | ||
+ | |||
+ | == Example == | ||
+ | <pre> | ||
+ | yarn install | ||
+ | yarn install v1.22.17 | ||
+ | warning package.json: No license field | ||
+ | info No lockfile found. | ||
+ | warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. | ||
+ | warning No license field | ||
+ | [1/4] 🔍 Resolving packages... | ||
+ | warning detox > tempfile > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. | ||
+ | [2/4] 🚚 Fetching packages... | ||
+ | [3/4] 🔗 Linking dependencies... | ||
+ | warning " > [email protected]" has unmet peer dependency "[email protected] - 26.4.x || >=26.5.2". | ||
+ | warning " > [email protected]" has unmet peer dependency "jest-environment-node@>=25.0.0". | ||
+ | warning " > [email protected]" has unmet peer dependency "mocha@>=6.0.0". | ||
+ | [4/4] 🔨 Building fresh packages... | ||
+ | success Saved lockfile. | ||
+ | ✨ Done in 7.70s. | ||
+ | </pre> | ||
== Errors == | == Errors == |
Revision as of 10:14, 19 January 2022
yarn install
Contents
Example
yarn install yarn install v1.22.17 warning package.json: No license field info No lockfile found. warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. warning No license field [1/4] 🔍 Resolving packages... warning detox > tempfile > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. [2/4] 🚚 Fetching packages... [3/4] 🔗 Linking dependencies... warning " > [email protected]" has unmet peer dependency "[email protected] - 26.4.x || >=26.5.2". warning " > [email protected]" has unmet peer dependency "jest-environment-node@>=25.0.0". warning " > [email protected]" has unmet peer dependency "mocha@>=6.0.0". [4/4] 🔨 Building fresh packages... success Saved lockfile. ✨ Done in 7.70s.
Errors
error An unexpected error occurred: “https://... react-native-rectangle-scanner-1.0.10.tgz: ESOCKETTIMEDOUT”.
Related commands
See also
Advertising: