Skip to content

Conversation

@YashMishra0101
Copy link
Contributor

@YashMishra0101 YashMishra0101 commented Jan 14, 2026

Summary

In @vercel/build-utils, the function getNodeVersion has been renamed to getRuntimeNodeVersion (vercel/vercel#14600), which causes the build to fail.

This PR updates the import and function call to use the new function name.

Fixes #594

Error

Error: (0 , build_utils_1.getNodeVersion) is not a function

Changes

  • Updated import: getNodeVersiongetRuntimeNodeVersion (line 10)
  • Updated function call: getNodeVersion(workPath)getRuntimeNodeVersion(workPath) (line 117)

Related

The function getNodeVersion was renamed to getRuntimeNodeVersion in @vercel/build-utils package (vercel/vercel#14600).

This change fixes the deployment error: Error: (0 , build_utils_1.getNodeVersion) is not a function

Fixes vercel-community#594
@gitmichaelqiu
Copy link

Looks good. getNodeVersion() is also failing my deployment.

@HardcodeCoder
Copy link

HardcodeCoder commented Jan 15, 2026

Looks good. getNodeVersion() is also failing my deployment.

+1, hopefully this gets merged on priority.

@f3l1x f3l1x enabled auto-merge (rebase) January 15, 2026 13:34
@f3l1x f3l1x merged commit 443a1e2 into vercel-community:master Jan 15, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

getNodeVersion has been renamed

4 participants