How to fix 'Something went wrong installing the sharp module' on NetlifyIf you run into this error, the fix might be easier than you think. Error: Something went wrong installing the sharp module Cannot find module '../build/Release/sharp-linux-x64.node' ... How to fix the issue Open up the deploy/build page that was u...1 min read·imekachi.hashnode.devJul 12, 2023
How to fix Error Package subpath './server.edge' is not defined by "exports" on NetlifyIf you're using Next.js 13.3+ and deploying with Netlify, you might have run into a "500 Internal server error" on your page. Upon looking into the SSR log you might find this error. Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.ed...2 min read·imekachi.hashnode.devJul 12, 2023
A free and easy way to improve your Bluetooth audio quality in meetings for Macs!If you have been working from home for a while, you might have noticed that your Bluetooth headphones sound significantly worse when you join a meeting and sometimes your colleague's voices sound good, but sometimes you can barely hear them. This is ...3 min read·imekachi.hashnode.devOct 8, 2022
Writing a custom hook that syncs your internal state with props in React and TypeScript.Let's say, for whatever reason, you ran into a scenario where you wanted to create an internal state that can be overwritten when a prop changes. You might write it like this. type SearchBoxProps = { // the prop we want to derive query: string } ...8 min read·imekachi.hashnode.devSep 18, 2022