profile
viewpoint
Zhenfei You imyzf @NetEase Hangzhou https://www.imyzf.com A front-end developer.

weexteam/vue-render-for-apache-weex 126

vue-render-for-apache-weex is a third party plugin, and is not developed nor maintained by Apache Weex.

weexteam/vue-precompiler-for-apache-weex 4

vue-precompiler-for-apache-weex is a third party plugin, and is not developed nor maintained by Apache Weex.

imyzf/incubator-weex 1

Mirror of Apache Weex

evilucifero/node-tinyworm 0

This is a single-file tinyworm wriiten by Node.js.

imyzf/cnblogs-crawler 0

A cnblogs crawler test using node.js

imyzf/element 0

A Vue.js 2.0 UI Toolkit for Web

imyzf/incubator-weex-site 0

Mirror of Apache Weex (Incubating)

issue commentbytedance/debugtron

App’s stuck and dragging Electron app over causes JS error

Great! It works!

gryzzly

comment created time in 2 months

issue closeddracupid/global-npm

Error: Cannot find module 'npm' on Electron for macOS

Because Electron's ENV is not as same as cli, so it can't find npm.

Electron's ENV:

{
  "TMPDIR": "/var/folders/xxxxxxx/T/",
  "__CF_USER_TEXT_ENCODING": "xxxxxxxxxx",
  "SHELL": "/bin/zsh",
  "HOME": "/Users/xxxxxxx",
  "Apple_PubSub_Socket_Render": "/private/tmp/com.apple.launchd.xxxxxx/Render",
  "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.xxxxx/Listeners",
  "PATH": "/usr/bin:/bin:/usr/sbin:/sbin",
  "LOGNAME": "xxxxxxxx",
  "XPC_SERVICE_NAME": "com.electron.xxxxxxx54228",
  "USER": "xxxxxxx",
  "XPC_FLAGS": "0x0"
}

Suggestion: maybe to do something like shell-env to fix the problem.

  • macOS 10.14.6
  • electron: 4.2.4

closed time in 2 months

imyzf

issue commentdracupid/global-npm

Error: Cannot find module 'npm' on Electron for macOS

I'm using shell-env to sync env to process.env, then the issue fixed.

const shellEnv = require('shell-env');
Object.assign(process.env, shellEnv.sync());
imyzf

comment created time in 2 months

issue commentbytedance/debugtron

App’s stuck and dragging Electron app over causes JS error

is the drag feature working as expected?

No, it does nothing.

gryzzly

comment created time in 2 months

issue commentbytedance/debugtron

App’s stuck and dragging Electron app over causes JS error

The error is disappeared, but the spinner existed. Need I clean any storage file before update?

gryzzly

comment created time in 3 months

issue openeddracupid/global-npm

Error: Cannot find module 'npm' on Electron for macOS

Because Electron's ENV is not as same as cli, so it can't find npm.

Electron's ENV:

{
  "TMPDIR": "/var/folders/xxxxxxx/T/",
  "__CF_USER_TEXT_ENCODING": "xxxxxxxxxx",
  "SHELL": "/bin/zsh",
  "HOME": "/Users/xxxxxxx",
  "Apple_PubSub_Socket_Render": "/private/tmp/com.apple.launchd.xxxxxx/Render",
  "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.xxxxx/Listeners",
  "PATH": "/usr/bin:/bin:/usr/sbin:/sbin",
  "LOGNAME": "xxxxxxxx",
  "XPC_SERVICE_NAME": "com.electron.xxxxxxx54228",
  "USER": "xxxxxxx",
  "XPC_FLAGS": "0x0"
}

Suggestion: maybe to do something like shell-env to fix the problem.

  • macOS 10.14.6
  • electron: 4.2.4

created time in 3 months

issue commentbytedance/debugtron

App’s stuck and dragging Electron app over causes JS error

image

+1,only available when I opened at first time. When I open it again, it is stuck with the spinner.

Using mac mini with macOS 10.14.6 (18G1012). Debugtron version 0.4.0.

gryzzly

comment created time in 3 months

issue openedsvrxjs/svrx

svrx.close() callback called slowly

Describe the bug The callback of svrx.close() called after a long time when svrx is closed.

To Reproduce

const svrx = require('@svrx/svrx');

const server = new svrx()
server.start().then(() => {
    console.log('-----------started-----------');
    console.time('svrx')
    setTimeout(() => {
        server.close().then(() => {
            console.log('-----------stopped-----------');
            console.timeEnd('svrx')
        })
    }, 3000);
});

Expected behavior called as quick as possible

Screenshots

image

Desktop (please complete the following information):

  • OS: macOS
  • Node: v11.6.0

Additional context Add any other context about the problem here.

created time in 4 months

pull request commentsvrxjs/svrx-plugin-localtunnel

feat: update doc for events

Could you please release a new package? @leeluolee

imyzf

comment created time in 4 months

push eventimyzf/svrx-plugin-localtunnel

Zhenfei You

commit sha 311cb42f61607ebe3be538f5550d2b3b0a455b80

feat: update doc for events

view details

push time in 4 months

push eventimyzf/svrx-plugin-localtunnel

Zhenfei You

commit sha 6f8ff25d94e95ec1cb36b23936bc1211f9fcf9ce

feat: add ready and error event

view details

ZhengHaibo

commit sha b00ef650273a6ed1ad0c69e9cc4670e3995757c2

Merge pull request #2 from imyzf/patch-1 feat: add ready and error event

view details

Zhenfei You

commit sha 36b7d91465116fb1f1d79fa6ce13e2a9642b263a

feat: update doc for events

view details

push time in 4 months

delete branch imyzf/svrx-plugin-localtunnel

delete branch : patch-1

delete time in 4 months

PR opened svrxjs/svrx-plugin-localtunnel

feat: add ready and error event

Usage:

server.start();
server.on('localtunnel:ready', tunnel => console.log(tunnel.url))
+6 -1

0 comment

1 changed file

pr created time in 4 months

push eventimyzf/svrx-plugin-localtunnel

Zhenfei You

commit sha 6f8ff25d94e95ec1cb36b23936bc1211f9fcf9ce

feat: add ready and error event

view details

push time in 4 months

fork imyzf/svrx-plugin-localtunnel

localtunnel plugin for svrx to expose your local server to public domain

fork in 4 months

issue openedsvrxjs/svrx

Using svrx from API: fsevents.watch is not a function

Describe the bug Using svrx from API, it will throw an error.

To Reproduce

const Svrx = require('@svrx/svrx')

const server = new Svrx()
server.start()

Screenshots image

Desktop (please complete the following information):

  • OS: macOS 10.14.6
  • node v11.6.0

created time in 4 months

create barnchimyzf/typescript-lib-demo

branch : master

created branch time in 5 months

created repositoryimyzf/typescript-lib-demo

A demo for using typescript to develop a lib.

created time in 5 months

more