Skip to content

util.isNode / Error: not supported #1221

@jumpinvestor

Description

@jumpinvestor

protobuf.js version: 6.8.8
Ubuntu: 19.04
Node: 12.2.0
Angular: 7.2.15 with server-side rendering enabled

I'm seeing "Error: not supported" popping up in an Angular 7 app on Node 12.2.0. Just upgraded Node from 10.15.3, where it did not have the error.

Screen Shot 2019-05-13 at 3 35 06 PM

After a little digging, it looks like this references /src/root.js:233-234:

Screen Shot 2019-05-13 at 3 50 00 PM

and /src/util/minimal.js:55:

Screen Shot 2019-05-13 at 3 38 05 PM

After commenting out the check in root.js, everything seems to work fine. Is there another solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions