Skip to content

Error: TypeError: util.inherits is not a function #1

Description

@pee0803

Hi there, the package is installed successfully, but there is an error when I import this
import { GetOauthGrabApi, GrabOauthRequest, StgAuthEnv } from '@grab/grabfood-api-sdk/api';
into my js file.

The error: Error: TypeError: util.inherits is not a function

Image

node version: v22.11.0
npm version: 11.4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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