Getting error when trying to install serverless-python-requirements

When trying to run sls plugin install -n serverless-python-requirements I am getting the following error:

Serverless: Installing plugin "serverless-python-requirements@latest" (this might take a few seconds...)
 
  Error --------------------------------------------------
 
  Error: Command failed: /root/.serverless/bin/serverless /snapshot/serverless/node_modules/npm/bin/npm-cli.js install --save-dev serverless-python-requirements@latest
  npm WARN lifecycle npm is using /root/.serverless/bin/serverless but there is no node binary in the current PATH. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
  internal/modules/cjs/loader.js:967
    throw err;
    ^
  
  Error: Cannot find module '/drone/src/node_modules/core-js-pure/-e'
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:964:15)
      at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1346:46)
      at Function.Module._load (internal/modules/cjs/loader.js:840:27)
      at Function.Module.runMain (pkg/prelude/bootstrap.js:1375:12)
      at internal/main/run_main_module.js:17:47 {
    code: 'MODULE_NOT_FOUND',
    requireStack: []
  }
  npm WARN scanner@0.1.0 No repository field.
  npm WARN scanner@0.1.0 No license field.
  
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! core-js-pure@3.6.5 postinstall: `node -e "try{require('./postinstall')}catch(e){}"`
  npm ERR! Exit status 1
  npm ERR! 
  npm ERR! Failed at the core-js-pure@3.6.5 postinstall script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /root/.npm/_logs/2020-07-08T19_39_42_953Z-debug.log
  
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:964:15)
      at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1346:46)
      at Function.Module._load (internal/modules/cjs/loader.js:840:27)
      at Function.Module.runMain (pkg/prelude/bootstrap.js:1375:12)
      at internal/main/run_main_module.js:17:47 {
      at ChildProcess.exithandler (child_process.js:303:12)
      at ChildProcess.emit (events.js:315:20)
      at ChildProcess.EventEmitter.emit (domain.js:482:12)
      at maybeClose (internal/child_process.js:1021:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
  From previous event:
      at /snapshot/serverless/lib/plugins/plugin/install/install.js:175:20
 
  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com
 
  Your Environment Information ---------------------------
     Operating System:          linux
     Node Version:              12.18.1
     Framework Version:         1.74.1 (standalone)
     Plugin Version:            3.6.14
     SDK Version:               2.3.1
     Components Version:        2.31.6

The command is running inside a docker container with the image python:3.6. Everything was working fine a week ago so perhaps it’s an issue with some dependency update?