每次我使用命令在终端中执行项目时,npm start都会收到以下错误消息:
>ProjectName@1.0.0 start /workspaces/ProjectName
>electron .
/workspaces/ProjectName/node_modules/electron/dist/electron: error while loading shared libraries: libxshfence.so.1: cannot open shared object file: No such file or directory
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ProjectName@1.0.0 start:`electron .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ProjectName@1.0.0 start script
npm ERR! This is probably not a problem with npm. There is likely additional logginh output above.
npm ERR! A complete log of this run …Run Code Online (Sandbox Code Playgroud) selenium-chromedriver selenium-webdriver dockerfile visual-studio-code vscode-devcontainer
dockerfile ×1