I have to update my PrimeNG version to the latest version which is: 1.0.0-rc.2
I used before the following package.json which is working fine:
{
"name": "primeng",
"version": "1.0.0-SNAPSHOT",
"scripts": {
"postinstall": "npm run typings install",
"tsc": "tsc",
"tsc:w": "tsc -w",
"lite": "lite-server",
"start": "concurrently \"npm run tsc:w\" \"npm run lite\" ",
"typings": "typings"
},
"license": "ISC",
"dependencies": {
"angular2": "2.0.0-beta.15",
"client-http": "0.0.7",
"systemjs": "0.19.25",
"es6-shim": "^0.35.0",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": "0.6.10",
"primeng": "1.0.0-beta.3",
"primeui": "4.1.8"
},
"devDependencies": {
"concurrently": "^2.0.0",
"lite-server": "^2.1.0",
"typescript": "^1.8.9",
"typings": "^0.7.9"
}
}
Updating my PrimeNG version to the latest version, I also added some new dependencies. After update, my package.json looks like:
{
"name": "primeng",
"version": "1.0.0-rc.2",
"scripts": {
"postinstall": "npm run typings install",
"tsc": "tsc",
"tsc:w": "tsc -w",
"lite": "lite-server",
"start": "concurrently \"npm run tsc:w\" \"npm run lite\" ",
"typings": "typings"
},
"license": "ISC",
"dependencies": {
"#angular/common": "2.0.2",
"#angular/compiler": "~2.0.1",
"#angular/core": "2.0.1",
"#angular/forms": "~2.0.1",
"#angular/http": "2.0.2",
"#angular/platform-browser": "2.0.2",
"#angular/platform-browser-dynamic": "~2.0.1",
"#angular/router": "~3.0.1",
"#angular/upgrade": "~2.0.1",
"angular-in-memory-web-api": "~0.1.1",
"angular2": "2.0.0-beta.15",
"client-http": "0.0.7",
"systemjs": "0.19.25",
"es6-shim": "^0.35.0",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": "0.6.10",
"primeng": "1.0.0-rc.2",
"primeui": "4.1.8"
},
"devDependencies": {
"concurrently": "^2.0.0",
"lite-server": "^2.1.0",
"typescript": "^1.8.9",
"typings": "^0.7.9"
}
}
After npm install I see some WARN-s in console.
npm WARN #angular/common#2.0.2 requires a peer of #angular/core#2.0.2 but none was installed.
npm WARN #angular/compiler#2.0.2 requires a peer of #angular/core#2.0.2 but none was installed.
npm WARN #angular/core#2.0.1 requires a peer of rxjs#5.0.0-beta.12 but none was installed.
npm WARN #angular/core#2.0.1 requires a peer of zone.js#^0.6.21 but none was installed.
npm WARN #angular/forms#2.0.2 requires a peer of #angular/core#2.0.2 but none was installed.
npm WARN #angular/http#2.0.2 requires a peer of rxjs#5.0.0-beta.12 but none was installed.
npm WARN #angular/http#2.0.2 requires a peer of #angular/core#2.0.2 but none was installed.
npm WARN #angular/platform-browser#2.0.2 requires a peer of #angular/core#2.0.2 but none was installed.
npm WARN #angular/platform-browser-dynamic#2.0.2 requires a peer of #angular/core#2.0.2 but none was installed.
npm WARN #angular/router#3.0.2 requires a peer of #angular/core#2.0.2 but none was installed.
npm WARN #angular/router#3.0.2 requires a peer of rxjs#5.0.0-beta.12 but none was installed.
npm WARN #angular/router-deprecated#2.0.0-rc.1 requires a peer of #angular/core#2.0.0-rc.1 but none was installed.
npm WARN #angular/router-deprecated#2.0.0-rc.1 requires a peer of #angular/common#2.0.0-rc.1 but none was installed.
npm WARN #angular/router-deprecated#2.0.0-rc.1 requires a peer of #angular/platform-browser#2.0.0-rc.1 but none was installed.
npm WARN #angular/upgrade#2.0.2 requires a peer of #angular/core#2.0.2 but none was installed.
npm WARN angular-in-memory-web-api#0.1.14 requires a peer of reflect-metadata#~0.1.8 but none was installed.
npm WARN angular-in-memory-web-api#0.1.14 requires a peer of rxjs#5.0.0-beta.12 but none was installed.
npm WARN angular-in-memory-web-api#0.1.14 requires a peer of zone.js#^0.6.26 but none was installed.
npm WARN angular2-in-memory-web-api#0.0.11 requires a peer of #angular/core#2.0.0-rc.1 but none was installed.
npm WARN angular2-in-memory-web-api#0.0.11 requires a peer of #angular/http#2.0.0-rc.1 but none was installed.
npm WARN angular2-in-memory-web-api#0.0.11 requires a peer of reflect-metadata#^0.1.3 but none was installed.
npm WARN angular2-in-memory-web-api#0.0.11 requires a peer of rxjs#5.0.0-beta.6 but none was installed.
npm WARN angular2-in-memory-web-api#0.0.11 requires a peer of zone.js#^0.6.12 but none was installed.
npm WARN ng2-http-client#0.2.0 requires a peer of rxjs#^5.0.0-beta.12 but none was installed.
npm WARN ng2-http-client#0.2.0 requires a peer of zone.js#^0.6.25 but none was installed.
npm WARN ng2-http-client#0.2.0 requires a peer of reflect-metadata#^0.1.8 but none was installed.
npm WARN primeng#1.0.0-rc.2 No repository field.
How I can fix this problem? If I'm changing the library versions I receive other WARN-s conflicts
Related
While attempting some tests with #testing-library-react I tried to -unsuccesfully- install msw I noticed these npm WARN:
npm WARN airbnb-prop-types#2.16.0 requires a peer of react#^0.14 || ^15.0.0 || ^16.0.0-alpha but none is installed. You must install peer dependencies yourself.
npm WARN enzyme-adapter-react-16#1.15.6 requires a peer of react#^16.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN enzyme-adapter-react-16#1.15.6 requires a peer of react-dom#^16.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN react-test-renderer#16.14.0 requires a peer of react#^16.14.0 but none is installed. You must install peer dependencies yourself.
npm WARN enzyme-adapter-utils#1.14.0 requires a peer of react#0.13.x || 0.14.x || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself.
following to npm ERR!
npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path C:\xampp\htdocs\react\React-Laravel\vinos-gdl\node_modules\#open-draft\until
npm ERR! dest C:\xampp\htdocs\react\React-Laravel\vinos-gdl\node_modules\#open-draft\.until.DELETE
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\xampp\htdocs\react\React-Laravel\vinos-gdl\node_modules\#open-draft\until' -> 'C:\xampp\htdocs\react\React-Laravel\vinos-gdl\node_modules\#open-draft\.until.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
I don't understand what im getting required a peer of react when my current react and react-dom version is 17.0.2. So I'm not quite sure how to fix those WARN which apparently are not letting me to install related packages.
I've already tried deleting node_modules, package.json.lock, running npm cache clean and npm i with not much luck.
If I npm list I'd get at the end the same:
npm ERR! peer dep missing: react#^16.0.0-0, required by enzyme-adapter-react-16#1.15.6
npm ERR! peer dep missing: react-dom#^16.0.0-0, required by enzyme-adapter-react-16#1.15.6
npm ERR! peer dep missing: react#^16.14.0, required by react-test-renderer#16.14.0
npm ERR! peer dep missing: react#0.13.x || 0.14.x || ^15.0.0-0 || ^16.0.0-0, required by enzyme-adapter-utils#1.14.0
npm ERR! peer dep missing: react#^0.14 || ^15.0.0 || ^16.0.0-alpha, required by airbnb-prop-types#2.16.0
Package.json:
{
"private": true,
"scripts": {
"dev": "npm run development",
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"prod": "npm run production",
"production": "mix --production",
"test": "jest --watchAll"
},
"devDependencies": {
"#babel/preset-react": "^7.12.13",
"#testing-library/jest-dom": "5.11.9",
"#testing-library/react": "^11.2.5",
"axios": "^0.21.1",
"bootstrap": "^4.6.0",
"jquery": "^3.2",
"laravel-mix": "^6.0.13",
"lodash": "^4.17.21",
"popper.js": "^1.16.1",
"postcss": "^8.2.8",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"resolve-url-loader": "^3.1.2",
"sass": "^1.32.8",
"sass-loader": "^8.0.2"
},
"dependencies": {
"#babel/plugin-transform-runtime": "^7.13.10",
"#fortawesome/fontawesome-svg-core": "^1.2.35",
"#fortawesome/free-brands-svg-icons": "^5.15.3",
"#fortawesome/free-solid-svg-icons": "^5.15.3",
"#fortawesome/react-fontawesome": "^0.1.14",
"downshift": "^6.1.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.1",
"jest": "^26.6.3",
"react-bootstrap": "^1.5.0",
"react-multi-carousel": "^2.6.2",
"react-paginate": "^7.1.2",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-select": "^4.3.0",
"react-test-renderer": "^17.0.2",
"react-toastify": "^7.0.3"
},
"babel": {
"presets": [
"#babel/preset-react",
"#babel/preset-env"
],
"plugins": [
"#babel/plugin-transform-react-jsx",
"#babel/plugin-transform-runtime"
]
}
}
Well, apparently running the last version of react andd react-dom which is atm 17.0.2 was not the best idea. I rolled back to the 16.14.0 and everything is working fine.
I found here (How to fix Npm missing peer dependency) that the ^ is kind of misleading.
ie:
requires a peer of react#^15.0.0 || ^16.0.0
Meaning that it requires >15.0.0 but < 17.0.
I am getting following error when I am trying to run the command npm install react react-dom
npm install react react-dom
- base62#1.2.0 node_modules/base62
- esprima-fb#15001.1.0-dev-harmony-fb node_modules/jstransform/node_modules/esprima-fb
- object-assign#2.1.1 node_modules/jstransform/node_modules/object-assign
- source-map#0.4.4 node_modules/jstransform/node_modules/source-map
- jstransform#11.0.3 node_modules/jstransform
- envify#3.4.1 node_modules/envify
/prd/dir/UI
├─┬ UNMET PEER DEPENDENCY react#16.2.0
│ └── fbjs#0.8.16
└─┬ UNMET PEER DEPENDENCY react-dom#16.2.0
└── fbjs#0.8.16
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents#1.1.3
npm WARN enoent ENOENT: no such file or directory, open '/prd/dir/UI/package.json'
npm WARN react-simple-dropdown#3.2.0 requires a peer of react#0.14.x || 15.x but none was installed.
npm WARN react-simple-dropdown#3.2.0 requires a peer of react-dom#0.14.x || 15.x but none was installed.
npm WARN reflux#0.2.13 requires a peer of react#>=0.12.2 <0.15.0 but none was installed.
npm WARN UI No description
npm WARN UI No repository field.
npm WARN UI No README data
npm WARN UI No license field.
npm ERR! code 1
Follow are my dev dependencies:
"devDependencies": {
"babel-core": "^5.8.25",
"babelify": "^6.1.x",
"browser-sync": "^2.7.13",
"browserify": "^10.2.6",
"debowerify": "^1.3.1",
"del": "^1.2.0",
"eslint-plugin-react": "^3.6.3",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^2.3.1",
"gulp-if": "^1.2.5",
"gulp-imagemin": "^2.3.0",
"gulp-notify": "^2.2.0",
"gulp-rename": "^1.2.2",
"gulp-sass": "^2.0.x",
"gulp-sourcemaps": "^1.5.2",
"gulp-streamify": "0.0.5",
"gulp-uglify": "^1.2.0",
"gulp-util": "^3.0.6",
"history": "^1.12.5",
"humps": "^0.6.0",
"lodash": "^3.10.0",
"react": "^0.13.x",
"react-document-title": "^1.0.2",
"react-router": "^1.0.0-rc1",
"reflux": "^0.2.9",
"run-sequence": "^1.1.1",
"superagent": "^1.2.0",
"vinyl-source-stream": "^1.1.0",
"watchify": "^3.2.x"
}
In order to install a specific version of the npm package, you can mention the version at the end like
npm install -S react#0.13.x
However, I would highly recommend you to go with the latest versions. Also React-DOM was created as a separate package only from version 0.14.0 and hence is not needed before that. Check this answer react vs react DOM confusion
I use Ionic v2.1.8 and when I run the command "npm install" I have a lot of warn like this :
C:\xampp\htdocs\AppFineMobile>npm install
npm WARN #angular/compiler#2.4.8 requires a peer of #angular/core#2.4.8 but none was installed.
npm WARN #angular/compiler-cli#2.4.8 requires a peer of #angular/core#2.4.8 but none was installed.
npm WARN #angular/forms#2.4.8 requires a peer of #angular/core#2.4.8 but none was installed.
npm WARN #angular/forms#2.4.8 requires a peer of #angular/common#2.4.8 but none was installed.
npm WARN #angular/http#2.4.8 requires a peer of #angular/core#2.4.8 but none was installed.
npm WARN #angular/http#2.4.8 requires a peer of #angular/platform-browser#2.4.8 but none was installed.
npm WARN #angular/platform-browser-dynamic#2.4.8 requires a peer of #angular/core#2.4.8 but none was installed.
npm WARN #angular/platform-browser-dynamic#2.4.8 requires a peer of #angular/common#2.4.8 but none was installed.
npm WARN #angular/platform-browser-dynamic#2.4.8 requires a peer of #angular/platform-browser#2.4.8 but none was installed.
npm WARN #angular/platform-server#2.4.8 requires a peer of #angular/core#2.4.8 but none was installed.
npm WARN #angular/platform-server#2.4.8 requires a peer of #angular/common#2.4.8 but none was installed.
npm WARN #angular/platform-server#2.4.8 requires a peer of #angular/platform-browser#2.4.8 but none was installed.
npm WARN ionic-angular#2.2.0 requires a peer of #angular/common#2.4.8 but none was installed.
npm WARN ionic-angular#2.2.0 requires a peer of #angular/core#2.4.8 but none was installed.
npm WARN ionic-angular#2.2.0 requires a peer of #angular/platform-browser#2.4.8 but none was installed.
npm WARN ionic-angular#2.2.0 requires a peer of rxjs#5.0.1 but none was installed.
npm WARN ionic-angular#2.2.0 requires a peer of zone.js#0.7.2 but none was installed.
My package.json file :
{
"name": "ionic-hello-world",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"test": "ng test"
},
"config": {
"ionic_copy": "./config/copy.config.js"
},
"dependencies": {
"#angular/common": "^2.4.0",
"#angular/compiler": "^2.4.0",
"#angular/compiler-cli": "^2.4.0",
"#angular/core": "^2.4.0",
"#angular/forms": "^2.4.0",
"#angular/http": "^2.4.0",
"#angular/platform-browser": "^2.4.0",
"#angular/platform-browser-dynamic": "^2.4.0",
"#angular/platform-server": "^2.4.0",
"#angular/router": "^3.4.0",
"#ionic/storage": "2.0.0",
"font-awesome": "^4.7.0",
"ionic-angular": "2.2.0",
"ionic-native": "2.4.1",
"ionicons": "3.0.0",
"rxjs": "^5.1.0",
"sw-toolbox": "3.4.0",
"zone.js": "^0.7.6"
},
"devDependencies": {
"#angular/cli": "^1.0.0",
"#ionic/app-scripts": "1.1.4",
"codecov": "^2.1.0",
"jasmine-core": "^2.5.2",
"karma": "^1.5.0",
"karma-chrome-launcher": "^2.0.0",
"karma-jasmine": "^1.1.0",
"karma-mocha-reporter": "^2.2.3",
"karma-remap-istanbul": "^0.6.0",
"typescript": "2.0.9"
},
"cordovaPlugins": [
"cordova-plugin-whitelist",
"cordova-plugin-console",
"cordova-plugin-statusbar",
"cordova-plugin-device",
"ionic-plugin-keyboard",
"cordova-plugin-splashscreen"
],
"cordovaPlatforms": [],
"description": "AppFineMobile: An Ionic project"
}
I don't understand because I have these modules on my node_modules folder. And when I tried to install one of them, I keep the warn with another npm install.
I really don't understand and I don't know how to solve that
You just need to update all your angular packages to 2.4.8.Also your ionic-angular package is 2.2.0.
Change:
"#angular/common": "^2.4.8",
"#angular/compiler": "^2.4.8",
"#angular/compiler-cli": "^2.4.8",
"#angular/core": "^2.4.8",
"#angular/forms": "^2.4.8",
"#angular/http": "^2.4.8",
"#angular/platform-browser": "^2.4.8",
"#angular/platform-browser-dynamic": "^2.4.8",
"#angular/platform-server": "^2.4.8",
Also
"rxjs": "^5.0.1",
"zone.js" :"0.7.2"
Clear your node_modules folder in case of issues and do:
npm install
Hello everybody so i've ran into some issues as I am learning Angular. I initially watched thenewboston's Angular 2 tutorial. When i finished that I then proceeded to follow Angular's quick start tutorial.The two are very similar, but in bucky's its set up to make js files out of ts files. I updated the package.json by according to the errors, but when I run npm install it gives me errors that a certain package is need. More importantly i feel as if this is somehow affecting the behavior cause I cant nest the component as in Angular's hero list tutorial. package.json:
{
"name": "angular-2",
"version": "1.0.0",
"scripts": {
"start": "concurrently \"npm run tsc:w\" \"npm run lite\" ",
"tsc": "tsc",
"tsc:w": "tsc -w",
"lite": "lite-server",
"typings": "typings",
"postinstall": "typings install"
},
"license": "ISC",
"dependencies": {
"angular2": "2.0.0-beta.21",
"systemjs": "0.19.41",
"es6-shim": "^0.35.0",
"reflect-metadata": "0.1.9",
"rxjs": "5.0.0-rc.4",
"rxjs": "5.0.1",
"rxjs": "5.0.0-beta.6",
"zone.js": "0.6.12"
},
"devDependencies": {
"concurrently": "^3.1.0",
"lite-server": "^2.1.0",
"rxjs": "5.0.0-rc.4",
"typescript": "^2.1.4",
"typings": "^2.1.0"
}
}
npm WARN #angular/core#2.3.1 requires a peer of
rxjs#5.0.0-rc.4 but none was installed. npm WARN #angular/core#2.3.1
requires a peer of zone.js#^0.7.2 but none was installed. npm WARN
#angular/http#2.3.1 requires a peer of rxjs#5.0.0-rc.4 but none was
installed. npm WARN #angular/router#3.3.1 requires a peer of
rxjs#5.0.0-rc.4 but none was installed. npm WARN
angular-in-memory-web-api#0.2.2 requires a peer of rxjs#5.0.1 but none
was installed. npm WARN angular-in-memory-web-api#0.2.2 requires a
peer of zone.js#^0.7.4 but none was installed. npm WARN
angular2#2.0.0-beta.21 requires a peer of reflect-metadata#0.1.2 but
none was installed. npm WARN angular-2#1.0.0 No repository field.
Remove the extra rxjs entries in the dependencies. npm works by reading the dependencies list and semantic version numbers to determine what actual version of a particular dependency to install. Believe removing rxjs will alleviate the immediate issue of the npm warnings. Regarding the nested components it should probably be it's own question but either way would need to see the actual source.
I am trying to update Angular2 to the latest version release candidate 4.
I have executed npm outdated and edited accordingly the package.json file.
Then I have executed npm update which failed. I haven't saved the error message. In the following I googled and tried several different npm commands. Unfortunately I cannot recall them.
The current status is, that npm update does not show anything; so seems to work.
The command npm start starts the server, but the browser console displays multiple errors. The first is:
http://localhost:3000/node_modules/#angular/platform-browser-dynamic/platform-browser-dynamic.umd.js Failed to load resource: the server responded with a status of 404 (Not Found)
Besides npm install shows the following warnings:
typings WARN deprecated 2016-06-02: "registry:dt/core-js#0.0.0+20160317120654" is deprecated (updated, replaced or removed)
typings WARN deprecated 2016-06-22: "registry:dt/node#4.0.0+20160509154515" is deprecated (updated, replaced or removed)
typings WARN deprecated 2016-06-22: "registry:dt/jasmine#2.2.0+20160505161446" is deprecated (updated, replaced or removed)
├── core-js (global)
├── jasmine (global)
└── node (global)
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents#1.0.12
npm WARN optional Skipping failed optional dependency /lite-server/browser-sync/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents#1.0.12
npm WARN #angular/core#2.0.0-rc.4 requires a peer of rxjs#5.0.0-beta.6 but none was installed.
npm WARN #angular/http#2.0.0-rc.4 requires a peer of rxjs#5.0.0-beta.6 but none was installed.
npm WARN #angular/router#3.0.0-beta.2 requires a peer of rxjs#5.0.0-beta.6 but none was installed.
npm WARN #angular/router-deprecated#2.0.0-rc.1 requires a peer of #angular/core#2.0.0-rc.1 but none was installed.
npm WARN #angular/router-deprecated#2.0.0-rc.1 requires a peer of #angular/common#2.0.0-rc.1 but none was installed.
npm WARN #angular/router-deprecated#2.0.0-rc.1 requires a peer of #angular/platform-browser#2.0.0-rc.1 but none was installed.
npm WARN angular2-in-memory-web-api#0.0.14 requires a peer of rxjs#5.0.0-beta.6 but none was installed.
The package.json relevant parts are currently:
"dependencies": {
"#angular/common": "2.0.0-rc.4",
"#angular/compiler": "2.0.0-rc.4",
"#angular/core": "2.0.0-rc.4",
"#angular/http": "2.0.0-rc.4",
"#angular/platform-browser": "2.0.0-rc.4",
"#angular/platform-browser-dynamic": "2.0.0-rc.4",
"#angular/router": "3.0.0-beta.2",
"#angular/upgrade": "2.0.0-rc.4",
"angular2-in-memory-web-api": "0.0.14",
"angular2-uuid": "^1.0.7",
"bootstrap": "^3.3.6",
"core-js": "^2.4.0",
"reflect-metadata": "^0.1.3",
"rxjs": "5.0.0-beta.9",
"systemjs": "0.19.31",
"zone.js": "^0.6.12"
},
"devDependencies": {
"concurrently": "^2.0.0",
"lite-server": "^2.2.0",
"typescript": "^1.8.10",
"typings": "^1.0.4",
"canonical-path": "0.0.2",
"http-server": "^0.9.0",
"tslint": "^3.7.4",
"lodash": "^4.11.1",
"jasmine-core": "~2.4.1",
"karma": "^1.1.0",
"karma-chrome-launcher": "^1.0.1",
"karma-cli": "^1.0.1",
"karma-htmlfile-reporter": "^0.3.4",
"karma-jasmine": "^1.0.2",
"protractor": "^3.3.0",
"rimraf": "^2.5.2"
},
Follow these steps:
Delete node_modules folder.
Take latest package.json from https://angular.io/guide/quickstart
Run 'npm install' command.
In typings.json one must update to new registry value, if problem shows up for core-js
"core-js": "registry:dt/core-js#0.0.0+20160317120654"
to
"core-js": "registry:dt/core-js#0.0.0+20160725163759"
https://github.com/mgechev/angular2-seed/commit/8a8c64e0e8b18cd0c19c1ab2f1dc71a30bbd6174
This might be outdated but your typings were never addressed. Given that you would want to always keep them up to date. Also for anyone else seeking to know about the update process
Here is how you could update/reinstall them
Example:
For your node to update it simply type
typings install dt~node --save --global
The following will update your node typings which would be in /typings/global/node
If you did not have node the same command would suffice and your index.d.ts will also be update with a new entry!