amplitude / Amplitude-JavaScript

JavaScript SDK for Amplitude
MIT License
315 stars 133 forks source link

Module Parse Failed: File was processed with these loaders #587

Open RastogiNishant opened 1 year ago

RastogiNishant commented 1 year ago

Expected Behavior

It should work without any issue

Current Behavior

After removing the node_modules it always throws an error

Possible Solution

Setting "amplitude-js": "8.21.3", solved the issue, please fix the issue in the package itself

Steps to Reproduce

  1. Use version - ^8.16.1
  2. Uninstall the node modules
  3. Re-install and run npm start

Environment

MauricioAires commented 1 year ago

Same problem with "amplitude-js": "^8.18.2"

saharsh-solanki commented 1 year ago

Hello @RastogiNishant @MauricioAires are you able to solve this issue,

RastogiNishant commented 1 year ago

Hello @RastogiNishant @MauricioAires are you able to solve this issue,

using "amplitude-js": "8.21.3" it works at my end

voodoocode commented 4 months ago

Also happens for me with 8.21.9

Using the 8.21.3 is not an option, since that hasn't the patch of ua-parser-js