node-csgorc icon indicating copy to clipboard operation
node-csgorc copied to clipboard

Error

Open Waller1337 opened this issue 5 years ago • 2 comments

Error: Parse error at line 1: unexpected '404' at Parser.ProtoBuf.DotProto.ParserPrototype.parse (C:\Users\YOGU\Downloads\node-csgorc-master\node-csgorc-master\node_modules\protobufjs\dist\protobuf.js:779:35) at Function.ProtoBuf.DotProto.Parser.parse (C:\Users\YOGU\Downloads\node-csgorc-master\node-csgorc-master\node_modules\protobufjs\dist\protobuf.js:797:39) at Object.ProtoBuf.loadProto (C:\Users\YOGO\Downloads\node-csgorc-master\node-csgorc-master\node_modules\protobufjs\dist\protobuf.js:5128:59) at Object.ProtoBuf.loadProtoFile (C:\Users\YOGO\Downloads\node-csgorc-master\node-csgorc-master\node_modules\protobufjs\dist\protobuf.js:5174:52) at Object. (C:\Users\YOGO\Downloads\node-csgorc-master\node-csgorc-master\helpers\protos.js:6:10) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3)

Waller1337 avatar Mar 11 '19 17:03 Waller1337

Get your Protos manually

Jaeger33211 avatar Jun 06 '19 07:06 Jaeger33211

So what exactly I have to do because I get the same error

root@vmi271640:~/workspace/csgo/node-csgorc# npm start

> [email protected] start /root/workspace/csgo/node-csgorc
> node app.js

/root/workspace/csgo/node-csgorc/node_modules/protobufjs/dist/protobuf.js:784
                throw e;
                ^

Error: Parse error at line 1: unexpected '404'
    at Parser.ProtoBuf.DotProto.ParserPrototype.parse (/root/workspace/csgo/node-csgorc/node_modules/protobufjs/dist/protobuf.js:779:35)
    at Function.ProtoBuf.DotProto.Parser.parse (/root/workspace/csgo/node-csgorc/node_modules/protobufjs/dist/protobuf.js:797:39)
    at Object.ProtoBuf.loadProto (/root/workspace/csgo/node-csgorc/node_modules/protobufjs/dist/protobuf.js:5128:59)
    at Object.ProtoBuf.loadProtoFile (/root/workspace/csgo/node-csgorc/node_modules/protobufjs/dist/protobuf.js:5174:52)
    at Object.<anonymous> (/root/workspace/csgo/node-csgorc/helpers/protos.js:6:10)
    at Module._compile (internal/modules/cjs/loader.js:774:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
    at Module.load (internal/modules/cjs/loader.js:641:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)
    at Module.require (internal/modules/cjs/loader.js:681:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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!     /root/.npm/_logs/2019-06-09T22_12_46_933Z-debug.log


rdelian avatar Jun 09 '19 22:06 rdelian