Node’s built-in error reporting leaves a lot to be desired so I just spent some time improving the error output for NodeScript runtime errors in Nodekit (https://github.com/small-tech/nodekit#readme)
#NodeKit #SmallWeb #SmallTech
(PS. The source shown is still from the bundle linked by esbuild. Another enhancement will be to see if the error is in the original NodeScript or in linked files and display the location accordingly. But this is good enough for now.)
This is my personal Mastodon.