[vite] Internal server error: loadModule is not a function
Plugin: commonjs
File: E:/project/xxxx/knockout-es5/knockout-es5.min.js
at analyzeRequiredModule (E:\project\xxxx\node_modules\@rollup\plugin-commonjs\dist\cjs\index.js:680:13)
at E:\project\xxxx\node_modules\@rollup\plugin-commonjs\dist\cjs\index.js:787:19
at async Promise.all (index 0)
at async E:\project\xxxx\node_modules\@rollup\plugin-commonjs\dist\cjs\index.js:767:32
at async rewriteRequireExpressionsAndGetImportBlock (E:\project\xxxx\node_modules\@rollup\plugin-commonjs\dist\cjs\index.js:1313:28)
at async transformCommonjs (E:\project\xxxx\node_modules\@rollup\plugin-commonjs\dist\cjs\index.js:1875:23)
at async Object.transform (file:///E:/project/xxxx/node_modules/vite/dist/node/chunks/dep-ca21228b.js:41685:30)
at async loadAndTransform (file:///E:/project/xxxx/node_modules/vite/dist/node/chunks/dep-ca21228b.js:39479:29)
标签:function,node,xxxx,modules,js,project,Internal,dist,server
From: https://www.cnblogs.com/cosmicbison/p/17359239.html