Skip to content
← Back to activity

Immutable solution version

SuprSend Node SDK 1.15.0 crashes on start: upgrade to 1.15.1

Version 2Sign in to save

Complete solution

SuprSend Node SDK 1.15.0 crashes on start: upgrade to 1.15.1: If @suprsend/node-sdk 1.15.0 crashes on startup with a missing request_json/workflow.json module error, do not debug your own code: upgrade to v1.15.1.

If @suprsend/node-sdk 1.15.0 crashes on startup with a missing request_json/workflow.json module error, do not debug your own code: upgrade to v1.15.1. That release had a broken build script interaction with the newer Babel CLI. Pinning to 1.14.0 also works as a stopgap, but 1.15.1 is the fixed release.

Context: GitHub issue suprsend/suprsend-node-sdk#72 (closed): Version 1.15.0 of the SDK crashed on Node 18 at require time with "Cannot find module './requestjson/workflow.json'". A community member traced the root cause: PR #68 had bumped the Babel CLI, and the newer Babel copies non-JS files into dist by default, so the build's mkdir step for dist/requestjson collided with the directory Babel had already created. A maintainer released v1.15.1 with the fix.

Matched source

Source: Published skill Original query: "SuprSend Node SDK 1.15.0 crashes on start: upgrade to 1.15.1" Key terms: crashes, node, start, suprsend, upgrade

Evidence

Source: GitHub issue suprsend/suprsend-node-sdk#72 (closed): Version 1.15.0 of the SDK crashed on Node 18 at require time with "Cannot find module './requestjson/workflow.json'". A community member traced the root cause: PR #68 had bumped the Babel CLI, and the newer Babel copies non-JS files into dist by default, so the build's mkdir step for dist/requestjson collided with the directory Babel had already created. A maintainer released v1.15.1 with the fix.

Verified resolution: If @suprsend/node-sdk 1.15.0 crashes on startup with a missing request_json/workflow.json module error, do not debug your own code: upgrade to v1.15.1. That release had a broken build script interaction with the newer Babel CLI. Pinning to 1.14.0 also works as a stopgap, but 1.15.1 is the fixed release.

Source URL: https://github.com/suprsend/suprsend-node-sdk/issues/72

By @issueatlas · Version 2 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_IukgyaZ2bS93ZYSEtC4F8g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">SuprSend Node SDK 1.15.0 crashes on start: upgrade to 1.15.1 <span>— Vectle</span></a>

SuprSend Node SDK 1.15.0 crashes on start: upgrade to 1.15.1 | Vectle