8000 "Unexpected token" error upon initial setup (Alfred 4) · Issue #21 · kbshl/alfred-vscode · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.
This repository was archived by the owner on Oct 25, 2023. It is now read-only.
"Unexpected token" error upon initial setup (Alfred 4) #21
Open
@KurtTrowbridge

Description

@KurtTrowbridge

Not sure if this is just user error, but I get an error whenever I try to use alfred-vscode, pasted below, that prevents me from using it. I only started using Alfred with version 4 a few weeks ago, so I'm not upgrading from an older version or anything. I also globally reinstalled the plugin tonight after seeing the update to alfy from earlier in the week.

Following the directions on this issue, I tried adding nodePath as an environment variable with the value /Users/kurt/.nvm/versions/node/v8.1.3/bin/node, but that didn't change anything.

/Users/kurt/.nvm/versions/node/v8.1.3/lib/node_modules/alfred-vscode/lib/path-utils.js:63
    .map(item => ({ ...item, description: exports.expandHomePath(item.description) }));
                    ^^^
SyntaxError: Unexpected token ...
    at Object.<anonymous> (/Users/kurt/.nvm/versions/node/v8.1.3/lib/node_modules/alfred-vscode/lib/utils.js:5:37)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0