Difference between revisions of "Yarn build (example)"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
  [[yarn run]] v1.22.19
 
  [[yarn run]] v1.22.19
<pre>
+
$ next build
+
$ [[next build]]
- info Loaded env from /srv/meld.fi/client/.env
+
- info Loaded env from /srv/meld.fi/client/.env
Attention: Next.js now collects completely anonymous telemetry regarding usage.
+
Attention: [[Next.js]] now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
+
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
+
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program,  
https://nextjs.org/telemetry
+
by visiting the following URL:
 +
https://nextjs.org/telemetry
 +
 +
- info Linting and checking validity of types
 +
- info Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc"
 +
https://nextjs.org/docs/messages/swc-disabled
 +
- info `compiler` options in `next.config.js` will be ignored while using Babel
 +
https://nextjs.org/docs/messages/ignored-compiler-options
 +
- info Using external babel configuration from /srv/meld.fi/client/.babelrc
 +
Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly
 +
recommended. Run 'yarn add sharp', and Next.js will use it automatically for Image Optimization.
 +
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
 +
- info Creating an optimized production build .
 +
 +
  - info Creating an optimized production build ...Killed
 +
[[error Command failed with exit code 137.]]
 +
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  
- info Linting and checking validity of types
 
- info Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc" https://nextjs.org/docs/messages/swc-disabled
 
- info `compiler` options in `next.config.js` will be ignored while using Babel https://nextjs.org/docs/messages/ignored-compiler-options
 
- info Using external babel configuration from /srv/meld.fi/client/.babelrc
 
Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'yarn add sharp', and Next.js will use it automatically for Image Optimization.
 
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
 
- info Creating an optimized production build .
 
 
</pre>
 
  
 
== See also ==
 
== See also ==
 +
* {{yarn build}}
 
* {{yarn}}
 
* {{yarn}}
 +
 +
[[Category:Yarn]]

Latest revision as of 10:44, 30 June 2023

yarn run v1.22.19

$ next build
- info Loaded env from /srv/meld.fi/client/.env
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, 
by visiting the following URL:
https://nextjs.org/telemetry

- info Linting and checking validity of types
- info Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc" 
https://nextjs.org/docs/messages/swc-disabled
- info `compiler` options in `next.config.js` will be ignored while using Babel 
https://nextjs.org/docs/messages/ignored-compiler-options
- info Using external babel configuration from /srv/meld.fi/client/.babelrc
Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly 
recommended. Run 'yarn add sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
- info Creating an optimized production build .

 - info Creating an optimized production build ...Killed
error Command failed with exit code 137.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


See also[edit]

Advertising: