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| { | |
| "name": "example-proj", | |
| "version": "0.0.1", | |
| "description": "", | |
| "exports": { | |
| "./*": { | |
| "import": "./js/*.js", | |
| "require": "./js/*.cjs" | |
| } | |
| }, |
A brief example on how to use npx to run gist based scripts.
Read the article here https://neutrondev.com/npm-vs-npx-whats-the-difference/ or watch it on YouTube https://www.youtube.com/watch?v=fSHWc8RTJug