本地源代码运行bun install时报错

最近使用Ubuntu系统运行Bun的时候报,Failed to spawn script install due to error os.linux.errno.generic.E.PERM PERM 的错误,查看官方文档也没有这个错误描述,最终找到解决方案进行分享。

报错问题如下:

error loading current directory
 Installing [2637/2230]
error: failed to spawn life-cycle scripts for esbuild: CouldntReadCurrentDirectory
 Installing [3248/2230] error: Failed to spawn script install due to error 

你可能感兴趣的:(C#,疑难杂症处理方案,Bun,Bun.js)