scandinavianairlines / remix-azure-functions

A Remix.run adapter for Azure Functions and Azure Static Web Apps
https://www.npmjs.com/package/@scandinavianairlines/remix-azure-functions
MIT License
28 stars 2 forks source link

Got error on example Package subpath './lib/adapters/http' is not defined by "exports" from Axios #163

Closed mildronize closed 2 months ago

mildronize commented 3 months ago

Introduction

I've tried to run the example from this repository: Remix Azure Functions Example (Commit ref). However, I encountered an issue related to Axios.

Issue Details

When running the example, I encountered the following error:

Package subpath './lib/adapters/http' is not defined by "exports" from Axios

I found a similar issue on the Axios repository: Issue #5263. However, I couldn't locate any direct usage of Axios in the library.

Could you help me identify and resolve this issue?

Tested Versions

I tested the example with the following configurations:

Environment

Operating System: macOS M1 Sonoma 14.0

Thank you for your assistance.

mildronize commented 3 months ago

the problem solved by upgrading swa to 2.0.1, I'll create the PR. iScreen Shoter - Code - 670810233155

lfantone commented 2 months ago

Thanks for the contribution 🙌

mildronize commented 2 months ago

Fixed, thanks