axios-fetch-adapter icon indicating copy to clipboard operation
axios-fetch-adapter copied to clipboard

Error: Module not found

Open patrickyan opened this issue 2 years ago • 8 comments

error - ./node_modules/@vespaiach/axios-fetch-adapter/index.js:2:0
Module not found: Package path ./lib/core/settle is not exported from package /.../node_modules/axios (see exports field in /.../node_modules/axios/package.json)

Line 2 it's complaining about https://github.com/vespaiach/axios-fetch-adapter/blob/main/index.js#L2

Using

  • axios 1.1.3
  • axios-fetch-adapter 0.3.1
  • next.js 12.3.1

patrickyan avatar Nov 03 '22 01:11 patrickyan

Same problem.

Feleys avatar Nov 03 '22 09:11 Feleys

Same problem here with axios 1.2.0. I also downgrade axios to 0.27.2, it work ! @Feleys @patrickyan

imanabbasi avatar Dec 01 '22 18:12 imanabbasi

If this gets merged it could be possible to just use Axios directly again but with a supported adapter.

escapedcat avatar Dec 02 '22 12:12 escapedcat

1+

everythinginjs avatar Jan 14 '23 08:01 everythinginjs

I'm having the same issue +1

  • axios: 1.3.4
  • axios-fetch-adapter: 0.3.1
  • next.js: 13.2.1

vrouilhac avatar Mar 14 '23 14:03 vrouilhac

If this gets merged it could be possible to just use Axios directly again but with a supported adapter.

when 'if this gets merged ' can be used?

cdx111 avatar Apr 10 '23 06:04 cdx111

Same issue here

marco910 avatar Jul 07 '23 07:07 marco910

I found the issue- axios renamed lib to unsafe.

jackmerrill avatar Oct 31 '23 00:10 jackmerrill