vitejs / vite

Next generation frontend tooling. It's fast!
http://vitejs.dev
MIT License
67.08k stars 6.02k forks source link

Uncaught This script should be used with an AMD or CommonJS loader #9421

Closed colinblaise closed 2 years ago

colinblaise commented 2 years ago

Describe the bug

Getting this in the browser console when running vite.

Uncaught This script should be used with an AMD or CommonJS loader.

Still trying to figure out the cause to provide minimum reproduction steps.

Reproduction

Unable to provide minimal reproduction right now

System Info

System:
    OS: Windows 10 10.0.22000
    CPU: (12) x64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
    Memory: 32.76 GB / 63.80 GB
  Binaries:
    Node: 16.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.71)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    @vitejs/plugin-vue: ^1.10.2 => 1.10.2
    vite: ^3.0.3 => 3.0.3
    vite-plugin-vue2:  ^2.0.2,

Used Package Manager

yarn

Logs

No response

Validations

github-actions[bot] commented 2 years ago

Hello @colinblaise. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with need reproduction will be closed if they have no activity within 3 days.

colinblaise commented 2 years ago

The error was coming from https://www.npmjs.com/package/devextreme-aspnet-data-nojquery