νμ¬ νλμ 무μμ λκΉ?
yarn
λ λ μ΄μ μ¬μ©λμ§ μλ new Buffer()
μμ±μλ₯Ό μ¬μ©νκ³ NODE_PENDING_DEPRECATION=1
μ€ννλ©΄ μ§μ μ€λ¨ κ²½κ³ κ° λ°μν©λλ€.
$ ag '\bBuffer\('
src/registries/npm-registry.js
340: const pw = new Buffer(String(password), 'base64').toString();
341: return 'Basic ' + new Buffer(String(username) + ':' + pw).toString('base64');
src/util/fs.js
835:const cr = new Buffer('\r', 'utf8')[0];
836:const lf = new Buffer('\n', 'utf8')[0];
μμλλ λμμ 무μμ λκΉ?
yarn
λ λ μ΄μ μ¬μ©λμ§ μκ±°λ μμ νμ§ μμ Buffer
μμ±μλ₯Ό μ¬μ©ν΄μλ μλ©λλ€. μ§μ μ€λ¨ κ²½κ³ μ λ°λΌ new Buffer()
λ Buffer.alloc()
, Buffer.allocUnsafe()
λλ Buffer.from()
μ€ νλλ‘ λ체λμ΄μΌν©λλ€. safe-buffer
ν¨ν€μ§λ λ λ€λ₯Έ μ΅μ
μ
λλ€.
node.js, yarn λ° μ΄μ 체μ λ²μ μ μΈκΈνμμμ€.
$ node -v
v8.9.4
$ yarn -v
1.5.1
$ uname -a
Linux 4.15.6-300.fc27.x86_64 #1 SMP Mon Feb 26 18:43:03 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
macOSμμ μ΄μ λμΌν κ²½κ³ κ° νμλ©λλ€. # 5704κ° μ΄κ²μ μ€λ³΅μ΄λΌκ³ μκ°ν©λλ€.
μ§κΈμμ΄ λ¬Έμ λ₯Ό ν΄κ²° λ΄κ° λ§λ ~/bin/node
μμ μ€λ μ€ν¬λ¦½νΈ (λΈλ£¨κ° μ€μΉ) /usr/local/bin/node
λ΄μμ $PATH
:
#!/bin/bash
/usr/local/bin/node --no-deprecation "$@"
μ°Έκ³ : λ°©κΈ yarnμ μ’
μμ±μ μ΄ν΄ 보μκ³ μ¬μ ν new Buffer()
νΈμΆνλ λ κ°μ§κ° μμ΅λλ€.
μ°λ¦¬λ κ·Έκ²λ€μ μ λ°μ΄νΈν΄μΌ ν κ²μ λλ€.
@martinstuecklschwaiger μΈμ μμ μ΄ μλ£
@marvinhagemeister v8-compile-cacheλ λ²κ·Έλ₯Ό μμ ν 2.0.0 λ²μ μ λ°©κΈ μΆμνμ΅λλ€. 곧 μ λ²μ μΌλ‘ μ λ°μ΄νΈ ν μ μκΈ°λ₯Ό λ°λλλ€.
@fengerzh @imsnifλ μ΄λ―Έ λ§μ€ν°μ μ λ²μ μ 컀λ°νμ΅λλ€. https://github.com/yarnpkg/yarn/commit/546a1576edbf701021ce65e3dd8daff267083f52 π
μ΄ ν½μ€λ‘ μ λ²μ μ μΈμ μΆμ ν κ³νμ λκΉ? 릴리μ€λ₯Ό μ²λ¦¬νλ λ°©λ²μ λν μ 보λ₯Ό μ°Ύμ μ μμ΅λλ€.
μ΄ λ¬Έμ μ high-priority
λ μ΄λΈμ΄ μ¬μ© λ κ²μ νμΈνμ΅λλ€.μ΄ λ¬Έμ λ μ΅λν 빨리 μμ μ¬νμ νΈμνλ €λ κ²μ μλ―Ένμ§ μμ΅λκΉ? μ΅λν 빨리 κ³ μΉ λΏλ§ μλλΌ.
νΈμ§ : μ΄λ€ μ μΌλ‘λ κ°νκ² λ€λ¦¬κ±°λ μꡬνλ κ²μ μλ―Ένμ§λ μμμ΅λλ€ high-priority
λ¬Έμ μ μ΄λ»κ² μ κ·Όνλμ§ κΆκΈν©λλ€. λ΄κ° λ¬Όμ μ΄μ λ λ΄κ° μμνλ λͺ¨λ μ μ
Έ μΈμ€ν΄μ€μ λν΄ μ΄μ λν κ²½κ³ λ₯Όλ°λ κ²μ΄ μ§μ¦λ κΈ° λλ¬Έμ
λλ€.
μ΄ κ²½κ³ λ λ Έλ v0.9.xμμ v0.10.1λ‘ μ κ·Έλ μ΄λ ν ν νμλκΈ° μμνμ΅λλ€.
@ piotr-cz λΉμ μ v10.1μ μλ―Ένκ³ , 0.10μ κ½€ μ€λλμμ΅λλ€.
κ°μ¬ν©λλ€. v9.xμμ v10.1.0μΌλ‘ μ κ·Έλ μ΄λ ν ν κ²½κ³ κ° νμλκΈ° μμνμ΅λλ€.
μμ¬ 1.6.0μμ μ¬μ νμ΄ κ²½κ³ λ₯Ό λ°κ³ μμ΅λλ€.
yarn install v1.6.0
(node:22339) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security
and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or
Buffer.from() methods instead.
λ΄ node.js, yarn λ° μ΄μ 체μ λ²μ
node -v
v10.1.0
yarn -v
1.6.0
uname -a
Darwin *****.local 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018;
root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64
μ¬κΈ°μ μ§μ μ΄ μμ΅λκΉ? μ°λ¦¬λ νλ‘μ νΈ λ΄μμ ν΄κ²° λ°©λ²μμ΄ λ Έλ 10μ μ¬μ©νκ³ μΆμ΅λλ€ π₯
κ²½κ³ μΌλΏμ λλ€. μ κ·Έκ²μ μ¬μ©νμ§ λͺ»ν©λκΉ?
μ¬κΈ°μμ κ°μ λ¬Έμ κ° λ°μνμ¬ Roots Sage ν λ§κ° μ»΄νμΌλμ§ μκ³ λ°°ν¬λμ§ μμ΅λλ€. https://discourse.roots.io/t/buffer-deprecated-yarn-warning/12525 μ°Έμ‘°
@teohhanhui μ₯κΈ° κ²½κ³ λ λ€λ₯Έ μ μ©ν κ²½κ³ λ₯Ό
κ²½κ³ λ₯Ό μ€λ₯λ‘ μ·¨κΈνκ±°λ μμ νλ κ²κ³Ό κ°μ νμ¬ μ 체 κ·μΉμ κ°μ§κ³ μλ ν¬κ³ λ§€μ° λ²μνλ μννΈμ¨μ΄ / κΈ°ν νμ¬κ° μμ΅λλ€. μμμ μΈκΈ ν μ΄μ λλ¬Έμ λλ€.
μ΄κ²μ μ΄κ²μ΄ μλ²½ν μ‘°μΈμ΄λΌκ³ λ§νλ κ²μ μλμ§λ§, λλ¬Όμ§ μκ³ μ€ν κ°λ₯νκ³ κ°μΉμλ κ²μΌλ‘ μ μ μ¦λμμ΅λλ€.
λͺ¨λ κ²½κ³ λ₯Ό μ€λ₯λ‘ μ²λ¦¬νλ €λ κ²½μ° κ²½κ³ λ₯Ό 무μ / νμ© λͺ©λ‘μ μΆκ° ν λ°©λ²μ΄ μμ΅λκΉ? κ·Έλ¬λ μ΄μ¨λ , λλ λΉμ μ΄ κ·Έκ²μ μ ννλ κ²μ΄ yarn
μ μλͺ»μΈμ§ λͺ¨λ₯΄κ² μ΅λλ€. yarn
λ μμλμ§ μμ΅λλ€.
λ―Έμνμ§λ§ μ¬λλ€μ΄ μ΄μ λκΈμ μ½μ§ μλ κ² κ°μΌλ―λ‘μ΄ λ¬Έμ λ₯Ό μ κ°μΌν©λλ€. μμ½μ λ€μκ³Ό κ°μ΅λλ€.
λ¬Έμ μ μ§μ°μ λν΄ μ 체 Yarn νμ λμ νμ¬ μ¬κ³Όλ립λλ€.
μ λ°μ΄νΈ : μμμ μΈκΈ ν PRμ΄ μ΄μ λ³ν©λμμ΅λλ€. κ°λ₯ν ν 빨리 μ λ²μ μ μΆμ ν μμ μ λλ€.
μμ λ λ²μ 1.7.0μ΄ λ°©κΈ μ μ©λμμ΅λλ€. μν΄ ν΄ μ£Όμ μ κ°μ¬ν©λλ€!
@teohhanhui λ lerna μ€ν λ΄μ λ¨μΌ μ μ₯μμμ μ¬μ© νμΌλ―λ‘ lerna νλ‘μΈμ€μ μμ¬ κ²½κ³ μ’
λ£ (μλ μ¬κΈ°μ lerna μ€μ μ λ κ°κΉμ§λ§ μ²μ κ²½κ³ λ λ¬Έμ λ₯Ό ν΄κ²°ν©λλ€)
@BYK κ°μ¬ν©λλ€ byk efford
@BYK Homebrewμ 1.7.0μμ μ¬μ ν λ²νΌ κ²½κ³ κ° νμλ©λλ€.
$ NODE_OPTIONS=--trace-warnings yarn outdated
yarn outdated v1.7.0
(node:44538) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
at showFlaggedDeprecation (buffer.js:159:11)
at new Buffer (buffer.js:174:3)
at Object.module.exports.module.exports (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:4105:6)
at __webpack_require__ (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:22:30)
at Object.module.exports.module.exports (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:4228:12)
at __webpack_require__ (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:22:30)
at Object.module.exports.module.exports (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:56449:11)
at __webpack_require__ (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:22:30)
at Object.<anonymous> (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:43234:13)
at __webpack_require__ (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:22:30)
@ezzatron μ¬κΈ°λ λ§μ°¬κ°μ§ μ λλ€.
νΈμ λ΄μ κ°κΈ°
μμ‘° μ
λ°μ΄νΈ ν μ²μμΌλ‘ μ€μ μ€ν ν νμ λ§ ββκ²½κ³ κ° λνλλ κ² κ°μ΅λλ€. λ λ²μ§Έ μ€μ μ€ννλ©΄ κ²½κ³ κ° μ¬λΌμ§λλ€.
λ΄ μ»΄ν¨ν°μ νμ¬ μνλ λ€μκ³Ό κ°μ΅λλ€.
yarn -v
1.7.0
node -v
v10.1.0
uname -a
Darwin *****.local 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64
μ¬κΈ° λ΄ ν°λ―Έλ λ‘κ·Έμ λλ€.
$ yarn
yarn install v1.7.0
(node:73733) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[1/4] π Resolving packages...
success Already up-to-date.
β¨ Done in 0.47s.
$ yarn
yarn install v1.7.0
[1/4] π Resolving packages...
success Already up-to-date.
β¨ Done in 0.40s.
μλ
νμΈμ, μ λ μ¬μ ν λ° DeprecationWarning
μν ν λ yarn check
$ yarn check
yarn check v1.7.0
[---------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0/1697(node:84081) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methodsinstead.
yarn upgrade
μ€ννλ©΄ μΌλΆ ν¨ν€μ§λ‘ μΈν΄ upath
μ λν μ’
μμ±μ΄ μκ³ μμ§ λ²μ μ΄ μ€μΉλμ΄μμ κ°λ₯μ±μ΄ μμ΅λλ€.
@rpellerin κ°μ¬νμ§λ§ upath
μ (λ) μ΄λ―Έ μ΅μ λ²μ μ
λλ€
yarn upgrade
νμλ μ¬μ ν λμΌν κ²½κ³ κ° νμλμ§λ§ 1.6 λ²μ κ³Ό κ°μ μκ°μλ νμλμ§ μμ΅λλ€.
λν λͺ κ°μ§ ν
μ€νΈ ν yarn check
μ νλμ§ μμ΅λλ€.
$ yarn
yarn install v1.7.0
[1/4] π Resolving packages...
[2/4] π Fetching packages...
[-----------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0/943(node:7042) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[3/4] π Linking dependencies...
[4/4] π Building fresh packages...
β¨ Done in 24.87s.
λ Έλ v10.1.0 λ° v10.2.0μΌλ‘ ν μ€νΈλμμΌλ©° OSXμ μμΌλ©° brewλ₯Ό μ¬μ©νμ¬ yarnμ μ€μΉν©λλ€ (--without-node param μ¬μ©).
@Justkant NODE_OPTIONS=--trace-warnings yarn
μ€νν μ μμ΅λκΉ? μ΄κ²μ κ²½κ³ λ₯Ό νΈλ¦¬κ±°νλ ν¨ν€μ§λ₯Ό μλ €μ€λλ€.
κ·Έλ° λ€μ yarn why <package>
μ€νν μ μμ΅λλ€. κ·Έμ λ°λΌ νμ νκ² μ΅λλ€.
μ, 1.7.0μΌλ‘ μ
κ·Έλ μ΄λ ν ν ν΄κ²°λμμ΅λλ€.
κ°μ¬ν©λλ€ @BYK
λΏ‘λΏ‘
yarn install v1.7.0
[1/4] π Resolving packages...
[2/4] π Fetching packages...
[----------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0/943(node:8741) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
at showFlaggedDeprecation (buffer.js:159:11)
at new Buffer (buffer.js:174:3)
at Object.<anonymous> (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:68767:20)
at __webpack_require__ (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:22:30)
at Object.module.exports.module.exports (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:129185:17)
at __webpack_require__ (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:22:30)
at Object.module.exports.module.exports.id (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:107036:12)
at __webpack_require__ (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:22:30)
at Object.module.exports.Object.defineProperty.value (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:62287:14)
at __webpack_require__ (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:22:30)
[3/4] π Linking dependencies...
[4/4] π Building fresh packages...
β¨ Done in 30.10s.
κ·Έλ°λ° μ λ΄κ° yarn why <package>
ν κΉμ? κ²½κ³ λ λ΄ λ‘컬 ν¨ν€μ§μ μ°κ²°λμ§ μκ³ μ€ μ체μλ§ μ°κ²°λ©λλ€.
ν¨ν€μ§ λλ¬ΈμΈ μ€ μμλλ°. npmμμ μμ¬λ₯Ό μ¬μ©ν΄ 보μκ² μ΅λκΉ?
npm i -g yarn
npmμμ μ€μ μ¬μ©νλ©΄ μ λλ‘ μλνλ κ² κ°μ΅λλ€.
yarn
μ λμκ² κ²½κ³ λ₯Ό νμνμ§ μμ§λ§ yarn outdated
λ νμν©λλ€.
$ NODE_OPTIONS=--trace-warnings yarn outdated
yarn outdated v1.7.0
(node:28493) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
at showFlaggedDeprecation (buffer.js:159:11)
at new Buffer (buffer.js:174:3)
at Object.module.exports.module.exports (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:4105:6)
at __webpack_require__ (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:22:30)
at Object.module.exports.module.exports (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:4228:12)
at __webpack_require__ (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:22:30)
at Object.module.exports.module.exports (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:56449:11)
at __webpack_require__ (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:22:30)
at Object.<anonymous> (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:43234:13)
at __webpack_require__ (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:22:30)
β¨ Done in 1.10s.
μ£Όμ : μ΄μ λ²νΌ μμ±μκ° μ¬μ ν μ μ CLIμ μ¬μ©λλ κ²μΌλ‘ 보μ
λλ€. yarn global
λͺ
λ Ήμ μ²λ¦¬ ν λ μ¬μ ν μ€λ₯ λ©μμ§κ° λνλ©λλ€. @BYK
Ack! μμΈν λ³΄κ³ μμ κ°μ¬λ립λλ€. μ€λ μ΄κ²μ μ΄ν΄ λ³΄κ² μ΅λλ€.
μ’μ΅λλ€. λ¬Έμ κ°λλ ν¨ν€μ§λ http-signature
νμν sshpk μ΄λ©° request
ν©λλ€. μμ μ λν νλ³΄κ° μμ§λ§ μ¬λμ μ»μ§ λͺ»νλ κ² κ°μ΅λλ€. Joyentμμ μ°λ¦¬λ₯Ό λμΈ μ¬λμ μλ μ¬λμ΄ μμ΅λκΉ?
λ Έλ> 10.0.0 μΈ yarn 1.7.0λΆν° μ¬μ ν λ¬Έμ
yarnκ³Ό ν¨κ» μ 곡λ λ Έλλ₯Ό μ κ±°νκ³ https://nodejs.org/en/ μμ μμ μ μΈ 8.11.2λ₯Ό μ€μΉνμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμ΅λλ€.
yarnκ³Ό ν¨κ» μ 곡λκ³ [μ΄μ λ²μ ]μ μ€μΉ ν λ Έλλ₯Ό μ κ±°νμ¬ λ¬Έμ λ₯Ό μμ νμ΅λλ€.
μμ νμ§ μκΈ° λλ¬Έμ λ μ΄μ μ¬μ©λμ§ μλ λ²μ μΌλ‘ λμκ°λ κ²μ μ€μ λ‘ "μμ "μ΄ μλλλ€.
@mikestepanovκ° μ°κ²°λ λ¬Έμ κ° ν΄κ²° λ κ² κ°μ΅λλ€. λ¬Έμ κ°λλ νμΌμ μ΄μ Buffer.from
.
https://github.com/joyent/node-sshpk/blob/175758a9473523409339e6c519c470c808ca03de/lib/algs.js
μ΄κ²μ http-signature
μ νμ λ²μ λ²μμ μΌμΉνλ 1.14.2λ‘ μΆμ λ κ²μΌλ‘ 보μ
λλ€.
IOW λ¨μν yarnμ lockfileμ μ λ°μ΄νΈνκ³ μ 릴리μ€λ₯Ό μλ₯΄λ©΄μ΄ λ¬Έμ κ° ν΄κ²°λ©λλ€.
λμμ΄ λ μ μΌν κ²μ @plumaκ° λ§ν κ²μ²λΌ
FWIWμ΄ λ²κ·Έλ κ²½κ³ κ° μΈμλλ stderrμ ꡬ문 λΆμνλ €κ³ μλνκΈ° λλ¬Έμ λλ₯Ό μν΄ getstorybook
λ₯Ό κΉ¨λ¨ λ Έμ΅λλ€. storybook-cli
μ΄ (κ°)μ΄ λ¬Έμ λ₯Ό ν΄κ²°νκΈ° μν΄ μ
λ°μ΄νΈλμλμ§ νμ€νμ§ μμ§λ§μ΄ λ¬Έμ λ μΈκ΄μμ λ¬Έμ μ΄μμ
λλ€.
@BYK μ΄ λ²κ·Έμ μν©μ μ μΈκ³ κ°λ°μλ€μκ² λ§€μ° μ¬ν μΌμ λλ€. https://github.com/μ μ μ λλλ‘ λ²ν λ²μ μ ν¨ν€μ§κ° ν¬ν¨ λ κ³ μ λ²μ μ yarn (1.7.1 λλ smth)μ κ²μ ν μ μμ΅λκΉ?
μ΄ μ»€λ° (μ§λ λ¬λΆν°)μμ΄ λ¬Έμ λ₯Ό ν΄κ²°ν΄μΌνλ κ²μ²λΌ 보μ΄μ§λ§ λ
Έλ 10.5.0 λ° yarn 1.9.0-20180621.1511
(μΌκ°)μμ μ¬μ ν μ΄κ²μλ³΄κ³ μμ΅λλ€. @Gurenax μ μν©κ³Ό λ§μ°¬κ°μ§λ‘ κ²½κ³ λ μ²μ μ€ννλ λμμ λ§ λνλ©λλ€ ( node_modules
μμ ν λ€μ yarn
). λ€λ₯Έ μ¬λλ€μκ² λμμ΄ λ μ μλλ‘ μλμ λ΄κ° μ°Ύμ / ν κ²κ³Ό κ΄λ ¨λ λͺ κ°μ§ λ©λͺ¨λ₯Ό ν¬ν¨νμ΅λλ€. νμ¬ μΌκ° λ
립 μ€ν ν JS λΉλμμ new Buffer
νΈμΆμ λ³Ό μ μμΌλ―λ‘ yarn
μ μ’
μμ±μ΄ μ€λλ κ² κ°μ΅λλ€.
mkdir empty-project; cd empty-project; npm init empty-project; yarn
).v1.8
μλ). μ κ²½μ°μλ μ΅μνμ κ²½μ°μλ μΌμ΄λμ§ μμκΈ° λλ¬Έμ λ κΉμ΄ νν€μ³ μΌνμ΅λλ€. λ¨Όμ yarn upgrade
νμ§λ§ λ¬Έμ κ° ν΄κ²°λμ§ μμ κ² κ°μ΅λλ€.--trace-warnings
νμ±ν ν μνμμ μ€ν ν΄λ³΄μμμ€ (μ : rm -rf node_modules/; NODE_OPTIONS=--trace-warnings yarn
.(node:4672) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
at showFlaggedDeprecation (buffer.js:159:11)
at new Buffer (buffer.js:174:3)
at Object.<anonymous> (/usr/share/yarn/lib/cli.js:68827:20)
at __webpack_require__ (/usr/share/yarn/lib/cli.js:22:30)
at Object.module.exports.module.exports (/usr/share/yarn/lib/cli.js:129944:17)
at __webpack_require__ (/usr/share/yarn/lib/cli.js:22:30)
at Object.module.exports.module.exports.id (/usr/share/yarn/lib/cli.js:107711:12)
at __webpack_require__ (/usr/share/yarn/lib/cli.js:22:30)
at Object.module.exports.Object.defineProperty.value (/usr/share/yarn/lib/cli.js:62536:14)
at __webpack_require__ (/usr/share/yarn/lib/cli.js:22:30)
μ΄ μμ μμ λλ μ½κ° λΉν©νμ΅λλ€. /usr/share/yarn/lib/cli.js
68827 μ κ·Όμ²μμ μΏλ³΄κΈ°λ₯Ό μ΄λ©΄ λ€μκ³Ό κ°μ΅λλ€.
/* 285 */
/***/ (function(module, exports, __webpack_require__) {
var stream = __webpack_require__(69)
var eos = __webpack_require__(549)
var inherits = __webpack_require__(59)
var shift = __webpack_require__(741)
var SIGNAL_FLUSH = new Buffer([0])
var onuncork = function(self, fn) {
if (self._corked) self.once('uncork', fn)
else fn()
}
var destroyer = function(self, end) {
return function(err) {
if (err) self.destroy(err.message === 'premature close' ? null : err)
else if (end && !self._ended) self.end()
}
}
μ΄ μ½λμμ μ’ λ λ
νΉνκ² λ³΄μ΄λ λΆλΆμ GitHubμμ κ²μ ν κ²°κ³Ό v3.5.4 μ΄μ μ duplexify
μμ μ¨ κ²μμ μκ²λμμ΅λλ€. λ€μμΌλ‘ yarn why duplexify
νκ³ λ΄ μ’
μμ± μ€ νλκ°μ΄λ₯Ό μ¬μ©νκ³ μμμ λ°κ²¬νμ΅λλ€. κ·Έλ¬λ v3.6.0μ μ¬μ©νκ³ μμκΈ° λλ¬Έμ μλ¬΄λ° λ¬Έμ κ° μμ κ²μ
λλ€. λΉ / μ΅μ νλ‘μ νΈμ ν΄λΉ ν¨ν€μ§ / λ²μ μ μΆκ°νκ³ yarn
λ€μ μ€ν ν΄ λ³΄μμ΅λλ€. μ€μ λ‘ μ μλνμ΅λλ€. κ²½κ³ κ° μμ΅λλ€. λν μΆμ μ yarn
μ κ΄λ ¨λ μΉν© μ€ν¬λ¦½νΈκ° νμλλ μ΄μ κ° μ€λͺ
λμ§ μμ΅λλ€.
λ΄κ° μ΄λ»κ²νλμ§ μ λͺ¨λ₯΄κ² μ§λ§, ν λ²μ κ²½κ³ μ λν λ€λ₯Έ μ€μ μ°Ύμκ³ λμΌν webpackμ cli.js νμΌμ κ°λ¦¬ μΌ°μ§ λ§ λ΄λΆ μ½λλ sshpk (# μ΄μ μ # 175758a).
new Buffer
κ° yarnμ λ
립ν JS nightly build μ μ½λμ νμλλ€λ μ¬μ€μ κΉ¨λ«κ³ λμ€μ yarnμ΄ μ
λ°μ΄νΈ λ ν λ©μμ§κ° μ μ λ‘ μ¬λΌμ§κΈ°λ₯Ό λ°λΌλ©° κ²°κ΅ ν¬κΈ°νμ΅λλ€.
@jacobq μ‘°μ¬ν΄ μ£Όμ
μ κ°μ¬ν©λλ€! μ λ μ΄κ²μ λν μ λ¬Έκ°κ° μλλλ€. λ¬Έμ κ·Έλλ‘μ΄ λ¬Έμ λ₯Ό μ νμ΅λλ€.νμ§λ§ μ¬λ¬λΆμ λ°κ²¬μ μ½κ³ λ€μ μ½μ νμ Yarnμ duplexify
μ μ΄μ λ²μ μ΄ ν¬ν¨λμ΄ μλ€λ λ§μ΄ λ€λ¦½λλ€. CLI μ½λμμ? μ νν©λκΉ?
μ¬μ ν μ΄κ²λλ³΄κ³ μμ΅λλ€.
λ°©κΈ https://nodejs.org/μ κ°μ μ΅μ λ²μ μ΄ μ΄λ―Έ 10.5μμ λ°κ²¬νμ΅λλ€ π
ννΈ, μ λλ£λ€κ³Ό μ λμ΄ λ¬Έμ κ° μμ§ μ΄λ € μκΈ° λλ¬Έμ 8.xλ₯Ό μ¬μ©νκ³ μμ΅λλ€. π
10.xμ μλ‘μ΄ κΈ°λ₯μ νμνκ³ μΆμ΅λλ€! π π
@kachkaev μ΄ κ²½κ³ κ° λΉμ μ λ©μΆκ²νμ§ λ§μμμ€! :λ―Έμ:
@mcmire κ·Έκ²μ 보μ΄λ κ·Έ λ°©λ²μ λμκ²μλ€. μ κΈ νμΌμ μλ‘ κ³ μΉλ €λ©΄ yarn upgrade ...
λ₯Ό μ€νν΄μΌνλ€κ³ μκ°ν©λλ€.
@kachkaev 8.xλ μ¬ κ°μκΉμ§ μ¬μ ν @teohhanhuiκ° μΈκΈνλ―μ΄ μ΄κ²μ λ¨μ§ κ²½κ³ μΌ λΏμ΄λ―λ‘ μΆλ ₯μ΄ μΌλΆ μμ© νλ‘κ·Έλ¨ / λ‘μ§κ³Ό λ°μ νκ² μ°κ²°λλ κ²½μ°λ₯Ό μ μΈνκ³ "κΉ¨μ§μ§"μμ΅λλ€.
@jacobq μλνλ €λ©΄ λ Έλ> = 9κ° νμν ν¨ν€μ§κ° μ΄λ―Έ μμ΅λλ€.
μ΄ κ²½κ³ λλ¬Έμ λ Έλ 8λ μ¬μ©νκ³ μμμ§λ§ μ§κΈμ μ€μ μ¬μ©ν λλ§λ€ λ³Ό μλ°μ μλλ° μ λ§ μ€λ§ μ€λ½μ΅λλ€. λμ npmμ μ¬μ©νλ κ²μ λν΄ μκ°νκ² λ§λ€μ§ λ§ μ λ yarnμ λ§μ΄ μ’μνκ³ λ€μ μ ννκ³ μΆμ§ μμ΅λλ€. μ΄ κ²½κ³ λ₯Ό λ§€μΌ λ¬΄μνλ €κ³ νλ κ²μ μ¬ν μΌμ λλ€. π’
μμ§μ΄ λ¬Έμ μ λν ν΄κ²°μ± μ μ°Ύμ μ¬λμ΄ μμ΅λκΉ? μμ¬ λͺ λ Ήμ μ€νν λλ§λ€λ³΄κΈ°κ° λ무 μ§μ¦λ
+1
μμ¬ μ€μΉ v1.7.0
info μ κΈ νμΌμ΄ μμ΅λλ€.
[1/4] ν¨ν€μ§ ν΄κ²° μ€ ...
β (node ββ: 12916) [DEP0005] DeprecationWarning : Buffer ()λ 보μ λ° μ¬μ©μ± λ¬Έμ λ‘ μΈν΄ λ μ΄μ μ¬μ©λμ§ μμ΅λλ€. λμ Buffer.alloc (), Buffer.allocUnsafe () λλ Buffer.from () λ©μλλ₯Ό μ¬μ©νμμμ€.
showFlaggedDeprecation (buffer.js : 159 : 11)
μ λ²νΌ (buffer.js : 174 : 3)
Object.module.exports.module.exports (C : \ Program Files (x86) \ Yarnlib \ cli.js : 4105 : 6)
__webpack_require__ (C : \ Program Files (x86) \ Yarnlib \ cli.js : 22 : 30)
Object.module.exports.module.exports (C : \ Program Files (x86) \ Yarnlib \ cli.js : 4228 : 12)
__webpack_require__ (C : \ Program Files (x86) \ Yarnlib \ cli.js : 22 : 30)
Object.module.exports.module.exports (C : \ Program Files (x86) \ Yarnlib \ cli.js : 56449 : 11)μμ
__webpack_require__ (C : \ Program Files (x86) \ Yarnlib \ cli.js : 22 : 30)
κ°μ²΄μμ.(C : \ Program Files (x86) \ Yarnlib \ cli.js : 43234 : 13)
λλ λν λ΄ OSXμμ μ΄κ²μΌλ‘ κ³ ν΅ λ°κ³ μμμ§λ§ :
yarn global add yarn
ν릴 κ² κ°μλλ° ... ν λΈλ£¨ λ²μ μ΄ μ μ§ κΉ¨ μ‘λ ... π€
@carddamom μ λ§ λ¬Έμ κ° ν΄κ²° λμμ΅λκΉ? μλλ©΄ μ΄λ―Έ ν λ² μ€ννκΈ° λλ¬Έμ λ¬Έμ κ° μ¬λΌ μ‘μ΅λκΉ? (μ λ μ¬μ ν 7/6 λ°€μ new Buffer
μ΄ 134 λ² λνλλ κ²μ λ΄
λλ€.) κΆκΈν©λλ€. node_modules
λ₯Ό μμ νκ³ yarn
λ€μ μ€ννλ©΄ κ²½κ³ κ° λ€μ νμλ©λκΉ?
μ΄κ²μ λ μκ²λμ΄ λ¬Έμ λ₯Ό ν΄κ²°νμ΅λλ€.
Homebrewμ ν¨κ» μ€μΉλ μμ¬λ₯Ό μ κ±°νκ³ npmμΌλ‘ μ μ μ μΌλ‘ λ€μ μ€μΉνμ΅λλ€. λ μ΄μμ΄ λ¬Έμ λ₯Ό λ³΄μ§ λͺ»νκ³ λ€λ₯Έ gyp κ΄λ ¨ μ€λ₯λ μ¬λΌμ‘μ΅λλ€.
νλΈλ₯ λ²μ μ΄ μ μ§ κΉ¨ μ‘λμ§ κΆκΈνλ€μ ... π€
μ΄μ Homebrewλ₯Ό νμ€ν κ°λ¦¬ν¬ κ²μ λλ€.
@jacobq λ΄κ° "yarn global"μ μ¬μ©νκ³ μμκΈ° λλ¬Έμ μ κ±° ν node_modulesκ° μμμ΅λλ€.
tar.gz 릴리μ€μ Homebrew (tar.gz λ¦΄λ¦¬μ€ λ§ μ€μΉ)μμ κ²½κ³ λ§ νμλλ μ΄μ λ new Buffer
λ₯Ό νΈμΆ ν λͺ¨λμ΄ node_modules
λλ ν 리.
λ°λΌμ homebrewλ₯Ό ν΅ν΄ μ€μΉν λ yarn μ€ν νμΌμ λ€μ μμΉμ μμ΅λλ€.
/usr/local/bin/yarn
κ·Έλ¬λ npmμ ν΅ν΄ μ€μΉν λ λ€μκ³Ό κ°μ κ²½λ‘μμμ κ²μ λλ€ (μ¬κΈ°μλ nvmμ μ¬μ©νκ³ μμ΅λλ€).
~/.nvm/versions/node/v10.6.0/lib/node_modules/yarn/bin/yarn
μ½λλ μ νν λμΌνμ§λ§ npmμ΄ node_modules
ν¬ν¨νλ λλ ν 리μ μ€μΉνκΈ° λλ¬Έμ νμ¬ κ²½κ³ λ₯Ό νμνμ§ μλλ€λ μ λ§ λ€λ¦
λλ€.
μ°Έμ‘°λ₯Ό μν΄ λ€μ΄ν°λΈ λ²νΌ λͺ¨λ λ΄λΆ isInsideNodeModules λ₯Ό μ°Έμ‘°νμΈμ.
lib/cli.js
μ¬μ ν new Buffer
λν λ§μ νΈμΆμ΄ ν¬ν¨λμ΄ μμ΅λλ€. κ·Έκ²μ λͺ¨λ νλμ ν° μΉν© λ²λ€μ΄λ―λ‘ μ΄λ€ λΌμ΄λΈλ¬λ¦¬μμ μλμ§ λͺ¨λ₯΄κ² μ§λ§ μμ μ£Όμμ ν¨ν€μ§λ₯Ό μλ³ ν κ² κ°μ΅λλ€.
μ, Debian / Ubuntu μ μ₯μ λ²μ (μλ§ μμ λμ΄λ μ΄μ λλ¬ΈμΌ μ μμ)μμ μ¬μ ν λ°μνκ³ μμμ νμΈνλ κ²λ§μΌλ‘λ Homebrewμλ§ κ΅νλ κ²μ μλλλ€.
λ€μν μ’
μμ±μμ new Buffer
μ¬μ©μ μ
λ°μ΄νΈνλ λ° μκ°μ΄ 걸리면 μ§κΈμ νΉμ κ²½κ³ λ₯Ό 침묡μν¬ λ°©λ²μ μ°Ύλ κ²μ΄ μ’μ΅λλ€. λ΄ μμ, μΆκ° --no-deprecation
μ μ μ ν μ₯μμμ νλκ·Έλ₯Ό /usr/bin/yarn
μλνμ§λ§ μ½κ°μ ν΄ν€ λ¬΄κ±°μ΄ μμ λλλ€.
νΈμ§ : NODE_OPTIONS=--no-deprecation yarn
κ°μ μ€μ μ€νν μλ μμ΅λλ€. λλ κ·Έκ²μ λ³μΉμΌλ‘ μ€μ ν κ²μ΄λΌκ³ μκ°ν©λλ€.
@jacobq ... λΉμ μ μ μμ λν΄, λλ λ΄ λκΈμ μ κ±°νκ³ κ·Έμ λκΈ λ§ λ¨κ²Όμ΅λλ€. λ μΆκ°νμ§ μμ κ²μ
λλ€.
...λλ...
μμ ν΄κ²°μ± μΌλ‘ @noinklingμ΄ μ μν λ³μΉμ μ¬μ©νκ³ μμ΅λλ€.
fish
:
function yarn
env NODE_OPTIONS=--no-deprecation yarn $argv
end
μ΄κ²μ 2f4bba1 (?)μ ν¬ν¨νλ 1.9.2 rcμμ μ¬μ ν λ°μν©λλ€.
yarn install v1.9.2
[1/5] π Validating package.json...
[2/5] π Resolving packages...
[3/5] π Fetching packages...
[----------------------------------------------------------------------] 0/1820
(node:1936) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[4/5] π Linking dependencies...
λ Έλ 10.6, macOS 10.13.6 μ¬μ©.
@vieira μ, μ¬κΈ° λ΄ μ견μ μ°Έμ‘°νμμμ€. (μΌλΆλ PRμ κΈ°λ€λ¦¬κ³ μμΌλ―λ‘ κ·Έλ¬ν λ Έλ ₯μ κΈ°μ¬νκ±°λ μ μ΄λ +1 λ°μμ μ 곡νμ¬ λμμ μ€ μ μμ΅λλ€).
κ°μ λ¬Έμ κ°
λ
Έλ v10.7.0, μ€ 1.9.2
node:67668) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=4 <=9".
@bogdansoare λ νλ‘μ νΈμμ νΈνλμ§ μλ λͺ¨λμ μ¬μ©νκ³ μλ κ² κ°μ΅λλ€. yarn why upath
λ₯Ό μλν λ€μ μ€λ₯λ₯Ό μ κ±°νκΈ° μν΄ κ°μ Έ μ€λ λΆλΆμ μ κ±° / μ
λ°μ΄νΈνμμμ€.
PS + 1 / λλ λκΈμ μΌλ°μ μΌλ‘ λμ΄μ μ°νΈλ¦½λλ€. λμ λ°μ λ²νΌμ μ¬μ©νμΈμ.
@jacobq μ΄ GitHub λ¬Έμ λ μ’ κ²°λμμ§λ§ μ΅μ 1.9.2 릴리μ€μμ μ¬μ ν λ¬Έμ κ° λνλ©λλ€. μ΄ λ¬Έμ κ° λ€μ΄ μ€νΈλ¦Ό μ’ μμ±μΌλ‘ μΈν΄ λ°μνλ€λ κ²μ μκ³ μμ§λ§ Yarn νμ΄μ΄ λ¬Έμ κ° ν΄κ²°λμλ€κ³ μκ°νλμ§ μ¬λΆλ λͺ ννμ§ μμ΅λλ€. μ΄ λ¬Έμ λ₯Ό ν΄κ²°ν΄μΌν©λκΉ? μλλ©΄ ν΄κ²°μ± μ΄ κ²½κ³ λ₯Ό λΉνμ±ννλ κ²μ΄κΈ° λλ¬Έμ λ«ν μμ΅λκΉ? μ°λ¦¬ νμ λ§₯λ½μμ 보μ κ²½κ³ λ₯Ό λΉνμ±ννλ κ²μ μ©λ© λ μ μκΈ° λλ¬Έμ κ²½κ³ λ₯Ό μ΅μ νλ κ²μ λμ μ°λ¦¬ νμ λν ν΄κ²°μ± μ΄ μλλλ€.
@corshamax μ΄ νΉμ λ¬Έμ λ λ¬Έμ κ°μλ ꡬ쑰μ μ¬μ©μ μ€μ§νλλ‘ μ½λλ₯Ό μ λ°μ΄νΈνκΈ° λλ¬Έμ ν΄κ²°λμμ΅λλ€. μΌλΆ μ’ μμ±μ΄ μ¬μ ν μ¬μ© μ€μ΄κΈ° λλ¬Έμ κ²½κ³ κ° κ³μ νμλμ§λ§, μ΄λ κ΄λ ¨ νλ‘μ νΈμλ³΄κ³ ν΄μΌνλ λ€λ₯Έ λ¬Έμ (μνκΉκ²λ λμΌν κ²°κ³Ό)μ λλ€. κ·Έλ° λ€μ μμ λ 릴리μ€κ° λ§λ€μ΄μ§λ©΄ μν₯μλ°λ μ’ μμ± μ κ·Έλ μ΄λ).
κ·Έλ¦¬κ³ λͺ¨λ κ²μ κ΄ν΄μλ, μ°λ¦¬λ ν 리νμ€νΈλ₯Ό νμν©λλ€. κ·Έλμ λΉμ μ΄ λ¬΄μΈκ°λ₯Ό κ³ μΉ μ μλ€λ κ²μ μκ²λλ€λ©΄, νλλ₯Ό μ΄μ΄μ λ€μ 릴리μ¦λ₯Ό μν΄ κ·Έκ²μ λ³ν© ν κ²μ λλ€. @jacobq λ μ λ°μ΄νΈκ° νμν μμλ μ’ μμ±μ λμ΄νμ¬ λ©μ§ μμ μ μννμ΅λλ€. https://github.com/yarnpkg/yarn/pull/5934#issuecomment -406346724
λ Έλ v10.8.0 λ° yarn v1.9.4μμμ΄ λ¬Έμ κ° λ°μν©λλ€.
https://github.com/yarnpkg/yarn/pull/5934#issuecomment -406346724μ μΈκΈ λ λͺ¨λ PRμ΄ λ³ν© λ κ² κ°μ΅λλ€. κ³§μ΄ λ¬Έμ λ₯Ό ν΄κ²°ν μ μκΈ°λ₯Ό λ°λλλ€.
@vrobinson μ, https://github.com/yarnpkg/yarn/pull/6208μ μν΄ μμ λμ΄μΌν©λλ€. λ
립ν JS μμ new Buffer
νκ³ λ체μλ§ λνλλμ§ κ΄μ°°νλ©΄ νμΈν μ μμ΅λλ€. λ° μ견. μΈλ΄μ¬μ κ°μ§κ³ : smile_cat :
μ λ°μ΄νΈ : λ°©κΈ μ°©λ₯ ν κ² κ°μ΅λλ€ : tada : κ·Έλ¬λ λ€μλ λ°€μ μ§μΌλ³΄μΈμ. μ΄ μΌμ λμ μ£Όμ λͺ¨λ λΆλ€κ» : bowing_man : κ°μ¬ν©λλ€ : pray :!
μ΄ μ€λ₯κ° λ°μνμ΅λλ€. ν΄κ²° λμμ΅λκΉ?
@ rof20004 : point_up : (λκΈ λ°λ‘ μ) . PRμ΄ λ³ν©λμμΌλ―λ‘ μ΄μ μμ€ μ½λμ master
λΆκΈ°μμ "κ³ μ "λ©λλ€. κ·Έλ¬λ (1) μ λ²μ μ΄ μΆμλκ³ (2) ν΄λΉ λ²μ μΌλ‘ μ
κ·Έλ μ΄λ ν λκΉμ§ λ
Έλ 10μμμ΄ κ²½κ³ κ° κ³μ νμλ©λλ€.
@jacobq λ°λΉμ ν¨ν€μ§λ₯Ό μ¬μ©νκ³ μμ΅λλ€. μ ν¨ν€μ§κ° λμ¬ λκΉμ§ κΈ°λ€λ¦° λ€μ '-'λ₯Ό κΈ°λ€λ €μΌν©λλ€.
κ°μ¬ :)
@ rof20004 μνλ κ²½μ° λ΄μΌ μ¬μ©ν μ μμ΄μΌν©λλ€. apt
κ° μΌκ°μ κ°λ¦¬ν€λ μ§ νμΈνμμμ€.
https://yarnpkg.com/en/docs/install#debian -nightly
@jacobq κ·Έλμ μ°λ¦¬λμ΄ λ§μ§λ§ λ¬Έμ κ° [email protected]λ‘ λ§μΉ¨λ΄ ν λ² ν΄κ²°λλ κ²μ λ³Ό κ²μ λλ€. λ§μ΅λκΉ?
μλ§λ 1.10κ³Ό κ°μ ν¨μΉ 릴리μ€κ° μλ κ²μ λλ€.
λλ κ°μ λ¬Έμ λ₯Ό κ°μ§κ³ μλ€.
$ yarn install
node:39) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
error An unexpected error occurred: "https://registry.yarnpkg.com/axios/-/axios-0.18.0.tgz: getaddrinfo EADDRNOTAVAIL registry.yarnpkg.com registry.yarnpkg.com:443".
info If you think this is a bug, please open a bug report with the information provided in "/app/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
/app $ node -v
v10.10.0
/app $ yarn -v
1.9.4
/app $
λκ΅°κ°κ° ν΄κ²°μ± μ κ°μ§κ³ μμ΅λκΉ?
@ codestart123 μ μ€λ λλ₯Ό μ½μμΌλ©° μΌκ°μ μμ λμμ§λ§ μμ§ μΆμλμ§ μμλ€κ³ λ§νμ΅λλ€.
@ codestart123 μΈκΈνμ μ€λ₯λμ΄ λ¬Έμ λ‘ μΈν κ²μ΄ μλλλ€ (μ§μ μ€λ¨ κ²½κ³ λ 무μν΄λλ©λλ€).
error An unexpected error occurred: "https://registry.yarnpkg.com/axios/-/axios-0.18.0.tgz: getaddrinfo EADDRNOTAVAIL registry.yarnpkg.com registry.yarnpkg.com:443"
EADDRNOTAVAIL
μ λ€νΈμν¬ κ΄λ ¨ μ€λ₯μ
λλ€ (μ€λ₯ : μ£Όμλ₯Ό μ¬μ©ν μ μμ). ping registry.yarnpkg.com
λ₯Ό μ€ννμ¬ μμ€ν
μ΄ μ΄λ¦μ νμΈνκ³ νΈμ€νΈμ μ°κ²°ν μ μλμ§ νμΈνμμμ€.
μμ§ μμ λμμ΅λκΉ?
@ ryanzhu1024 1.10.0μμ μμ λμμΌλ©° λ©°μΉ μ μ μΆμλμμ΅λλ€ π
λ Έλ μ κ·Έλ μ΄λ μ λ²μ μ κΈ°λ€λ¦¬λ μ€μ λλ€.
μ΄ μ±κ°μ κ²½κ³ κ° λ§μΉ¨λ΄ μ¬λΌ μ‘λ€λ κ²μ λ―Ώμ μ μμ΅λλ€. κ°μ¬ν©λλ€ :)
π πΎ νλΌ μμμ π π πΎ
λ΄κ° μ¬κΈ°μ μ΄λ€ μμ΄λμ΄κ° λΉμ·ν λ¬Έμ λ₯Ό κ°μ§κ³ : https://stackoverflow.com/questions/53201124/how-to-find-source-of-a-problem-inside-a-npm-package-node36378-dep0005-dep
@goktugyil λ§ν¬ ν μ§λ¬Έμ yarn
λν μΈκΈμ΄ μμ΅λλ€. yarnμ μ¬μ©νλ κ²½μ° μ΅μ λ²μ (νμ¬ 1.12.3 )μ μ¬μ©νκ³ μλμ§ νμΈνμμμ€. yarn
νμ§ μλ κ²½μ° μ¬κΈ°μ κ΅μ°¨ κ²μνμ§ λ§μμμ€. StackOverflowλ μΌλ°μ μΈ νλ‘κ·Έλλ° μ§λ¬ΈμνκΈ°μ μ’μ κ³³μ΄κ³ https://github.com/nodejs/help λ λ
Έλ μ§λ¬ΈμνκΈ°μ μ’μ κ³³μ
λλ€. https://github.com/yarnpkg/yarn/issues λ μ€κ³Ό κ΄λ ¨λ κΈ°λ₯ μμ² λ° λ¬Έμ λ₯Όμν κ²μ
λλ€ (μΌλ°μ μΈ κ°λ° μ§μ / μ§λ¬Έμ΄ μλ).
@arcanis / @BYK / @imsnif μ΄ μ€λ λλ₯Ό
κ°μ₯ μ μ©ν λκΈ
μ°Έκ³ : λ°©κΈ yarnμ μ’ μμ±μ μ΄ν΄ 보μκ³ μ¬μ ν
new Buffer()
νΈμΆνλ λ κ°μ§κ° μμ΅λλ€.μ°λ¦¬λ κ·Έκ²λ€μ μ λ°μ΄νΈν΄μΌ ν κ²μ λλ€.