Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

steedos-web Cannot find module 'steedos-web' #1

Open
Blame4 opened this issue Jul 2, 2022 · 1 comment
Open

steedos-web Cannot find module 'steedos-web' #1

Blame4 opened this issue Jul 2, 2022 · 1 comment

Comments

@Blame4
Copy link

Blame4 commented Jul 2, 2022

使用该节点的时候,部署会发生错误,
测试的版本有:

npx create-steedos-node-red-app node-red-app 2.1.114

node-red 1.3.7 - @steedos/node-red-contrib-steedos": "2.0.1"
node-red 1.3.7 - @steedos/node-red-contrib-steedos": "2.0.2"
node-red 2.2.2 - @steedos/node-red-contrib-steedos": "2.0.1"
node-red 2.2.2 - @steedos/node-red-contrib-steedos": "2.0.2"

steedos/node-red:2.2.2

均会发生此错误

@Blame4
Copy link
Author

Blame4 commented Jul 2, 2022

解决方法:
@steedos/node-red-contribb-steedos/node_modules/.bin/index.js
line 501 - let ApiGatewayService = require("steedos-web");
line 501 +let ApiGatewayService = require("moleculer-web");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant