Difference between revisions of "Yarn"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* Website: https://yarnpkg.com/
 
* Website: https://yarnpkg.com/
 
* macOS: <code>[[brew install yarn]]</code>
 
* macOS: <code>[[brew install yarn]]</code>
* Linux: <code>[[apt install npm]] && [[npm install --global yarn]]</code>
+
* Linux: <code>[[apt install -y npm]] && [[npm install --global yarn]]</code>
  
 
== Basic commands ==
 
== Basic commands ==
Line 12: Line 12:
 
* <code>[[yarn run]]</code>
 
* <code>[[yarn run]]</code>
 
* <code>[[yarn run transpile-watch]]</code>
 
* <code>[[yarn run transpile-watch]]</code>
* <code>[[yarn docker-migrate]]</code>
 
 
* <code>[[yarn up]]</code>
 
* <code>[[yarn up]]</code>
 
* <code>[[yarn test-up]]</code>
 
* <code>[[yarn test-up]]</code>
Line 23: Line 22:
 
* <code>[[yarn start]]</code>
 
* <code>[[yarn start]]</code>
 
* <code>[[yarn config]]</code>
 
* <code>[[yarn config]]</code>
 +
 +
== Errors ==
 +
yarn
 +
[[env]]: [[node]]: No such file or directory
  
 
== Related terms ==
 
== Related terms ==
Line 29: Line 32:
 
* Caching Yarn dependencies
 
* Caching Yarn dependencies
 
* Review https://yarnpkg.com/features/offline-cache
 
* Review https://yarnpkg.com/features/offline-cache
 +
* [[/usr/local/share/.cache/yarn/]]
  
 
== Activities ==
 
== Activities ==
Line 34: Line 38:
  
 
== See also ==
 
== See also ==
 +
* {{yarn run}}
 
* {{yarn}}
 
* {{yarn}}
 
* {{js}}
 
* {{js}}
  
 
[[Category:JavaScript]]
 
[[Category:JavaScript]]

Latest revision as of 08:55, 5 July 2023

Advertising: