Closed vishwakt closed 6 years ago
ubuntu@ip-172-31-2-135:~/nth-caller-game$ npm start
> nthcaller@0.1.0 start /home/ubuntu/nth-caller-game
> node server.js
/home/ubuntu/nth-caller-game/node_modules/protobufjs/dist/protobuf.js:4720
throw Error("failed to import '"+importFilename+"' in '"+filename+"': file not found");
^
Error: failed to import '/home/ubuntu/nth-caller-game/node_modules/rchain-api/protobuf/google/protobuf/empty.proto' in '/home/ubuntu/nth-caller-game/node_modules/rchain-api/protobuf/CasperMessage.proto': file not found
at Builder.ProtoBuf.Builder.BuilderPrototype.import (/home/ubuntu/nth-caller-game/node_modules/protobufjs/dist/protobuf.js:4720:35)
at Object.ProtoBuf.loadJson (/home/ubuntu/nth-caller-game/node_modules/protobufjs/dist/protobuf.js:5225:26)
at Object.ProtoBuf.loadProto (/home/ubuntu/nth-caller-game/node_modules/protobufjs/dist/protobuf.js:5128:25)
at Object.ProtoBuf.loadProtoFile (/home/ubuntu/nth-caller-game/node_modules/protobufjs/dist/protobuf.js:5174:52)
at Object.load (/home/ubuntu/nth-caller-game/node_modules/grpc/index.js:136:26)
at Object.deprecated [as load] (internal/util.js:47:15)
at RNode (/home/ubuntu/nth-caller-game/node_modules/rchain-api/rnodeAPI.js:40:22)
at Object.<anonymous> (/home/ubuntu/nth-caller-game/server.js:14:14)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nthcaller@0.1.0 start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nthcaller@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2018-09-04T10_03_57_811Z-debug.log
This is likely caused by an RChain-API version issue. This dapp works with RChain-API as of commit 539b710c308b26c097984865e8df33b9e6258db0
I believe this is fixed as of 78ded442318789bbbba1c7f7649bfc65843a9381
@vishwakt Can you clear out your working directory and confirm whether everything is working correctly?