简体   繁体   English

Win10 上的 ioBroker

[英]ioBroker on Win10

all!全部!

What am I doing wrong or what am I missing?我做错了什么或我错过了什么? I try to install ioBroker on a Win10 server.我尝试在 Win10 服务器上安装 ioBroker。 I'll append a (kind of) log from the PowerShell session below.我将从下面的 PowerShell 会话中附加一个(某种)日志。

Additional: There is a Visual Studio 2019 Community and a Visual Studio Code installed.附加:安装了 Visual Studio 2019 社区和 Visual Studio Code。 I have not much experience with the Windows Build Tools (using VB.Net and C# until now), but it seems to me as if they are installed.我对 Windows 构建工具没有太多经验(到目前为止使用 VB.Net 和 C#),但在我看来,它们似乎已安装。 I have installed Node.JS (including NPM) and NVM, using Node.JS 16.13.0.我已经使用 Node.JS 16.13.0 安装了 Node.JS(包括 NPM)和 NVM。

I get no errors installing ioBroker, but no function either.我在安装 ioBroker 时没有遇到任何错误,但也没有任何功能。 It seems to me as if at least something is installed, getting all the subdirs below /iobroker, esp.在我看来,好像至少安装了一些东西,获取 /iobroker 下的所有子目录,尤其是。 the /iobroker/node_modules/iobroker subdir. /iobroker/node_modules/iobroker 子目录。 But there is no service to start with "net start iobroker".但是没有以“net start iobroker”开头的服务。

PS C:\Windows\system32> nvm -v
Running version 1.1.8.
[ . . . ]

PS C:\Windows\system32> nvm list available

|   CURRENT    |     LTS      |  OLD STABLE  | OLD UNSTABLE |
|--------------|--------------|--------------|--------------|
|    17.0.1    |   16.13.0    |   0.12.18    |   0.11.16    |
|    17.0.0    |   14.18.1    |   0.12.17    |   0.11.15    |
[ . . . ]

PS C:\Windows\system32> nvm list
  * 16.13.0 (Currently using 64-bit executable)

PS C:\Windows\system32> node -v
v16.13.0

PS C:\Windows\system32> npm -v
8.1.0

PS C:\Windows\system32> md \iobroker

PS C:\Windows\system32> cd \iobroker

PS C:\iobroker> npm install iobroker

added 60 packages, and audited 61 packages in 4s

6 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice
npm notice New patch version of npm available! 8.1.0 -> 8.1.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.1.2
npm notice Run npm install -g npm@8.1.2 to update!
npm notice

PS C:\iobroker> npm install --production

up to date, audited 61 packages in 676ms

6 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

PS C:\iobroker> dir -n

node_modules
package-lock.json
package.json

PS C:\iobroker> dir .\node_modules\ -n

.bin
ansi-regex
call-bind
[ . . . ]
yargs
yargs-parser
.package-lock.json

PS C:\iobroker> dir .\node_modules\iobroker\ -n

install
lib
.gitattributes
CHANGELOG_FIXER_LINUX.md
CHANGELOG_INSTALLER_LINUX.md
fix_installation.sh
LICENSE
package.json
README.md

It looks like you need npm6 to follow those installation notes.看起来您需要 npm6 来遵循这些安装说明。 Use

npm i -g npm@6

to downgrade.降级。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM