最近嘗試區塊鏈開發,在win10上安裝了Truffle,安裝成功, 版本是:Node v16.1.0,Truffle v5.3.6。
truffle unit 可以成功創建空專案
但在執行truffle unbox webpack 時,報了如下錯誤:
Unbox failed!
TypeError: Cannot read property 'status' of undefined
at C:\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\lib\utils\unbox.js:41:1
at Generator.throw (<anonymous>)
at rejected (C:\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\lib\utils\unbox.js:6:41)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
找遍全網,好像只有我一個出現這種錯誤,搞了3天,實在是不知道怎么回事,求大神幫忙!
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/283895.html
標籤:區塊鏈技術