Skip to main content
Question

Box CLI for Win is not working

  • May 22, 2025
  • 2 replies
  • 8 views

Forum|alt.badge.img

When I run 'box login -n example_name', I get the following error

Does anyone know of a solution?

Error: The platform is windows 10 but the native module could not be found
    at checkPlatform (C:/Program Files/@boxcli/client/node_modules/node-ms-passport/index.js:59:19)
    at loadNativeModule (C:/Program Files/@boxcli/client/node_modules/node-ms-passport/index.js:71:16)
    at Object.<anonymous> (C:/Program Files/@boxcli/client/node_modules/node-ms-passport/index.js:29:25)
    at Object.<anonymous> (C:/Program Files/@boxcli/client/src/box-command.js:32:7)

2 replies

Forum|alt.badge.img

Using box-v3.0.0-x64.exe instead of box-v3.1.0-x64.exe solved


Forum|alt.badge.img

Thanks, this is also fixed in the latest version 3.2.0

See https://box.dev/changelog/#2022-06-30-box-cli-v320-released

Rgds, Peter Christensen, Platform Solutions Engineer, Box