You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to use this extension using the remote install functionality on a couple of cPanel accounts and it fails on every save with the following error:
2024-05-16 19:50:59.405 [error] [shufo.vscode-blade-formatter] provider FAILED
2024-05-16 19:50:59.405 [error] Error: EACCES: permission denied, scandir '/home'
at readdirSync (node:fs:1527:3)
at module.exports (/home/myusername/.vscode-server/extensions/shufo.vscode-blade-formatter-0.24.2/node_modules/escalade/sync/index.js:13:23)
at F (/home/myusername/.vscode-server/extensions/shufo.vscode-blade-formatter-0.24.2/node_modules/@shufo/tailwindcss-class-sorter/dist/main.cjs:1:1497)
at /home/myusername/.vscode-server/extensions/shufo.vscode-blade-formatter-0.24.2/node_modules/blade-formatter/dist/bundle.cjs:9:5730
at String.replace (<anonymous>)
at Function.replace (/home/myusername/.vscode-server/extensions/shufo.vscode-blade-formatter-0.24.2/node_modules/lodash/lodash.js:14608:48)
at F.sortTailwindcssClasses (/home/myusername/.vscode-server/extensions/shufo.vscode-blade-formatter-0.24.2/node_modules/blade-formatter/dist/bundle.cjs:9:5503)
at /home/myusername/.vscode-server/extensions/shufo.vscode-blade-formatter-0.24.2/node_modules/blade-formatter/dist/bundle.cjs:9:3446
In cPanel, you don't have access to the /home directory that it's trying to read. I looked for a config setting to change the project root but there don't seem to be any.
Expected Behavior
Extension to work when installed on a remote server running cPanel.
Description
Tried to use this extension using the remote install functionality on a couple of cPanel accounts and it fails on every save with the following error:
In cPanel, you don't have access to the /home directory that it's trying to read. I looked for a config setting to change the project root but there don't seem to be any.
Expected Behavior
Extension to work when installed on a remote server running cPanel.
Actual Behavior
Permission denied
Additional Context
--- Server Info ---
Platform: Linux
OS: AlmaLinux v9.4.0
Software: cPanel & WHM v120.0.5
Laravel Blade Formatter version: v0.24.2
Remote mount path (VSCode root dir): /home/myusername/public_html
--- VSCode Client info ---
Version: 1.88.1 (Universal)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:42:52.765Z (1 mo ago)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin x64 21.6.0 (MacOS)
The text was updated successfully, but these errors were encountered: