์๋
ํ์ธ์, ์ ๋ ์ด ๊ฐ์ด๋ ๋ฅผ ๋ฐ๋ผ Feathers v4๋ก ๋ง์ด๊ทธ๋ ์ด์
ํ์ง๋ง feathers upgrade
๋ช
๋ น์ด ์คํจํ๊ณ AssertionError [ERR_ASSERTION]: ์ฌ๋ฌ ํ์ผ์ ๋ณต์ฌํ ๋ ๋๋ ํฐ๋ฆฌ๋ฅผ ๋์์ผ๋ก ์ ๊ณตํ์ญ์์ค . ์๋๋ ์ค๋ฅ์ ์ ์ฒด ํ์์
๋๋ค.
$ ๊นํธ ์
๊ทธ๋ ์ด๋
์ด๋ฒคํธ.js:173
๋์ง๋ค; // ์ฒ๋ฆฌ๋์ง ์์ '์ค๋ฅ' ์ด๋ฒคํธ
^^
AssertionError [ERR_ASSERTION]: ์ฌ๋ฌ ํ์ผ์ ๋ณต์ฌํ ๋ ๋๋ ํฐ๋ฆฌ๋ฅผ ๋์์ผ๋ก ์ ๊ณตํ์ญ์์ค.
EditionInterface.exports.copy์์ (C:\Usersusername\AppData\Roaming\npm\node_modules\@feathersjs\cli\node_modules\mem-fs-editor\lib\actions\copy.js:36:5)
UpgradeGenerator.writing์์ (C:\Usersusername\AppData\Roaming\npm\node_modules\@feathersjs\cli\node_modules\generator-feathers\generators\upgrade\index.js:54:13)
๊ฐ์ฒด์์.
C:\Usersusername\AppData\Roaming\npm\node_modules\@feathersjs\cli\node_modules\run-async\index.js:25:25
์๋ก์ด ์ฝ์์์ (
C:\Usersusername\AppData\Roaming\npm\node_modules\@feathersjs\cli\node_modules\run-async\index.js:24:19
self.env.runLoop.add.completed์์ (C:\Usersusername\AppData\Roaming\npm\node_modules\@feathersjs\cli\node_modules\yeoman-generator\lib\index.js:428:13)
ํ๋ก์ธ์ค ์ฆ์(timers.js:637:19)
๋ค์ ์์น์์ '์ค๋ฅ' ์ด๋ฒคํธ ๋ฐ์:
Immediate.setImmediate์์ (C:\Usersusername\AppData\Roaming\npm\node_modules\@feathersjs\cli\node_modules\yeoman-generator\lib\index.js:436:22)
ํ๋ก์ธ์ค ์ฆ์(timers.js:637:19)
Windows 10์ ์ฌ์ฉ ์ค์ด๋ฉฐ Cygwin๊ณผ CMD ๋ชจ๋ ์์ ๋ช ๋ น์ ์คํํ ์ ์์ต๋๋ค. NodeJS ๋ฒ์ ์ v11.10.0์ด๊ณ NPM์ 6.9.0์ ๋๋ค.
์๋ดํด ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค. ๊ฐ๋ฅํ ์์ ์ฌํญ์ ์ฌ๊ธฐ์ ๊ธฐ ๊ฒ์ํ์ง๋ง ๋ต์ ์ฐพ์ ์ ์์์ต๋๋ค.
WSL๊ณผ ํจ๊ป Win 10์ ์คํํ๋ ๊ฒ๊ณผ ๋์ผํ ๋ฌธ์ ๊ฐ ์์ต๋๋ค. ๋ ธ๋ ๋ฒ์ ์ 12.2.0 ๋ฐ npm 6.9.0์ ๋๋ค.
๋ฆฌ๋ ์ค์์๋ ๋ง์ฐฌ๊ฐ์ง์ ๋๋ค.
node: v8.10.0
feathers: @feathersjs/[email protected]
@feathersjs/[email protected]
์์ ์์ ํด์ผ ํฉ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
@feathersjs/[email protected]
์์ ์์ ํด์ผ ํฉ๋๋ค.