Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

554
Views
Error package vscode extension with vsce: invalid relative path
  • npm: 8.1.0
  • vsce: 2.5.3

I have a npm package (colibri) in a local folder and a VSCode extension (vscode-teroshdl) in other folder. colibri is a dependency of vscode-teroshdl:

    "dependencies": {
        "colibri": "file:../colibri"
    },

When I try to package the VSCode extension:

cd colibri
npm install
cd ../vscode-terosHDL
npm install
vsce package

It fails with the error:

 ERROR  invalid relative path: extension/../colibri/node_modules/cli-progress/CHANGES.md
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

It's almost certainly this bug: https://github.com/microsoft/vscode-vsce/issues/381 as I just encountered it while trying to package ansible-vscode, which uses symlinks

As mentioned in that issue, I found that running vsce package --yarn (even without yarn-specific files in the working copy) caused it to package as expected.

This was with node v17.6.0 darwin/amd64 and vsce 1.96.1. While testing this, I noticed my vsce was old, but I had the same experience on 2.6.7, which is the latest

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!