"npm ls" ๋ช ๋ น์ ์ฌ์ฉํ ๋ npm, "npm ERR! extraneous" ์ค๋ฅ๊ฐ ๋ง์ด ๋ฐ์ํ์ต๋๋ค. ์์ ํด์ผ ํ๋์ง ๋ชจ๋ฅด๊ฒ ์ต๋๋ค.
npm ์ค๋ฅ! ๊ด๋ จ ์๋: [email protected] D:\react\react-redux-starter-kit\node_modules\inline-style-prefixer
npm ์ค๋ฅ! ์ธ๋ถ: [email protected] D:\react\react-redux-starter-kit\node_modules\isomorphic-fetch
npm ์ค๋ฅ! ๊ด๋ จ ์๋: [email protected] D:\react\react-redux-starter-kit\node_modules\keycode
npm ์ค๋ฅ! ์ธ๋์ด: lodash. [email protected] D:\react\react-redux-starter-kit\node_modules\lodash.merge
npm ์ค๋ฅ! ์ธ๋์ด: lodash. [email protected] D:\react\react-redux-starter-kit\node_modules\lodash.throttle
npm ์ค๋ฅ! ์ธ๋ถ: [email protected] D:\react\react-redux-starter-kit\node_modules\react-event-listener
npm ์ค๋ฅ! ๊ด๋ จ ์๋: [email protected] D:\react\react-redux-starter-kit\node_modules\recompose
npm ์ค๋ฅ! ๊ด๋ จ ์์: [email protected] D:\react\react-redux-starter-kit\node_modules\redux-logger
npm ์ค๋ฅ! ๊ด๋ จ ์์: [email protected] D:\react\react-redux-starter-kit\node_modules\simple-assign
npm ์ค๋ฅ! ์ธ๋ถ: [email protected] D:\react\react-redux-starter-kit\node_modules\whatwg-fetch
์ด๊ฒ์ Redux์ ์๋ฌด ๊ด๋ จ์ด ์์ผ๋ฉฐ ์ด๋ฏธ ๋ค๋ฅธ ๋ฌธ์ ์ ๊ฒ์ํ์ต๋๋ค. ์ค์งํ์ญ์์ค.
_ ์ฌ๊ธฐ๊น์ง ์ฌ ๋ชจ๋ ๋ฏธ๋์ Google ์ง์์ ์ํด... _
์ด ์ค๋ฅ๋ฅผ ๋ฌด์ํ๋ ๊ฒ์ด ์์ ํ ์ ์์ต๋๋ค. ๊ทธ๋ฌ๋ ๋ค์์ ์ฌ์ฉํ์ฌ ๋ถํ์ํ ํจํค์ง๋ฅผ ์ ๋ฆฌํ ์ ์์ต๋๋ค.
$ npm prune
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
_ ์ฌ๊ธฐ๊น์ง ์ฌ ๋ชจ๋ ๋ฏธ๋์ Google ์ง์์ ์ํด... _
์ด ์ค๋ฅ๋ฅผ ๋ฌด์ํ๋ ๊ฒ์ด ์์ ํ ์ ์์ต๋๋ค. ๊ทธ๋ฌ๋ ๋ค์์ ์ฌ์ฉํ์ฌ ๋ถํ์ํ ํจํค์ง๋ฅผ ์ ๋ฆฌํ ์ ์์ต๋๋ค.
$ npm prune