關於package引用

與npm打交道

在各種地方出現的引用呼叫

const streamifier = require('streamifier');

如果沒有機器中沒有安裝過對應package會出現「Connot find module 'xxx'」的錯誤

可用npm命令執行安裝

package的安裝命令可以在npm的頁面找到

Last updated

Was this helpful?