You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the package-lock.json file did not exist in the repo, instead it was listed in .gitignore. So it's more likely that the dependencies I installed ended up being newer and not quite as compatible with the dependencies intended by the author.
Next I tried running the extension in VSCode, but that resulted in error - the extension wants to load itself from out/ dir, which didn't exist yet. So I tried running the build script:
npm run build
This resulted in error: sh: rimraf: command not found. Turns out that rimraf dependency is missing in devDependencies. So I installed it:
npm install --save-dev rimraf
and ran the build again.
This time the build failed at TypeScript compilation with errors like:
Realizing that the extension uses a really old TypeScript version, I decided to give up and go looking for an alternative. I switched to FileUtils extension and uninstalled this one.
Environment
VSCode Version: 1.74.0
OS Version: MacOS 12.6
The text was updated successfully, but these errors were encountered:
Hi @nene,
Since this repo is no longer receive any updates. I've tried to fork and fix it too, but the node version is way too old (node 7), it is unable to maintain.
I wanted to see if I can fix some of the problems in this extension, but was unable to build and run it locally.
First off I checked out the repository and installed dependencies:
git clone git@github.com:mrmlnc/vscode-duplicate.git cd vscode-duplicate/ npm install
This already produced some warning signs:
package-lock.json
file did not exist in the repo, instead it was listed in.gitignore
. So it's more likely that the dependencies I installed ended up being newer and not quite as compatible with the dependencies intended by the author.Next I tried running the extension in VSCode, but that resulted in error - the extension wants to load itself from
out/
dir, which didn't exist yet. So I tried running the build script:This resulted in error:
sh: rimraf: command not found
. Turns out thatrimraf
dependency is missing indevDependencies
. So I installed it:and ran the build again.
This time the build failed at TypeScript compilation with errors like:
Realizing that the extension uses a really old TypeScript version, I decided to give up and go looking for an alternative. I switched to FileUtils extension and uninstalled this one.
Environment
The text was updated successfully, but these errors were encountered: