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

单个区块或者业务组件的 start 命令执行报错 #2892

Closed
zhaiqiang1987 opened this issue Oct 31, 2019 · 4 comments
Closed

单个区块或者业务组件的 start 命令执行报错 #2892

zhaiqiang1987 opened this issue Oct 31, 2019 · 4 comments

Comments

@zhaiqiang1987
Copy link

单个区块或者业务组件的 start 命令改为:../../node_modules/.bin/ice-scripts dev --config ../../ice.block.config.js

执行npm run start 报.'..' 不是内部或外部命令,也不是可运行的程序

@imsobear
Copy link
Collaborator

react-materials 吗?项目根目录下安装下依赖

@zhaiqiang1987
Copy link
Author

react-materials 吗?项目根目录下安装下依赖

根目录依赖都安装了的,react-materials-master跟区块目录下都安装过的。

是我这边node没法识别"../../"这种形式吧?要安装什么插件才能解析这个路径吗?

@imsobear
Copy link
Collaborator

@zhaiqiang1987 windows 吧,你在命令行直接执行 ../../node_modules/.bin/ice-scripts dev --config ../../ice.block.config.js 试试呢,或者把路径换成 windows 的写法再试试

@zhaiqiang1987
Copy link
Author

这样写就可以了..\..\node_modules\.bin\ice-scripts dev --config ..\..\ice.block.config.js
多谢指导~!

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

2 participants