awslabs / llrt

LLRT (Low Latency Runtime) is an experimental, lightweight JavaScript runtime designed to address the growing demand for fast and efficient Serverless applications.
Apache License 2.0
7.73k stars 342 forks source link

Error resolving module 'url' #371

Closed ConjunctiveNormalForm closed 1 month ago

ConjunctiveNormalForm commented 1 month ago

Similar to #195, but in our case we don't import 'url' directly:

2024-05-08T15:55:04.182Z    n/a ERROR   {
  errorType: 'ReferenceError',
  errorMessage: 'Error resolving module 'url' from '/var/task/index.mjs'',
  stackTrace: [ '' ]
}

We do use 'axios' though and I suspect that's what's causing the trouble?

richarddavison commented 1 month ago

Hi @ConjunctiveNormalForm. This has been fixed in https://github.com/awslabs/llrt/pull/304, but not yet release! We will create a new release this week.