I have done a fresh install on my mac (verson 10.15.7) with node version 18. when i run npm run dev, it throw this error
[nodemon] 2.0.20
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: ts
[nodemon] starting `ts-node src/server.ts`
dyld: lazy symbol binding failed: Symbol not found: _pthread_jit_write_protect_supported_np
Referenced from: /Users/mac/work/RnD/CMS/payload/coddle-cms/node_modules/payload/node_modules/sharp/build/Release/../.././vendor/8.13.3/darwin-x64/lib/libvips-cpp.42.dylib
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _pthread_jit_write_protect_supported_np
Referenced from: /Users/mac/work/RnD/CMS/payload/coddle-cms/node_modules/payload/node_modules/sharp/build/Release/../.././vendor/8.13.3/darwin-x64/lib/libvips-cpp.42.dylib
Expected in: /usr/lib/libSystem.B.dylib
[nodemon] app crashed - waiting for file changes before starting...
Hey
@273835182979678221! Happy to get to the bottom of this issue with you! After some further research, I would take a look at this link below. The issue at hand may be more related to your mac version in connection with the Sharp dependency.
Let me know if you need anything else!
You can also run it in Docker if you have it installed by issuing
docker-compose up
. That way you don't need to also have MongoDB installed.
thank you.
i will try it with the docker
Star
Discord
online
Get dedicated engineering support directly from the Payload team.