Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

WSL Ubuntu 18.04 / Win10 -- Fails on fresh install #667

Description

Problem

Fails on Fresh install of NVM, Node 10.6.0, Yarn 1.7.0, Ubuntu 18.04/WSL Win10

Replication steps

  1. Install WSL, Ubuntu 18.04, NVM, Node & Yarn
  2. Run 'yarn create slate-theme mythemename'

More Information

Creating a new Slate theme in: /mnt/d/Code/Projects/hausextension.
Cloning theme from a git repo: https://github.com/shopify/starter-theme.git
Installing theme dependencies...
yarn install v1.7.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.4: The platform "linux" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@shopify/slate-tools > babel-loader@7.1.4" has unmet peer dependency "babel-core@6".
warning "@shopify/slate-tools > stylelint-webpack-plugin@0.10.5" has incorrect peer dependency "stylelint@^8.0.0".
warning "@shopify/slate-tools > webpack-dev-middleware@1.10.2" has incorrect peer dependency "webpack@1 || ^2.1.0-beta || ^2.2.0-rc.0".
warning "@shopify/slate-tools > stylelint > postcss-html@0.23.7" has incorrect peer dependency "postcss-syntax@^0.10.0".
warning "@shopify/slate-tools > stylelint > postcss-markdown@0.23.7" has incorrect peer dependency "postcss-syntax@^0.10.0".
warning "babel-preset-shopify > react-hot-loader > redbox-react@1.6.0" has unmet peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0-beta || ^16.0.0".
warning "babel-preset-shopify > react-hot-loader > redbox-react@1.6.0" has unmet peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0-beta || ^16.0.0".
warning " > eslint-plugin-shopify@19.0.1" has unmet peer dependency "eslint@<5 >=4.7.1".
warning "eslint-plugin-shopify > eslint-config-prettier@2.9.0" has unmet peer dependency "eslint@>=3.14.1".
warning "eslint-plugin-shopify > eslint-plugin-ava@4.5.1" has unmet peer dependency "eslint@>=3.6".
warning "eslint-plugin-shopify > eslint-plugin-babel@4.1.2" has unmet peer dependency "eslint@>=3.0.0".
warning "eslint-plugin-shopify > eslint-plugin-flowtype@2.47.1" has unmet peer dependency "eslint@>=2.0.0".
warning "eslint-plugin-shopify > eslint-plugin-import@2.12.0" has unmet peer dependency "eslint@2.x - 4.x".
warning "eslint-plugin-shopify > eslint-plugin-jest@21.15.2" has unmet peer dependency "eslint@>=3.6".
warning "eslint-plugin-shopify > eslint-plugin-jsx-a11y@6.0.3" has unmet peer dependency "eslint@^3 || ^4".
warning "eslint-plugin-shopify > eslint-plugin-lodash@2.7.0" has unmet peer dependency "eslint@>=2.10.0".
warning "eslint-plugin-shopify > eslint-plugin-mocha@4.12.1" has unmet peer dependency "eslint@^2.0.0 || ^3.0.0 || ^4.0.0".
warning "eslint-plugin-shopify > eslint-plugin-node@5.2.1" has unmet peer dependency "eslint@>=3.1.0".
warning "eslint-plugin-shopify > eslint-plugin-react@7.8.2" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0".
warning "eslint-plugin-shopify > eslint-plugin-sort-class-members@1.3.1" has unmet peer dependency "eslint@>=0.8.0".
warning "eslint-plugin-shopify > typescript-eslint-parser@11.0.0" has unmet peer dependency "typescript@*".
warning " > stylelint-config-shopify@5.0.1" has unmet peer dependency "stylelint@>=9.0".
warning "stylelint-config-shopify > stylelint-order@0.8.1" has unmet peer dependency "stylelint@^8.0.0 || ^9.0.0".
warning "stylelint-config-shopify > stylelint-scss@3.1.0" has unmet peer dependency "stylelint@^8.0.0 || ^9.0.0".

`[4/4] Building fresh packages...
[-/6] ⠠ waiting...
[-/6] ⠠ waiting...
[-/6] ⠠ waiting...
[-/6] ⠠ waiting...
error /mnt/d/Code/Projects/hausextension/node_modules/pngquant-bin: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: /mnt/d/Code/Projects/hausextension/node_modules/pngquant-bin
Output:
⚠ The `/mnt/d/Code/Projects/hausextension/node_modules/pngquant-bin/vendor/pngquant` binary doesn't seem to work correctly
  ⚠ pngquant pre-build test failed
  ℹ compiling from source
  ✔ pngquant pre-build test passed successfully
  ✖ Error: pngquant failed to build, make sure that libpng-dev is installed

(node:1362) UnhandledPromiseRejectionWarning: Error: Command failed: yarnpkg
    at makeError (/home/zgjonbalaj/.config/yarn/global/node_modules/execa/index.js:169:9)
    at Promise.all.then.arr (/home/zgjonbalaj/.config/yarn/global/node_modules/execa/index.js:274:16)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:1362) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:1362) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Done in 326.52s.`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions