From 3028e231618123bcd756b0bd5f0100ea67deafaf Mon Sep 17 00:00:00 2001 From: zyyang Date: Wed, 28 Oct 2020 13:32:16 +0800 Subject: [PATCH] update the readme-win.md --- tests/examples/nodejs/README-win.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/examples/nodejs/README-win.md b/tests/examples/nodejs/README-win.md index 703f981d33..75fec69413 100644 --- a/tests/examples/nodejs/README-win.md +++ b/tests/examples/nodejs/README-win.md @@ -63,13 +63,18 @@ Query OK, 1 row(s) in set (0.036000s) npm init ``` -(2)安装td2.0-connector驱动 +(2)安装windows-build-tools +``` +npm install --global --production windows-build-tools +``` + +(3)安装td2.0-connector驱动 ``` tdshell npm install td2.0-connector ``` -(3)nodejs访问tdengine的示例程序 +(4)nodejs访问tdengine的示例程序 ```javascript const taos = require('td2.0-connector'); @@ -133,7 +138,7 @@ function printSql(sql, succeed, cost) { } ``` -(4)测试nodejs程序 +(5)测试nodejs程序 ```shell >node nodejsChecker.js -- GitLab