0
respostas

node index.js

C:\Users\henrique.marques\Downloads\curso-introducao-blockchain-versao_inicial\curso-introducao-blockchain-versao_inicial\blockchain-api>node index.js internal/modules/cjs/loader.js:905 throw err; ^

Error: Cannot find module 'sawtooth-sdk' Require stack:

  • C:\Users\henrique.marques\Downloads\curso-introducao-blockchain-versao_inicial\curso-introducao-blockchain-versao_inicial\blockchain-api\sawtooth\infra.js
  • C:\Users\henrique.marques\Downloads\curso-introducao-blockchain-versao_inicial\curso-introducao-blockchain-versao_inicial\blockchain-api\sawtooth\client.js
  • C:\Users\henrique.marques\Downloads\curso-introducao-blockchain-versao_inicial\curso-introducao-blockchain-versao_inicial\blockchain-api\index.js at Function.Module.resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module.load (internal/modules/cjs/loader.js:746:27) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:93:18) at Object. (C:\Users\henrique.marques\Downloads\curso-introducao-blockchain-versao_inicial\curso-introducao-blockchain-versao_inicial\blockchain-api\sawtooth\infra.js:2:20) at Module.compile (internal/modules/cjs/loader.js:1085:14) at Object.Module.extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module.load (internal/modules/cjs/loader.js:790:12) at Module.require (internal/modules/cjs/loader.js:974:19) { code: 'MODULENOT_FOUND', requireStack: [ 'C:\Users\henrique.marques\Downloads\curso-introducao-blockchain-versao_inicial\curso-introducao-blockchain-versao_inicial\blockchain-api\sawtooth\infra.js', 'C:\Users\henrique.marques\Downloads\curso-introducao-blockchain-versao_inicial\curso-introducao-blockchain-versao_inicial\blockchain-api\sawtooth\client.js', 'C:\Users\henrique.marques\Downloads\curso-introducao-blockchain-versao_inicial\curso-introducao-blockchain-versao_inicial\blockchain-api\index.js' ]