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

throw er when use npm run server-webrun #43

Open
murking opened this issue Apr 14, 2018 · 1 comment
Open

throw er when use npm run server-webrun #43

murking opened this issue Apr 14, 2018 · 1 comment

Comments

@murking
Copy link

murking commented Apr 14, 2018

[email protected] start /Users/zjh-mac/Documents/react/react-native-nw-react-calculator-master
node node_modules/react-native/local-cli/cli.js start

┌────────────────────────────────────────────────────────────────────────────┐
│ Running packager on port 8081. │
│ │
│ Keep this packager running while developing on any JS projects. Feel │
│ free to close this tab and run your own packager instance if you │
│ prefer. │
│ │
https://github.com/facebook/react-native
│ │
└────────────────────────────────────────────────────────────────────────────┘
Looking for JS files in
/Users/zjh-mac/Documents/react/react-native-nw-react-calculator-master

[下午8:33:55] Building Dependency Graph
[下午8:33:55] Crawling File System
(node:5844) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[Hot Module Replacement] Server listening on /hot

React packager ready.

2018-04-14 20:34 node[5844] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2018-04-14 20:34 node[5844] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2018-04-14 20:34 node[5844] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
ERROR Error watching file for changes: EMFILE
{"errno":"EMFILE","code":"EMFILE","syscall":"Error watching file for changes:","filename":null}
Error: Error watching file for changes: EMFILE
at _errnoException (util.js:1003:13)
at FSEvent.FSWatcher._handle.onchange (fs.js:1382:9)

See http://facebook.github.io/react-native/docs/troubleshooting.html
for common problems and solutions.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node node_modules/react-native/local-cli/cli.js start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zjh-mac/.npm/_logs/2018-04-14T12_34_01_174Z-debug.log
zjh-macdeMacBook-Pro:react-native-nw-react-calculator-master zjh-mac$ npm run server-web
npm ERR! missing script: server-web

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zjh-mac/.npm/_logs/2018-04-14T12_34_38_857Z-debug.log

@murking
Copy link
Author

murking commented Apr 14, 2018

npm version :5.6.0
have already run npm install

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