Skip to content

/src/security/index not found on Vercel serverlesss function. #636

Open
@efekurnaz

Description

@efekurnaz

I'm using strong-soap basically with require const soap = require('strong-soap').soap;

App works perfectly fine on local ngrok but it crashes on Vercel. Is there anything we can do to fix this?

The error in the Vercel log:

Cannot find module './src/security/index'
Require stack:
- /var/task/node_modules/strong-soap/index.js
- /var/task/aramex.js
- /var/task/handlers.js
- /var/task/routes.js
- /var/task/index.js
Did you forget to add it to "dependencies" in `package.json`?
Error: Runtime exited with error: exit status 1
Runtime.ExitError

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Current/Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions