google / google/open-location-code

NextJs + Node Import and returnExportsGlobal Issue

Open
#482 1 comment 1 reaction 0 assignees View on GitHub
js
Dominant language
Java
Stars
4.4k
Forks
530
PR merge metrics
No merged PRs in 30d

Description

Hi,

At first I was struggling to import this library. I used yarn add and tried to import but did not work. Finally I brought down the js source file and import the file using require and it worked.

I then found issue #179 and was able to move past the initial error **Module not found: Can't resolve 'b'**

Then I started getting the below error while using the code in this commit 5a5d944 with modifications from solution in issue #179
![olc-error](https://user-images.githubusercontent.com/4958651/162641291-f36606e7-51c9-4a73-8eeb-af4af5b0046b.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.