google-this icon indicating copy to clipboard operation
google-this copied to clipboard

Does this only run on Nodejs

Open tbobker123 opened this issue 2 years ago • 2 comments

Question

I am trying to import the library in a standard JS module but I get the error:

Uncaught TypeError: Failed to resolve module specifier "googlethis". Relative references must start with either "/", "./", or "../".

So I guess I need to run Node server for this to work? I'd like to include this as a pure front end library so I can integrate the functionality into a PHP Codeigniter project.

Other details

No response

Checklist

  • [X] I am running the latest version.
  • [X] I checked the documentation and found no answer.
  • [X] I have searched the existing issues and made sure this is not a duplicate.
  • [X] I have provided sufficient information.

tbobker123 avatar Aug 10 '22 09:08 tbobker123

I think a few packages googlethis depends on may be to blame for this. It'll probably work flawlessly in a browser after #26

LuanRT avatar Aug 12 '22 03:08 LuanRT

If you want any help rewriting this let me know, I would be happy to help you out.

tbobker123 avatar Oct 06 '22 11:10 tbobker123

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 06 '22 02:12 github-actions[bot]