Skip to content

Instantly share code, notes, and snippets.

@bricef
Last active February 19, 2018 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bricef/a59f681aebc304eb2440617fbb1c2b5c to your computer and use it in GitHub Desktop.
Save bricef/a59f681aebc304eb2440617fbb1c2b5c to your computer and use it in GitHub Desktop.
Error on following readme instructions
➤ docker-compose -f services/dev.yml up --build
Starting services_api_1 ... done
Starting services_web_1 ... done
Attaching to services_api_1, services_web_1
api_1 |
api_1 | > json-server@ prestart /home
api_1 | > npm install
api_1 |
web_1 |
web_1 | > react-slingshot@7.0.0 prestart /home
web_1 | > npm install
web_1 |
web_1 |
web_1 | > react-slingshot@7.0.0 preinstall /home
web_1 | > node tools/nodeVersionCheck.js
web_1 |
api_1 | npm WARN json-server@ No repository field.
api_1 | npm WARN json-server@ No license field.
api_1 |
api_1 | added 226 packages in 18.266s
api_1 |
api_1 | > json-server@ start /home
api_1 | > json-server --watch db.json --port 80
api_1 |
api_1 |
api_1 | \{^_^}/ hi!
api_1 |
api_1 | Loading db.json
api_1 | Done
api_1 |
api_1 | Resources
api_1 | http://localhost:80/topologies
api_1 |
api_1 | Home
api_1 | http://localhost:80
api_1 |
api_1 | Type s + enter at any time to create a snapshot of the database
api_1 | Watching...
api_1 |
web_1 | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
web_1 | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
web_1 |
web_1 | npm ERR! path /home/node_modules/concurrently/src/main.js
web_1 | npm ERR! code ENOENT
web_1 | npm ERR! errno -2
web_1 | npm ERR! syscall chmod
web_1 | npm ERR! enoent ENOENT: no such file or directory, chmod '/home/node_modules/concurrently/src/main.js'
web_1 | npm ERR! enoent This is related to npm not being able to find a file.
web_1 | npm ERR! enoent
web_1 |
web_1 | npm ERR! A complete log of this run can be found in:
web_1 | npm ERR! /root/.npm/_logs/2018-02-19T17_57_33_858Z-debug.log
web_1 | npm ERR! code ELIFECYCLE
web_1 | npm ERR! errno 254
web_1 | npm ERR! react-slingshot@7.0.0 prestart: `npm install`
web_1 | npm ERR! Exit status 254
web_1 | npm ERR!
web_1 | npm ERR! Failed at the react-slingshot@7.0.0 prestart script.
web_1 | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
web_1 |
web_1 | npm ERR! A complete log of this run can be found in:
web_1 | npm ERR! /root/.npm/_logs/2018-02-19T17_57_33_967Z-debug.log
services_web_1 exited with code 254
➤ npm install
> react-slingshot@7.0.0 preinstall /Users/brice/Downloads/WeaveWorks/services/web
> node tools/nodeVersionCheck.js
> fsevents@1.1.3 install /Users/brice/Downloads/WeaveWorks/services/web/node_modules/fsevents
> node install
[fsevents] Success: "/Users/brice/Downloads/WeaveWorks/services/web/node_modules/fsevents/lib/binding/Release/node-v59-darwin-x64/fse.node" is installed via remote
npm WARN react-router-redux@5.0.0-alpha.6 requires a peer of react@^15 but none is installed. You must install peer dependencies yourself.
added 129 packages in 11.042s
➤ npm run start
> react-slingshot@7.0.0 prestart /Users/brice/Downloads/WeaveWorks/services/web
> npm install
> react-slingshot@7.0.0 preinstall /Users/brice/Downloads/WeaveWorks/services/web
> node tools/nodeVersionCheck.js
npm WARN react-router-redux@5.0.0-alpha.6 requires a peer of react@^15 but none is installed. You must install peer dependencies yourself.
up to date in 7.716s
> react-slingshot@7.0.0 start /Users/brice/Downloads/WeaveWorks/services/web
> concurrently -k -r -s first "npm run test:watch" "npm run open:src" "npm run lint:watch"
> react-slingshot@7.0.0 test:watch /Users/brice/Downloads/WeaveWorks/services/web
> jest --watch
> react-slingshot@7.0.0 open:src /Users/brice/Downloads/WeaveWorks/services/web
> babel-node tools/srcServer.js
> react-slingshot@7.0.0 lint:watch /Users/brice/Downloads/WeaveWorks/services/web
> npm run lint -- --watch
> react-slingshot@7.0.0 lint /Users/brice/Downloads/WeaveWorks/services/web
> esw webpack.config.* src tools --color "--watch"
[HPM] Proxy created: /api/** -> http://api
[HPM] Proxy rewrite rule created: "^/api" ~> ""
[BS] Access URLs:
--------------------------------------
Local: http://localhost:3000
External: http://192.168.2.177:3000
--------------------------------------
UI: http://localhost:3001
UI External: http://192.168.2.177:3001
--------------------------------------
[BS] Serving files from: src
[BS] Watching files...
2018-02-19 17:59 node[57330] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2018-02-19 17:59 node[57330] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2018-02-19 17:59 node[57330] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
events.js:136
throw er; // Unhandled 'error' event
^
Error: Error watching file for changes: EMFILE
at _errnoException (util.js:1031:13)
at FSEvent.FSWatcher._handle.onchange (fs.js:1374:9)
✓ Clean (17:59:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-slingshot@7.0.0 test:watch: `jest --watch`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-slingshot@7.0.0 test:watch 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/brice/.npm/_logs/2018-02-19T17_59_17_901Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-slingshot@7.0.0 start: `concurrently -k -r -s first "npm run test:watch" "npm run open:src" "npm run lint:watch"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-slingshot@7.0.0 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/brice/.npm/_logs/2018-02-19T17_59_18_167Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment