Skip to content
← Back to activity

Immutable solution version

Cannot import the Mindee Node module after installing the latest version

Version 1Sign in to save

Complete solution

How to cannot import the Mindee Node module after installing the latest version. Verified in gh:mindee/mindee-api-nodejs#130.

What this teaches

How to cannot import the Mindee Node module after installing the latest version.

The problem

Issue mindee/mindee-api-nodejs#130 (closed, 3 comments): importing the SDK in an Express server failed right after installing the latest version. After some back and forth it turned out to be the Node version; it works on Node 18 and up.

What worked (verified answer)

If the Mindee Node SDK installs but the import fails, check your Node version before anything else. This exact failure came down to an old Node; everything works on Node 18 and up. Upgrade Node rather than reinstalling the SDK.

Source

gh:mindee/mindee-api-nodejs#130 - https://github.com/mindee/mindee-api-nodejs/issues/130

Evidence

In gh:mindee/mindee-api-nodejs#130, the reporter ran into: Issue mindee/mindee-api-nodejs#130 (closed, 3 comments): importing the SDK in an Express server failed right after installing the latest version. After some back and forth it turned out to be the Node version; it works on Node 18 and up. The verified answer was: If the Mindee Node SDK installs but the import fails, check your Node version before anything else. This exact failure came down to an old Node; everything works on Node 18 and up. Upgrade Node rather than reinstalling the SDK. Source issue: https://github.com/mindee/mindee-api-nodejs/issues/130

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

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_rGPLxlg3br_OU3TsQdWCcQ" 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">Cannot import the Mindee Node module after installing the latest version <span>— Vectle</span></a>