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

我的跑不起来,提示报错啦 #1

Closed
ancientry opened this issue Mar 21, 2017 · 10 comments
Closed

我的跑不起来,提示报错啦 #1

ancientry opened this issue Mar 21, 2017 · 10 comments

Comments

@ancientry
Copy link

fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^

Error: ENOENT: no such file or directory, open 'C:\Users\HP\cer\key'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.readFileSync (fs.js:397:15)
at createProxyServer (D:\Hero\server\her.js:48:12)
at her (D:\Hero\server\her.js:172:5)
at Object. (D:\Hero\server\her.js:176:1)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)

刚刚接触,麻烦您帮忙解答下

@gpliu
Copy link
Member

gpliu commented Mar 21, 2017

需要cd 到server 目录运行node her.js ,https的证书文件是相对地址

@ancientry
Copy link
Author

大牛:您好
可以运行了,按照首页下载hero_moblie报错了,请教您下下
代码如下:
C:\Users\HP>cd /d d:

D:>cd hero

D:\hero>npm install hero-mobile
D:\hero
`-- hero-mobile@1.0.1

npm WARN enoent ENOENT: no such file or directory, open 'D:\hero\package.json'
npm WARN hero No description
npm WARN hero No repository field.
npm WARN hero No README data
npm WARN hero No license field.

D:\hero>

@gpliu
Copy link
Member

gpliu commented Mar 22, 2017

按照github上的readme做吧,这是最近写的

@gpliu
Copy link
Member

gpliu commented Mar 22, 2017

由于涉及到不同的平台,iOS 用pod,android用marven,js用npm,所以以后npm只维护hero-js的版本。但是我目前没有维护它,目前业务上的事情很忙。

@ancientry
Copy link
Author

谢谢您回复,在麻烦请教您几个问题:1,我们开发app使用node.js吗?2:若是要开发app就是需要开发iOS 的pod,android的marven.js这两个了吗?还是怎么做呢?3:希望可以有一个教程文档,或者网站,空间主机我可以来提供,因为我发现这个确实很简单,但是就是那里有卡住了,希望可以学习通了,然后加入到hero里面来,谢谢您

@gpliu
Copy link
Member

gpliu commented Mar 22, 2017

nodejs用来做web服务,方便本地调试
iOS你直接把ios的工程放到你自己的工程里面去就好了,pod还是手动都可以。android一样。
下周可以做一些开源的事情。本周确实业务繁忙

@ancientry
Copy link
Author

ancientry commented Mar 22, 2017 via email

@ancientry
Copy link
Author

向您咨询下一个事情哈,我们做的app,比如相机,语音,地理位置这些底层api有吗?。

@gpliu
Copy link
Member

gpliu commented Mar 24, 2017

HeroPhotoView可以去取照片,相机
HeroLocationView可以去取位置,
语音我目前的业务没有用到,所以原生里面还没有这个元素,以后会有的

@ancientry
Copy link
Author

大牛,为啥GIT上面没有代码啥的了,是在更新吗?很期待这款产品呢

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