Hi,
I installed proto-loader, updated webpack/code.
my code:
var ProtoBuf = require('protobufjs');
var protoDefinition = require('.recordSource.proto');
Getting error:
/node_modules/babel-core/node_modules/babylon/lib/parser/location.js:22
var err = new SyntaxError(message);
SyntaxError: /../recordSource.proto: The keyword 'package' is reserved (3:0)
Hi, I installed proto-loader, updated webpack/code.
my code: var ProtoBuf = require('protobufjs'); var protoDefinition = require('.recordSource.proto');
Getting error:
/node_modules/babel-core/node_modules/babylon/lib/parser/location.js:22 var err = new SyntaxError(message);
SyntaxError: /../recordSource.proto: The keyword 'package' is reserved (3:0)
1 | syntax = "proto3"; 2 |
was wondering if you have any suggestions?