Skip to content

Module.js throws error on trying to load the .capnp file #34

@Pooja71

Description

@Pooja71

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions