Skip to content

vpr autocomplete shell script causes login failure #1286

@limzykenneth

Description

@limzykenneth

Describe the bug

After updating to 0.1.15 and attempting a restart of my system, I found that I'm no longer able to login because of a reported syntax error in the ~/.vite-plus/env file, specificially referncing line 38:

38: /home/limzykenneth/.vite-plus/env: Syntax error: "(" unexpected (expecting "}")

Following that points to the vpr autocompletion that is newly added.

By commenting that part out, I am able to login as usual again so the problem should stem from here. I'm not familiar enough with shell scripts to know what exactly the problem is but it may be due to some kind of shell incompatibility or shell misidentification.

Reproduction

n/a

Steps to reproduce

I'm not sure how to provide a reproduction here so I'll just include as much relevant information about my system as may be needed but feel free to ask for more.

  • OS: Pop!_OS 24.04 LTS
  • Desktop: COSMIC
  • Shell: Bash (GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu))

System Info

vp env current

VITE+ - The Unified Toolchain for the Web

Environment:
  Version       24.14.0
  Source        .node-version
  Source Path   /home/limzykenneth/sites/tl-util/.node-version
  Project Root  /home/limzykenneth/sites/tl-util

Tool Paths:
  node  /home/limzykenneth/.vite-plus/js_runtime/node/24.14.0/bin/node
  npm   /home/limzykenneth/.vite-plus/js_runtime/node/24.14.0/bin/npm
  npx   /home/limzykenneth/.vite-plus/js_runtime/node/24.14.0/bin/npx


vp --version
VITE+ - The Unified Toolchain for the Web

vp v0.1.15

Local vite-plus:
  vite-plus  v0.1.13

Tools:
  vite             v8.0.1
  rolldown         v1.0.0-rc.10
  vitest           v4.1.0
  oxfmt            v0.41.0
  oxlint           v1.56.0
  oxlint-tsgolint  v0.17.1
  tsdown           v0.21.4

Environment:
  Package manager  npm v11.12.0
  Node.js          v24.14.0 (.node-version)

Used Package Manager

npm

Logs

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions