Skip to content

vinted-mcp-server does not start on Windows #1

Description

@Dan-Cao

Hello, thanks for creating this tool - it looks very promising!

I'm seeing an error when trying to start the server on Windows. Can you take a look please?

Environment

  • OS: Windows 11
  • Node.js: v24.15.0
  • Package version: vinted-mcp-server@1.0.1

Steps to Reproduce

  1. Run npx -y vinted-mcp-server@1.0.1 on Windows
  2. Server fails to start with the following error:
C:\Users\danie\AppData\Local\npm-cache\_npx\03d82f7ec5f148a3\node_modules\vinted-mcp-server\dist\bundle.js:2
#!/usr/bin/env node
^

SyntaxError: Invalid or unexpected token
    at wrapSafe (node:internal/modules/cjs/loader:1763:18)
    at Module._compile (node:internal/modules/cjs/loader:1804:20)
    at Object..js (node:internal/modules/cjs/loader:1961:10)
    at Module.load (node:internal/modules/cjs/loader:1553:32)
    at Module._load (node:internal/modules/cjs/loader:1355:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
    at node:internal/main/run_main_module:33:47

Root Cause

dist/bundle.js contains a duplicate shebang line:

#!/usr/bin/env node
#!/usr/bin/env node
"use strict";

Node.js strips the shebang only on line 1 — the second #!/usr/bin/env node on line 2 is treated as invalid JavaScript syntax.

Workaround

Manually removing the duplicate shebang (line 2) from dist/bundle.js allows the server to start successfully.

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