运行vue3项目报错:Error: The package “@esbuild/win32-x64“ could not be found, and is needed by esbuild.

今天运行vue3项目的时候装了个pinia,然后再运行项目,突然报错

然后大概意思是找不到esbuild这个包,但这个包又是必须的,自己明明又没有安装此包,不过估计应该是pinia所依赖的一个包

运行vue3项目报错:Error: The package “@esbuild/win32-x64“ could not be found, and is needed by esbuild._第1张图片

解决方法:执行命令npm i esbuild安装此包即可运行 

运行vue3项目报错:Error: The package “@esbuild/win32-x64“ could not be found, and is needed by esbuild._第2张图片

你可能感兴趣的:(报错集锦,vue.js,前端,javascript)