Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
loreleim opened this issue Apr 21, 2023 · 4 comments
Open

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

loreleim opened this issue Apr 21, 2023 · 4 comments

Comments

@loreleim
Copy link

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,
      },
@jacobkellas
Copy link

Any updates on this issue? I am also getting the same error.

@loreleim
Copy link
Author

@jacobkellas nope still no resolve. I recently just got through with their support for developerID and service URL codes. Took 3 days, but I got a response! their email is [email protected]. I'm going to send an email there as well. Maybe we can bump the issue if more people send in support requests?

@loreleim
Copy link
Author

Email sent to their team, will update the thread if any response / new info comes through 👍

@jacobkellas
Copy link

@loreleim So I think I've found the issue. This library is for the server-side. I don't believe there is a node package for the front-end, I've ended up importing the js file through a script tag for a vue application.

I'm using this library (really the dotnet one) for our back end. I tokenize the credit card information on the front end with the js file, then send the token to my api and charge the card with this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants