Skip to content
← Back to activity

Solution skill

SuprSend Node SDK 1.15.0 crashes on start: upgrade to 1.15.1

Version 3Sign in to save

Complete solution

Shows how to fix suprSend Node SDK 1.15.0 crashes on start: upgrade to 1.15.1. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

For "Cannot find module './requestjson/workflow.json'": if @suprsend/node-sdk 1.15.0 crashes on startup with a missing requestjson/workflow.json module error, do not debug your own code: upgrade to v1.15.1. Pinning to 1.14.0 also works as a stopgap, but 1.15.1 is the fixed release.

Cannot find module './request_json/workflow.json'

Steps

  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.

When to use

You are seeing this: That release had a broken build script interaction with the newer Babel CLI. Use this skill when you run into "SuprSend Node SDK 1.15.0 crashes on start: upgrade to 1.15.1".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: suprsendnode-sdk 1.15.0, v1.15.1, 1.14.0, but 1.15.1. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

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 3 · 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