๋ณธ๋ฌธ์œผ๋กœ ๊ฑด๋„ˆ๋›ฐ๊ธฐ

Netlify node version

์—๋Ÿฌ ์ƒํ™ฉ#

Netlify ๋ฐฐํฌ ๋กœ๊ทธ์—์„œ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

12:27:26 PM: yarn install v1.17.012:27:26 PM: [1/4] Resolving packages...12:27:27 PM: [2/4] Fetching packages...12:27:53 PM: error @docusaurus/core@2.0.0-alpha.72: The engine "node" is incompatible with this module. Expected version ">=12.13.0". Got "10.24.0"

ํŠน์ • ์˜์กด ํŒจํ‚ค์ง€์˜ node ํ˜ธํ™˜์„ฑ์ด 12.13.0 ๋ฒ„์ „ ์ด์ƒ์„ ์š”๊ตฌํ–ˆ๋‹ค.


ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•#

Netify์˜ ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ • ๋ฐฉ๋ฒ•์„ ๋ณด๊ณ  ํ˜„์žฌ Node LTS ๋ฒ„์ „์œผ๋กœ ํ™˜๊ฒฝ๋ณ€์ˆ˜๋ฅผ ์„ค์ •ํ–ˆ๋‹ค.

Build environment variables

2021-03-28-netlify-node-version-image-0

์ด์ œ Deploy logs ์—์„œ v14.16.0 ๋ฒ„์ „์„ ๋‹ค์šด๋ฐ›์•„ ๋ฐฐํฌ ํ™˜๊ฒฝ์œผ๋กœ ์‚ฌ์šฉํ•˜๊ฒŒ ๋˜์—ˆ๋‹ค.

12:37:40 PM: Started restoring cached node version12:37:44 PM: Finished restoring cached node version12:37:45 PM: Downloading and installing node v14.16.0...12:37:45 PM: Downloading https://nodejs.org/dist/v14.16.0/node-v14.16.0-linux-x64.tar.xz...12:37:45 PM: Computing checksum with sha256sum