herkese merhabalar :)
solidity ile blockchain tabanlı bir uygulama geliştirmek için truffle yüklemeye çalışıyorum
mkdir metacoin
truffle init
truffle compiler
truffle migrate
truffle test test/metacoin.js
truffle migrate'e geldiğimde şöyle bir hata alıyorum
$ truffle migrate
Error: No network specified. Cannot determine current network.
at Object.detect (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\b uild\webpack:\packages\truffle-core\lib\environment.js:31:1)
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\p ackages\truffle-core\lib\commands\migrate.js:91:1
at finished (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\ webpack:\packages\truffle-workflow-compile\index.js:53:1)
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\p ackages\truffle-compile\index.js:314:1
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\p ackages\truffle-compile\profiler.js:158:1
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~ \async\dist\async.js:3888:1
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~ \async\dist\async.js:473:1
at replenish (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build \webpack:\~\async\dist\async.js:1006:1)
at iterateeCallback (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffl e\build\webpack:\~\async\dist\async.js:995:1)
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~ \async\dist\async.js:969:1
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~ \async\dist\async.js:3885:1
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\p ackages\truffle-compile\profiler.js:154:1
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~ \async\dist\async.js:1140:1
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~ \async\dist\async.js:473:1
at iteratorCallback (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffl e\build\webpack:\~\async\dist\async.js:1064:1)
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~ \async\dist\async.js:969:1
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~ \async\dist\async.js:1137:1
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\p ackages\truffle-compile\profiler.js:133:1
at FSReqWrap.oncomplete (fs.js:155:5)
yardımcı olursanız çok sevinirim , iyi günler :)