Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Error in webstorm plugin during formating #552

Closed
1 task done
Arctomachine opened this issue Oct 19, 2023 · 1 comment · Fixed by #556
Closed
1 task done

🐛 Error in webstorm plugin during formating #552

Arctomachine opened this issue Oct 19, 2023 · 1 comment · Fixed by #556
Assignees

Comments

@Arctomachine
Copy link

Environment information

CLI:
  Version:                      1.3.0
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           windows

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         unset
  JS_RUNTIME_VERSION:           "v20.2.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/9.6.6"

Biome Configuration:
  Status:                       unset

Workspace:
  Open Documents:               0

Discovering running Biome servers...

What happened?

  1. Enable: actions on save -> reformat code
  2. Edit any .js or other compatible file
  3. It gives following error in editor notifications, formatting is not performed
< path to project >\node_modules\.bin\biome:2 basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") ^^^^^^^ SyntaxError: missing ) after argument list at internalCompileFunction (node:internal/vm:73:18) at wrapSafe (node:internal/modules/cjs/loader:1175:20) at Module._compile (node:internal/modules/cjs/loader:1219:27) at Module._extensions..js (node:internal/modules/cjs/loader:1309:10) at Module.load (node:internal/modules/cjs/loader:1113:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12) at node:internal/main/run_main_module:23:47 Node.js v20.2.0

Happens even in empty new project with just biome installed.

Expected result

Format file without giving error

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@Arctomachine
Copy link
Author

Arctomachine commented Oct 19, 2023

Additional info, if relevant: bottom status bar says biome server is stopped
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants