Skip to content

Instantly share code, notes, and snippets.

@maxdevjs
Last active August 16, 2018 17:44
Show Gist options
  • Save maxdevjs/2edae6a90430c36299135201fef89db6 to your computer and use it in GitHub Desktop.
Save maxdevjs/2edae6a90430c36299135201fef89db6 to your computer and use it in GitHub Desktop.
(Yarn) issues found in Babel setup (on Solus)

Babel setup

make bootstrap

  • Yarn consistently fails
  • at different points with different errors depending on which Yarn version I am using (as per x.txt files)
  • indipendently of how I install it
  • this happens with Babel on SSD (where OS is installed) and internal HD

On an old Ubuntu 16.04 installed on HD the

Yarn v1.9.4

It fails with an ENOSPC: no space left on device, write error.

Only reference I found in issues is 6067

Yarn 0.17.10

lerna WARN ECYCLE Encountered a cycle in the dependency graph. ... lerna ERR! error: unknown option--non-interactive'...

lerna WARN ECYCLE Encountered a cycle in the dependency graph.This may cause instability! Packages in cycle are: "@babel/plugin-transform-runtime", "@babel/preset-env-standalone", "@babel/standalone" lerna info Bootstrapping 142 packages lerna info lifecycle preinstall lerna info Installing external dependencies lerna ERR! execute callback with error lerna ERR! Error: Command failed: yarn install --mutex network:42424 --non-interactive --no-lockfile --ignore-engines lerna ERR! lerna ERR! error: unknown option--non-interactive' lerna ERR! lerna ERR! lerna ERR! at Promise.all.then.arr (/home/max/Desktop/babel/node_modules/execa/index.js:236:11) lerna ERR! at lerna WARN complete Waiting for 3 child processes to exit. CTRL-C to exit immediately. { Error: Command failed: yarn install --mutex network:42424 --non-interactive --no-lockfile --ignore-enginesexit immediately.

error: unknown option `--non-interactive'

at Promise.all.then.arr (/home/max/Desktop/babel/node_modules/execa/index.js:236:11)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:160:7)

code: 1, killed: false, stdout: '', stderr: '\n error: unknown option --non-interactive\'\n\n', failed: true, signal: null, cmd: 'yarn install --mutex network:42424 --non-interactive --no-lockfile --ignore-engines', timedOut: false, exitCode: 1 } make: *** [Makefile:122: bootstrap] Error 1

Ubuntu

Yarn 1.9.4 : process seems to succeed (OS installed on HD)

rm -rf node_modules
rm -rf package-lock.json
rm -rf .changelog
rm -rf packages/*/lib
rm -rf packages/*/node_modules
rm -rf packages/*/package-lock.json
rm -rf codemods/*/lib
rm -rf codemods/*/node_modules
rm -rf codemods/*/package-lock.json
make clean
make[1]: Entering directory '/home/max/Desktop/babel'
rm -rf packages/*/test/tmp
rm -rf packages/*/test-fixtures.json
rm -rf codemods/*/test/tmp
rm -rf codemods/*/test-fixtures.json
rm -rf packages/babel-polyfill/browser*
rm -rf packages/babel-polyfill/dist
rm -rf coverage
rm -rf packages/*/npm-debug*
make[1]: Leaving directory '/home/max/Desktop/babel'
yarn --ignore-engines
yarn install v0.17.10
[1/4] Resolving packages...
[2/4] Fetching packages...
warning [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 17.76s.
./node_modules/.bin/lerna bootstrap -- --ignore-engines
lerna info version 2.11.0
lerna WARN ECYCLE Encountered a cycle in the dependency graph.This may cause instability! Packages in cycle are: "@babel/cli", "@babel/core", "@babel/generator", "@babel/helper-annotate-as-pure", "@babel/helper-bindify-decorators", "@babel/helper-builder-binary-assignment-operator-visitor", "@babel/helper-builder-react-jsx", "@babel/helper-call-delegate", "@babel/helper-define-map", "@babel/helper-explode-assignable-expression", "@babel/helper-explode-class", "@babel/helper-function-name", "@babel/helper-get-function-arity", "@babel/helper-hoist-variables", "@babel/helper-member-expression-to-functions", "@babel/helper-module-imports", "@babel/helper-module-transforms", "@babel/helper-optimise-call-expression", "@babel/helper-plugin-test-runner", "@babel/helper-remap-async-to-generator", "@babel/helper-replace-supers", "@babel/helper-simple-access", "@babel/helper-split-export-declaration", "@babel/helper-transform-fixture-test-runner", "@babel/helper-wrap-function", "@babel/helpers", "@babel/node", "@babel/plugin-external-helpers", "@babel/plugin-proposal-async-generator-functions", "@babel/plugin-proposal-class-properties", "@babel/plugin-proposal-decorators", "@babel/plugin-proposal-do-expressions", "@babel/plugin-proposal-export-default-from", "@babel/plugin-proposal-export-namespace-from", "@babel/plugin-proposal-function-bind", "@babel/plugin-proposal-function-sent", "@babel/plugin-proposal-json-strings", "@babel/plugin-proposal-logical-assignment-operators", "@babel/plugin-proposal-nullish-coalescing-operator", "@babel/plugin-proposal-numeric-separator", "@babel/plugin-proposal-object-rest-spread", "@babel/plugin-proposal-optional-catch-binding", "@babel/plugin-proposal-optional-chaining", "@babel/plugin-proposal-pipeline-operator", "@babel/plugin-proposal-throw-expressions", "@babel/plugin-proposal-unicode-property-regex", "@babel/plugin-syntax-async-generators", "@babel/plugin-syntax-bigint", "@babel/plugin-syntax-class-properties", "@babel/plugin-syntax-decorators", "@babel/plugin-syntax-do-expressions", "@babel/plugin-syntax-dynamic-import", "@babel/plugin-syntax-export-default-from", "@babel/plugin-syntax-export-namespace-from", "@babel/plugin-syntax-flow", "@babel/plugin-syntax-function-bind", "@babel/plugin-syntax-function-sent", "@babel/plugin-syntax-import-meta", "@babel/plugin-syntax-json-strings", "@babel/plugin-syntax-jsx", "@babel/plugin-syntax-logical-assignment-operators", "@babel/plugin-syntax-nullish-coalescing-operator", "@babel/plugin-syntax-numeric-separator", "@babel/plugin-syntax-object-rest-spread", "@babel/plugin-syntax-optional-catch-binding", "@babel/plugin-syntax-optional-chaining", "@babel/plugin-syntax-pipeline-operator", "@babel/plugin-syntax-throw-expressions", "@babel/plugin-syntax-typescript", "@babel/plugin-transform-arrow-functions", "@babel/plugin-transform-async-to-generator", "@babel/plugin-transform-block-scoped-functions", "@babel/plugin-transform-block-scoping", "@babel/plugin-transform-classes", "@babel/plugin-transform-computed-properties", "@babel/plugin-transform-destructuring", "@babel/plugin-transform-dotall-regex", "@babel/plugin-transform-duplicate-keys", "@babel/plugin-transform-exponentiation-operator", "@babel/plugin-transform-flow-comments", "@babel/plugin-transform-flow-strip-types", "@babel/plugin-transform-for-of", "@babel/plugin-transform-function-name", "@babel/plugin-transform-instanceof", "@babel/plugin-transform-jscript", "@babel/plugin-transform-literals", "@babel/plugin-transform-member-expression-literals", "@babel/plugin-transform-modules-amd", "@babel/plugin-transform-modules-commonjs", "@babel/plugin-transform-modules-systemjs", "@babel/plugin-transform-modules-umd", "@babel/plugin-transform-new-target", "@babel/plugin-transform-object-assign", "@babel/plugin-transform-object-set-prototype-of-to-assign", "@babel/plugin-transform-object-super", "@babel/plugin-transform-parameters", "@babel/plugin-transform-property-literals", "@babel/plugin-transform-property-mutators", "@babel/plugin-transform-proto-to-assign", "@babel/plugin-transform-react-constant-elements", "@babel/plugin-transform-react-display-name", "@babel/plugin-transform-react-inline-elements", "@babel/plugin-transform-react-jsx-compat", "@babel/plugin-transform-react-jsx-self", "@babel/plugin-transform-react-jsx-source", "@babel/plugin-transform-react-jsx", "@babel/plugin-transform-regenerator", "@babel/plugin-transform-reserved-words", "@babel/plugin-transform-runtime", "@babel/plugin-transform-shorthand-properties", "@babel/plugin-transform-spread", "@babel/plugin-transform-sticky-regex", "@babel/plugin-transform-strict-mode", "@babel/plugin-transform-template-literals", "@babel/plugin-transform-typeof-symbol", "@babel/plugin-transform-typescript", "@babel/plugin-transform-unicode-regex", "@babel/preset-env-standalone", "@babel/preset-env", "@babel/preset-flow", "@babel/preset-react", "@babel/preset-typescript", "@babel/register", "@babel/standalone", "@babel/template", "@babel/traverse", "@babel/types", "@babel/plugin-codemod-object-assign-to-object-spread", "@babel/plugin-codemod-optional-catch-binding"
lerna WARN ECYCLE Encountered a cycle in the dependency graph.This may cause instability! Packages in cycle are: "@babel/generator", "@babel/helper-annotate-as-pure", "@babel/helper-bindify-decorators", "@babel/helper-builder-binary-assignment-operator-visitor", "@babel/helper-builder-react-jsx", "@babel/helper-call-delegate", "@babel/helper-define-map", "@babel/helper-explode-assignable-expression", "@babel/helper-explode-class", "@babel/helper-function-name", "@babel/helper-get-function-arity", "@babel/helper-hoist-variables", "@babel/helper-member-expression-to-functions", "@babel/helper-module-imports", "@babel/helper-module-transforms", "@babel/helper-optimise-call-expression", "@babel/helper-remap-async-to-generator", "@babel/helper-replace-supers", "@babel/helper-simple-access", "@babel/helper-split-export-declaration", "@babel/helper-wrap-function", "@babel/helpers", "@babel/plugin-proposal-async-generator-functions", "@babel/plugin-proposal-class-properties", "@babel/plugin-proposal-function-sent", "@babel/plugin-transform-arrow-functions", "@babel/plugin-transform-async-to-generator", "@babel/plugin-transform-classes", "@babel/plugin-transform-exponentiation-operator", "@babel/plugin-transform-function-name", "@babel/plugin-transform-modules-amd", "@babel/plugin-transform-modules-commonjs", "@babel/plugin-transform-modules-systemjs", "@babel/plugin-transform-modules-umd", "@babel/plugin-transform-new-target", "@babel/plugin-transform-object-super", "@babel/plugin-transform-parameters", "@babel/plugin-transform-property-mutators", "@babel/plugin-transform-react-constant-elements", "@babel/plugin-transform-react-inline-elements", "@babel/plugin-transform-react-jsx-compat", "@babel/plugin-transform-react-jsx", "@babel/plugin-transform-runtime", "@babel/plugin-transform-template-literals", "@babel/preset-env-standalone", "@babel/preset-env", "@babel/preset-react", "@babel/standalone", "@babel/template", "@babel/traverse", "@babel/types"
lerna WARN ECYCLE Encountered a cycle in the dependency graph.This may cause instability! Packages in cycle are: "@babel/plugin-transform-runtime", "@babel/preset-env-standalone", "@babel/standalone"
lerna info Bootstrapping 142 packages
lerna info lifecycle preinstall
lerna info Installing external dependencies
lerna ERR! execute callback with error
lerna ERR! Error: Command failed: yarn install --mutex network:42424 --non-interactive --no-lockfile --ignore-engines
lerna ERR!
lerna ERR! error: unknown option `--non-interactive'
lerna ERR!
lerna ERR!
lerna ERR! at Promise.all.then.arr (/home/max/Desktop/babel/node_modules/execa/index.js:236:11)
lerna ERR! at <anonymous>
lerna WARN complete Waiting for 3 child processes to exit. CTRL-C to exit immediately.
{ Error: Command failed: yarn install --mutex network:42424 --non-interactive --no-lockfile --ignore-enginesexit immediately.
error: unknown option `--non-interactive'
at Promise.all.then.arr (/home/max/Desktop/babel/node_modules/execa/index.js:236:11)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:160:7)
code: 1,
killed: false,
stdout: '',
stderr: '\n error: unknown option `--non-interactive\'\n\n',
failed: true,
signal: null,
cmd: 'yarn install --mutex network:42424 --non-interactive --no-lockfile --ignore-engines',
timedOut: false,
exitCode: 1 }
make: *** [Makefile:122: bootstrap] Error 1
rm -rf node_modules
rm -rf package-lock.json
rm -rf .changelog
rm -rf packages/*/lib
rm -rf packages/*/node_modules
rm -rf packages/*/package-lock.json
rm -rf codemods/*/lib
rm -rf codemods/*/node_modules
rm -rf codemods/*/package-lock.json
make clean
make[1]: Entering directory '/home/max/Desktop/babel'
rm -rf packages/*/test/tmp
rm -rf packages/*/test-fixtures.json
rm -rf codemods/*/test/tmp
rm -rf codemods/*/test-fixtures.json
rm -rf packages/babel-polyfill/browser*
rm -rf packages/babel-polyfill/dist
rm -rf coverage
rm -rf packages/*/npm-debug*
make[1]: Leaving directory '/home/max/Desktop/babel'
yarn --ignore-engines
yarn install v1.9.4
[1/4] Resolving packages...
[2/4] Fetching packages...
error https://registry.yarnpkg.com/node-notifier/-/node-notifier-5.2.1.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOSPC: no space left on device, write"
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.3.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOSPC: no space left on device, write"
make: *** [Makefile:121: bootstrap] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment