Forum Discussion

keithkelly's avatar
3 years ago

Lithium-SDK: Unsupported Engine for Karma@1.7.1 - Node v13

Hi.  I'm trying to set up the SDK on my MBP.  It seems I have too new a version of node installed (even though Node 13 is past end-of-life).   Has anyone experienced this, or have ideas how to proceed?

Running:  npm install lithium-sdk -g

Build failed with error code: 1
npm WARN notsup Unsupported engine for karma@1.7.1: wanted: {"node":"0.10 || 0.12 || 4 || 5 || 6 || 7 || 8"} (current: {"node":"13.8.0","npm":"6.13.7"})

 

  • Echoing Ryan_Gilmore , install Node Version Manager and use node v6 or node v8. You can then switch to newer versions of node for other projects you might be working on.

    Protip: create a .nvmrc file (which contains a string for the version to use) in your SDK directory so you just need to run "nvm use" to switch to the correct version.

    I think there are other threads floating around where some have tried getting newer versions of Node to work, but NVM is your quickest path forward.

  • MattV's avatar
    MattV
    Khoros Staff

    Echoing Ryan_Gilmore , install Node Version Manager and use node v6 or node v8. You can then switch to newer versions of node for other projects you might be working on.

    Protip: create a .nvmrc file (which contains a string for the version to use) in your SDK directory so you just need to run "nvm use" to switch to the correct version.

    I think there are other threads floating around where some have tried getting newer versions of Node to work, but NVM is your quickest path forward.

    • keithkelly's avatar
      keithkelly
      Leader

      Thanks.  Any possibility of the SDK getting updated in the future to support newer versions of Node?