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

同一主机启动多个proxy报错 #118

Open
tyyzqmf opened this issue Apr 10, 2017 · 1 comment
Open

同一主机启动多个proxy报错 #118

tyyzqmf opened this issue Apr 10, 2017 · 1 comment

Comments

@tyyzqmf
Copy link

tyyzqmf commented Apr 10, 2017

npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info lifecycle @~prestart: @
npm info lifecycle @~start: @

@ start /schemaui
dora -p 8901 --plugins "webpack,proxy?port=8988,browser-history?index=/src/entries/index.html"

      proxy: load rule from proxy.config.js

(node:23) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
proxy: listened on 8988
temp certs cleared
Generating RSA private key, 2048 bit long modulus
Caught exception: Error: watch /schemaui/package.json EMFILE
at exports._errnoException (util.js:1029:11)
at FSWatcher.start (fs.js:1399:19)
at Object.fs.watch (fs.js:1425:11)
at createFsWatchInstance (/schemaui/node_modules/.1.6.1@chokidar/lib/nodefs-handler.js:37:15)
at setFsWatchListener (/schemaui/node_modules/.1.6.1@chokidar/lib/nodefs-handler.js:80:15)
at FSWatcher.NodeFsHandler._watchWithNodeFs (/schemaui/node_modules/.1.6.1@chokidar/lib/nodefs-handler.js:228:14)
at FSWatcher.NodeFsHandler._handleFile (/schemaui/node_modules/.1.6.1@chokidar/lib/nodefs-handler.js:255:21)
at FSWatcher. (/schemaui/node_modules/.1.6.1@chokidar/lib/nodefs-handler.js:473:21)
at FSReqWrap.oncomplete (fs.js:114:15)
AnyProxy is about to exit with code: 0
............npm info lifecycle @~poststart: @
....npm info ok
+++
..

@tyyzqmf
Copy link
Author

tyyzqmf commented Apr 10, 2017

(node:23) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
怎么修改这个端口23?按道理是随机的吧?但是我发现启动两个都是23

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

1 participant