error importing library using require in Node.js
davelandry opened this issue · comments
Dave Landry commented
What is the current behavior?
Importing using this code:
var LabelSync = require("github-issues-label-sync");
Produces this error:
Error: Cannot find module 'github-issues-label-sync'
What is the expected behavior?
This code worked in v1.18.0 😬
TED Vortex (Teodor-Eugen Duțulescu) commented
Sorry about this, was testing locally with npm link rather than using the gulp task (which was set to run on prepublish). I adjusted this issue but it will take 10-20more mins to get everything online !
Dave Landry commented
No worries, I totally get it. Thanks again!
Dave Landry commented
Still getting the same error after upgrading to v1.20.0 😞
TED Vortex (Teodor-Eugen Duțulescu) commented
v1.22.0 is what you need, sorry for the delay !