Skip to content

Instantly share code, notes, and snippets.

View kelvinpraises's full-sized avatar
🦍
Working...

kelvinpraises

🦍
Working...
View GitHub Profile
@Tynael
Tynael / README.md
Last active January 22, 2024 01:06
How to use npx to run gist based scripts
@adrienjoly
adrienjoly / fix-dyld-missing-symbol-called-errors-on-m1-macs.md
Last active June 5, 2024 09:59
Fix `dyld[]: missing symbol called` errors when running Node.js programs on M1 Macs (apple silicon)

Problem

If you're getting this kind of error when running Node.js programs with binary dependencies that don't support M1 yet, e.g.:

$ yarn test
dyld[51175]: missing symbol called
dyld[51176]: missing symbol called
@kim3er
kim3er / package.json
Created January 9, 2023 17:33
TypeScript package with ES Module and CommonJS support
{
"name": "example-proj",
"version": "0.0.1",
"description": "",
"exports": {
"./*": {
"import": "./js/*.js",
"require": "./js/*.cjs"
}
},