Skip to content

Can't resolve '/netsuite/set-timeout-polyfill' #68

@loreleim

Description

@loreleim

Anyone have this issue in 2023?

Can't resolve '../netsuite/set-timeout-polyfill' in '..../globalpayments-api/lib/src'

React Build
node v18
react-scripts 5.0.1 **tried the 4.0.3 fix, but have other npm dependencies in current project that require 5.0.1

Also ran into a multitude of other console errors that were fixed by adding the following to webpack.config.js

      fallback: {
        "stream": require.resolve("stream-browserify"),
        "https": require.resolve("https-browserify"),
        "http": require.resolve("stream-http"),
        "fs": false,
      },

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