Apologies for this brief and low detail issue. I'll fix it up shortly.
Over the last couple of weeks I've had a mysterious build issue in NextJS. I'll find the error message soon but its about an undefined variable (which should be a string or a function).
Eventually I realised that various committed package-lock.json files worked while others were borked. So then I pinned all the packages in package.json which built perfectly. Iterating through the packages one at a time I discovered that this package was the culprit which I've now pinned to:
"@phosphor-icons/react": "2.1.7",
I'll test which particular commit causes this issue in versions ^2.1.7 and grab the particular version. Just noting it here for now.
Apologies for this brief and low detail issue. I'll fix it up shortly.
Over the last couple of weeks I've had a mysterious build issue in NextJS. I'll find the error message soon but its about an undefined variable (which should be a string or a function).
Eventually I realised that various committed
package-lock.jsonfiles worked while others were borked. So then I pinned all the packages inpackage.jsonwhich built perfectly. Iterating through the packages one at a time I discovered that this package was the culprit which I've now pinned to:I'll test which particular commit causes this issue in versions
^2.1.7and grab the particular version. Just noting it here for now.