Repository navigation
v1.7.5
Fixes installation in n8n, broken since 1.7.2.
Fixed
-
n8n does not import whatever a node file exports. It derives the export name from the file name —
path.parse(sourcePath).name.split('.')[0]— and throws if that exact name is missing. 1.7.2 renamedWaAPI.node.tstoWaapi.node.tsto satisfy a lint rule and left the class calledWaAPI, so n8n looked forWaapiand found nothing. Its only message for this is "The specified package could not be loaded", which names neither the class nor the file, and the package loads correctly under plainrequire.The class is now
Waapi.description.namestayswaapi, so saved workflows are unaffected.
Added
- The test suite and CI both replicate n8n's derivation and assert the class is there, so a rename cannot quietly break installation again.