You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you provide a more complete test case? Please show us the whole Javascript file and the whole .capnp file, and how you're invoking it on the command line.
It's hard to say what the problem could be without all the info, but here's one possibility: You have to call require("capnp") before you can require a .capnp file.
The following line
var foo = require("./foo.capnp");
throws an Exception/: unexpected Symbol as the first line is the schema ID 0x.....
Am I calling the schema in a wrong way?
Environment Used
node: 6.11.2
The text was updated successfully, but these errors were encountered: