Comments (4)
Hmmmm, I'm afraid oao is not generating the Killed
message. It is indeed the stderr
output: in the following line, notice the yarn
bit (source of the message: either stdout
or stderr
of the command being launched) and the ERROR
bit (hence, stderr
):
2017-10-10T14:10:03.867Z yarn ERROR | Killed
Wrt. other comments:
- The missing yarn header: maybe yarn gets killed (by whom?) before printing the header out?
- I agree we should print out the exit code.
- I don't understand your 4th bullet. In principle, it does run
yarn link neutrino
from thepackages/neutrino-middleware-env
directory (in the first bootstrap phase, it had already runyarn link
from thepackages/neutrino
directory). Maybe I'm missing something? - I agree with the unnecessary duplication, but it would have a lower priority right now…
from oao.
Ah perhaps it's an OOM?
https://stackoverflow.com/questions/10876136/what-can-cause-node-js-to-print-killed-and-exit
I believe we could confirm that by seeing if the exit code was 137 (http://www.tldp.org/LDP/abs/html/exitcodes.html).
The missing yarn header: maybe yarn gets killed (by whom?) before printing the header out?
If it's an OOM I would have thought it would occur after the point where yarn has output the version header. As such I would guess either:
- the output is being buffered (which is not necessarily a bad thing, but perhaps the buffering can be made to flush more often?)
execa
(or oao) is ignoring thestdout
when there's something onstderr
to display (I would find this unlikely)
I don't understand your 4th bullet. In principle, it does run yarn link neutrino from the packages/neutrino-middleware-env directory (in the first bootstrap phase, it had already run yarn link from the packages/neutrino directory). Maybe I'm missing something?
Ah I was thinking of the first stage, I don't fully understand what oao does after that.
I agree with the unnecessary duplication, but it would have a lower priority right now…
Agreed :-)
from oao.
Patched in v0.10.4 to log error code upon command failure.
I couldn't find traces of buffered stderr
output. In fact, in my examples I got stdout
and stderr
interspersed, as could be expected in some cases. Example:
2017-10-10T20:45:06.934Z main INFO ┌── Run cmd yarn add dfjdfdifdjfdijfdijfdoifjdiojfoi at packages/neutrino [CREATED]
2017-10-10T20:45:07.243Z yarn INFO | yarn add v1.1.0
2017-10-10T20:45:07.384Z yarn INFO | [1/4] Resolving packages...
2017-10-10T20:45:09.441Z yarn ERROR | error Couldn't find package "dfjdfdifdjfdijfdijfdoifjdiojfoi" on the "npm" registry.
2017-10-10T20:45:09.441Z yarn INFO | info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
2017-10-10T20:45:09.451Z yarn INFO |
2017-10-10T20:45:09.454Z main ERROR Command 'yarn add dfjdfdifdjfdijfdijfdoifjdiojfoi' failed [1] at packages/neutrino
2017-10-10T20:45:09.456Z main INFO └── Run cmd yarn add dfjdfdifdjfdijfdijfdoifjdiojfoi at packages/neutrino [CLOSED]
2017-10-10T20:45:09.458Z storyboard INFO └── ROOT STORY: Node.js 8.6.0 on Darwin 64-bit, SB 3.1.3 [CLOSED]
from oao.
Many thanks :-)
from oao.
Related Issues (20)
- Bumping dependencies on publish HOT 25
- Allow --tree in publish command
- Fixing oao publish as a yarn script HOT 2
- [docs] yarn workspaces
- Version packages independently HOT 6
- Recommended workflow HOT 2
- Semantic release HOT 4
- publish cannot be ran again of npm publish fails HOT 5
- status --src argument cannot accept multiple paths HOT 2
- remove package from all submodules HOT 2
- --ignore-src doesn't like similar names HOT 2
- Publish without version bumping HOT 1
- does not work without installing npm HOT 1
- Allow package to define a folder to publish / link HOT 4
- run-script --tree reads from subpackage node_modules folder in monorepo HOT 1
- Remove `@babel/polyfill` HOT 2
- Add OTP support for publish
- Preserve nr of spaces for output package.json's HOT 1
- Yarn workspaces and --src
- Allow main as publish branch name HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oao.