-
Notifications
You must be signed in to change notification settings - Fork 18
require error #11
Copy link
Copy link
Open
Description
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 |
3 | package MsgPerformance;
| ^
4 | message RecordSource {
was wondering if you have any suggestions?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels