JS遇到的问题

180 阅读1分钟

JavaScript断点调试与console.log(..)输出不一致

控制台打印时存在I/O延迟

屏幕截图 2023-09-06 104453.png

failed to load config from D:\Project Files\CesiumTest\cesiumtest2\vite.config.js

error when starting dev server: Error: You installed esbuild for another platform than the one you're currently using. This won't work because esbuild is written with native code and needs to install a platform-specific binary executable.

解决方法:在运行dev之前先运行node node_modules/esbuild/install.js命令来解决esbuild安装问题