Hello! Is there any documentation on how to use th...
# general
t
Hello! Is there any documentation on how to use the experimental nodejs backend in pants? I have enabled it and have generated the sources, but I'm not sure how to setup the npm packaging. I'm on version
2.17.0rc11
but no node build targets are being generated automatically either
h
It's still a WIP so there aren't proper docs yet AFAIK. Maybe @worried-painter-31382 can chime in with a few tips meanwhile.
t
Thanks! Yeah I put in the
package_json
target but I'm just getting an exception
KeyError: 'name'
on package
w
Sorry Im on vacation but I suspect the issue you have hit is that the package.json contains no "name" field.
t
Awesome, thanks for responding over vacation. I’m also away for a bit but I’ll check when I’m back