Closed josecelano closed 2 months ago
I usually work with a local version of the torrust-index-types-lib
when I have to change both the app and the package. Althougth I changed back the package.json
to sue the real package:
"dependencies": {
"torrust-index-api-lib": "^3.0.0-beta.2",
"torrust-index-types-lib": "^3.0.0-beta.2",
}
Instead of:
"dependencies": {
"torrust-index-api-lib": "^3.0.0-beta.2",
"torrust-index-types-lib": "file:://../torrust-index-types-lib",
}
In the package-lock.json
I still had this:
"../torrust-index-types-lib": {
"version": "3.0.0-beta.2",
"license": "SEE LICENSE IN COPYRIGHT",
"devDependencies": {
"typescript": "^5.2.2"
}
},
I tried a npm install
and also removing node_modules
but I didn't work. I fixed it with:
npm install torrust-index-types-lib@v3.0.0-beta.2