Group Details Private

administrators

Member List

  • RE: 如何在本地使用dashboard里的标签

    在命令面板里搜索 dashboard 安装
    或者在 node-red 数据目录下 npm i node-red-dashboard

    posted in 创造 | Create
  • RE: 入门小脑洞(一):创建一个应用

    之前已经修复,现在可以注册的哈。

    posted in 入门 | Tutorial
  • RE: 安装node-red-node-sqlite节点总是错误,是什么原因(已解决)

    看了下你的安装日志,看起来可能是npm的包管理同步的问题。
    hk77cn/aaa 这个应用中:

    $ cat npm-debug.log
    0 info it worked if it ends with ok
    1 verbose cli [ '/usr/local/bin/node',
    1 verbose cli   '/usr/local/bin/npm',
    1 verbose cli   'install',
    1 verbose cli   '--save',
    1 verbose cli   '--save-prefix="~"',
    1 verbose cli   '--production',
    1 verbose cli   'node-red-node-sqlite@0.2.3' ]
    2 info using npm@3.10.10
    3 info using node@v6.10.0
    4 silly loadCurrentTree Starting
    5 silly install loadCurrentTree
    6 silly install readLocalPackageData
    7 silly fetchPackageMetaData node-red-node-sqlite@0.2.3
    8 silly fetchNamedPackageData node-red-node-sqlite
    9 silly mapToRegistry name node-red-node-sqlite
    10 silly mapToRegistry using default registry
    11 silly mapToRegistry registry https://registry.npm.taobao.org/
    12 silly mapToRegistry data Result {
    12 silly mapToRegistry   raw: 'node-red-node-sqlite',
    12 silly mapToRegistry   scope: null,
    12 silly mapToRegistry   escapedName: 'node-red-node-sqlite',
    12 silly mapToRegistry   name: 'node-red-node-sqlite',
    12 silly mapToRegistry   rawSpec: '',
    12 silly mapToRegistry   spec: 'latest',
    12 silly mapToRegistry   type: 'tag' }
    13 silly mapToRegistry uri https://registry.npm.taobao.org/node-red-node-sqlite
    14 verbose get https://registry.npm.taobao.org/node-red-node-sqlite not expired, no request
    15 silly fetchNamedPackageData No valid target from cache, forcing network
    16 verbose request uri https://registry.npm.taobao.org/node-red-node-sqlite
    17 verbose request no auth needed
    18 info attempt registry request try #1 at 4:45:10 AM
    19 verbose request id bf3158ca24f7cac2
    20 http request GET https://registry.npm.taobao.org/node-red-node-sqlite
    21 http 200 https://registry.npm.taobao.org/node-red-node-sqlite
    22 verbose headers { date: 'Sat, 16 Jun 2018 04:45:11 GMT',
    22 verbose headers   'content-type': 'application/json; charset=utf-8',
    22 verbose headers   'transfer-encoding': 'chunked',
    22 verbose headers   connection: 'keep-alive',
    22 verbose headers   'x-current-requests': '1',
    22 verbose headers   'x-readtime': '23',
    22 verbose headers   'content-encoding': 'gzip' }
    23 silly get cb [ 200,
    23 silly get   { date: 'Sat, 16 Jun 2018 04:45:11 GMT',
    23 silly get     'content-type': 'application/json; charset=utf-8',
    23 silly get     'transfer-encoding': 'chunked',
    23 silly get     connection: 'keep-alive',
    23 silly get     'x-current-requests': '1',
    23 silly get     'x-readtime': '23',
    23 silly get     'content-encoding': 'gzip' } ]
    24 verbose get saving node-red-node-sqlite to /usr/src/node-red/.npm/registry.npm.taobao.org/node-red-node-sqlite/.cache.json
    25 verbose correctMkdir /usr/src/node-red/.npm correctMkdir not in flight; initializing
    26 silly fetchPackageMetaData Error: No compatible version found: node-red-node-sqlite@0.2.3
    26 silly fetchPackageMetaData Valid install targets:
    26 silly fetchPackageMetaData 0.2.2, 0.2.1, 0.2.0, 0.1.2, 0.1.1, 0.1.0, 0.0.7, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1
    26 silly fetchPackageMetaData
    26 silly fetchPackageMetaData     at pickVersionFromRegistryDocument (/usr/local/lib/node_modules/npm/lib/fetch-package-metadata.js:178:16)
    26 silly fetchPackageMetaData     at /usr/local/lib/node_modules/npm/node_modules/iferr/index.js:13:50
    26 silly fetchPackageMetaData     at /usr/local/lib/node_modules/npm/lib/utils/pulse-till-done.js:20:8
    26 silly fetchPackageMetaData     at saved (/usr/local/lib/node_modules/npm/lib/cache/caching-client.js:174:7)
    26 silly fetchPackageMetaData     at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:241:18
    26 silly fetchPackageMetaData     at FSReqWrap.oncomplete (fs.js:123:15)
    26 silly fetchPackageMetaData  error for node-red-node-sqlite@0.2.3 { Error: No compatible version found: node-red-node-sqlite@0.2.3
    26 silly fetchPackageMetaData Valid install targets:
    26 silly fetchPackageMetaData 0.2.2, 0.2.1, 0.2.0, 0.1.2, 0.1.1, 0.1.0, 0.0.7, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1
    26 silly fetchPackageMetaData
    26 silly fetchPackageMetaData     at pickVersionFromRegistryDocument (/usr/local/lib/node_modules/npm/lib/fetch-package-metadata.js:178:16)
    26 silly fetchPackageMetaData     at /usr/local/lib/node_modules/npm/node_modules/iferr/index.js:13:50
    26 silly fetchPackageMetaData     at /usr/local/lib/node_modules/npm/lib/utils/pulse-till-done.js:20:8
    26 silly fetchPackageMetaData     at saved (/usr/local/lib/node_modules/npm/lib/cache/caching-client.js:174:7)
    26 silly fetchPackageMetaData     at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:241:18
    26 silly fetchPackageMetaData     at FSReqWrap.oncomplete (fs.js:123:15) code: 'ETARGET' }
    27 silly rollbackFailedOptional Starting
    28 silly rollbackFailedOptional Finishing
    29 silly runTopLevelLifecycles Finishing
    30 silly install printInstalled
    31 verbose stack Error: No compatible version found: node-red-node-sqlite@0.2.3
    31 verbose stack Valid install targets:
    31 verbose stack 0.2.2, 0.2.1, 0.2.0, 0.1.2, 0.1.1, 0.1.0, 0.0.7, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1
    31 verbose stack
    31 verbose stack     at pickVersionFromRegistryDocument (/usr/local/lib/node_modules/npm/lib/fetch-package-metadata.js:178:16)
    31 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/iferr/index.js:13:50
    31 verbose stack     at /usr/local/lib/node_modules/npm/lib/utils/pulse-till-done.js:20:8
    31 verbose stack     at saved (/usr/local/lib/node_modules/npm/lib/cache/caching-client.js:174:7)
    31 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:241:18
    31 verbose stack     at FSReqWrap.oncomplete (fs.js:123:15)
    32 verbose cwd /data
    33 error Linux 3.13.0-101-generic
    34 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "--save-prefix=\"~\"" "--production" "node-red-node-sqlite@0.2.3"
    35 error node v6.10.0
    36 error npm  v3.10.10
    37 error code ETARGET
    38 error notarget No compatible version found: node-red-node-sqlite@0.2.3
    38 error notarget Valid install targets:
    38 error notarget 0.2.2, 0.2.1, 0.2.0, 0.1.2, 0.1.1, 0.1.0, 0.0.7, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1
    39 error notarget This is most likely not a problem with npm itself.
    39 error notarget In most cases you or one of your dependencies are requesting
    39 error notarget a package version that doesn't exist.
    40 verbose exit [ 1, true ]
    

    我刚才试了一下,现在可以正常安装了。

    posted in 反馈 | FAQ
  • RE: inject输入指定时间无法触发(已解决) posted in 反馈 | FAQ
  • RE: 控制台注册不成功(已解决)

    现在可以了,请再次尝试。
    之前由于 exmail 强制启动了双重验证导致服务端无法正常发送邮件。

    posted in 反馈 | FAQ
  • RE: 入门小脑洞(一):创建一个应用

    @逐末 在论坛注册不上,还是在goiot.cc呢?

    posted in 入门 | Tutorial
  • RE: 当咕咕机遇上node-red

    @shenyu1996 你这已经很犀利啦,这么快就玩得66🐮 的了,祝用得愉快~

    posted in 创造 | Create
  • RE: 当咕咕机遇上node-red

    @shenyu1996 👍
    我看了一下 memobirdtext 节点的实现,里面用到了 async,根据 node.green 的表格,async 在 es2017 的支持需要 node 版本 > 7.x,而目前 Go.IoT 上用于启动 Node-RED 的线上环境还在 Node v6 LTS 的版本上,所以会出现注册节点失败的情况。

    猜测你的 windows 环境中 node 的版本应该是 > 7.x 的,所以顺利注册成功。可以参考你的启动日志。

    Welcome to Node-RED
    ===================
    
    2 Sep 04:44:13 - [info] Node-RED version: v0.17.5
    2 Sep 04:44:13 - [info] Node.js  version: v6.10.0
    2 Sep 04:44:13 - [info] Linux 3.19.0-25-generic x64 LE
    2 Sep 04:44:13 - [info] Loading palette nodes
    2 Sep 04:44:14 - [info] Dashboard version 2.4.3 started at /ui
    2 Sep 04:44:15 - [warn] ------------------------------------------------------
    2 Sep 04:44:15 - [warn] [memobirdtext] SyntaxError: Unexpected token (
    2 Sep 04:44:15 - [warn] ------------------------------------------------------
    

    按 Node.js 的发布计划,到今年10月会确定一个8.xLTS版本。不过我们可以先切到一个 8.x 上线运行,估计问题也不大。

    Release LTS Status Codename Active LTS Start Maintenance Start Maintenance End
    v0.10.x End-of-Life - - 2015-10-01 2016-10-31
    v0.12.x End-of-Life - - 2016-04-01 2016-12-31
    4.x Maintenance Argon 2015-10-01 2017-04-01 April 2018
    5.x No LTS
    6.x Active Boron 2016-10-18 April 2018 April 2019
    7.x No LTS
    8.x Pending Carbon October 2017 April 2019 December 2019
    9.x No LTS
    10.x Pending Pending October 2018 April 2020 April 2021
    posted in 创造 | Create
  • RE: 当咕咕机遇上node-red

    @shenyu1996 可以的,node-red社区的npm包同步规则是只要命名为node-red-contrib-*,记得好像是十分钟从npm服务器同步一次,就可以在节点管理面板中直接安装了

    posted in 创造 | Create
  • RE: 当咕咕机遇上node-red

    棒棒哒 👍
    这个让我想起了之前有个歪果小哥做了一个焚毁川普同学的 twitter 言论的小玩意,
    大概就是用一个后台去实时获取 twitter 上川普的新言论,然后发送给一台小打印机打印出来,再关联控制一个机械手臂去夹取这张纸条,并放到火上烧掉🔥

    好像就是这个😂

    posted in 创造 | Create

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.