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

没办法从源码编译运行! #146

Open
fengwenhua opened this issue Jan 4, 2020 · 2 comments
Open

没办法从源码编译运行! #146

fengwenhua opened this issue Jan 4, 2020 · 2 comments

Comments

@fengwenhua
Copy link

运行完如下命令:

yarn
npm run dev:main

然后就卡在这里了...

image

@FastStonewkx
Copy link

解决了吗?我也不能编译

@fengwenhua
Copy link
Author

rm -rf node_modules
cnpm install
cnpm run dev:renderer

另起一个终端:

cp ./config/devconfig.example.json ./config/devconfig.json

安装React Developer ToolsRedux DevTools

编辑./config/devconfig.json, 其中的hua是我的用户名

{
    "extensions": [
        "/Users/hua/Library/Application Support/Google/Chrome/Default/Extensions/lmhkpmbekcpmknklioeibfkpmmfibljd/2.17.0_0",
        "/Users/hua/Library/Application Support/Google/Chrome/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi/4.8.2_0"
    ]
}

最后执行下面命令:

cnpm run dev:main

以后每次运行都是要起两个终端, 分别跑

cnpm run dev:renderer

image

cnpm run dev:main

image

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