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

ERROR in ./src/utils/asch-v2.js #83

Open
dacelee opened this issue Aug 17, 2018 · 2 comments
Open

ERROR in ./src/utils/asch-v2.js #83

dacelee opened this issue Aug 17, 2018 · 2 comments

Comments

@dacelee
Copy link

dacelee commented Aug 17, 2018

ERROR in ./src/utils/asch-v2.js
Module not found: Error: Can't resolve 'asch-js-v2' in '/root/asch-frontend-2/src/utils'
@ ./src/utils/asch-v2.js 1:0-32 5:16-22 20:11-17 31:11-17 40:11-17 50:11-17 60:11-17 70:11-17 80:11-17 90:11-17 100:11-17 110:11-17 120:11-17 130:11-17 140:11-17 150:11-17 160:11-17 170:11-17 181:11-17 191:11-17 201:11-17 211:11-17 221:11-17 231:11-17 241:11-17 251:11-17 261:11-17 271:11-17 281:11-17 291:11-17 301:11-17
@ ./src/store/actions.js
@ ./src/store/index.js
@ ./.quasar/entry.js
@ multi (webpack)-dev-server/client?http://0.0.0.0:8080 webpack/hot/dev-server ./.quasar/entry.js

@bassjobsen
Copy link
Contributor

bassjobsen commented Sep 12, 2018

@dacelee you can use the develop branch now:

> git clone --single-branch -b develop https://github.com/AschPlatform/asch-frontend-2.git
> cd asch-frontend-2
> yarn install
> quasar dev

The above connects to the mainnet. To connect to the localnet you'll have to edit ./src/utils/constants.js. It should look like that shown beneath:

const urls = {
  serverUrl: 'http://localhost:4096',
  // 区分 local 与 mainnet 的请求头参数
  magic: '594fe0f3',
  // 登录接口
  loginApi: {

@a1300
Copy link

a1300 commented Sep 14, 2018

@dacelee , @bassjobsen

You could also ran gulp dev and after that quasar dev to use the http://localhost:4096

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

3 participants