google / google/open-location-code
NextJs + Node Import and returnExportsGlobal Issue
- Lingua principale
- Java
- Stelle
- 4.4k
- Fork
- 530
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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

Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Esamina il commit 5a5d944 e la soluzione alternativa descritta nell’issue #179, quindi riproduci l’importazione in Next.js con Node. Confronta gli errori risultanti «Module not found» e «returnExportsGlobal» con lo screenshot allegato. Il lavoro è completato quando il package può essere importato tramite il normale flusso di installazione senza scaricare manualmente il relativo codice sorgente JavaScript.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, nextjs, nodejs
- Ambito
- developer-experience
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100