發表文章

目前顯示的是 4月, 2020的文章

npm 如何讓套件 更新到最新 wanted to lstest

先裝以下套件可以讓所有套件都更新到最新的 (ncu) Installation npm install -g npm-check-updates 安裝完後 執行 $ ncu $ ncu -u 就會顯示要升級的套件列表 要更新這些套件只需要執行以下cmd  npm install   這樣就全部更新好了!!!

typescript influxdb demo example

圖片
Go to  https://github.com/kirinchen/typescript-influxdb-example and clone this project first. Preparatory action Create env file  ./myconfig/typescript-influxdb-example.env the content is influxdata_url = {influxdata_url} influxdata_token = {influxdata_token} influxdata_org = {influxdata_org} influxdata_bucket = {influxdata_bucket} Replace those value : login  https://cloud2.influxdata.com/usage Load Data > Bucket Find influxdata_url / influxdata_org / influxdata_bucket go Tokens Tab , and generate new Toke , and copy token to influxdata_token done NPM Install Nodejs and Npm cmd go to project floder type  npm install Run type  npm run start