serverless-python-requirements icon indicating copy to clipboard operation
serverless-python-requirements copied to clipboard

Error: Cannot find module '../../../package'

Open Minu2020 opened this issue 7 months ago • 0 comments

Are you certain it's a bug?

  • [x] Yes, it looks like a bug

Are you using the latest plugin release?

  • [x] Yes, I'm using the latest plugin release

Is there an existing issue for this?

  • [x] I have searched existing issues, it hasn't been reported yet

Issue description

I am getting the following error

✔ Plugin "serverless-python-requirements" installed (2s) × Uncaught exception /home/runner/work//node_modules/serverless/scripts/serverless.js:52 throw error; ^

Error: Cannot find module '../../../package'

I am not getting this error with v6.1.1.

Service configuration (serverless.yml) content

N/A

Command name and used flags

sls plugin install -n serverless-python-requirements

Command output

N/A

Environment information

Tried with v3 and v4

Minu2020 avatar Apr 09 '25 06:04 Minu2020