This repository was archived by the owner on Jul 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 363
WSL Ubuntu 18.04 / Win10 -- Fails on fresh install #667
Copy link
Copy link
Open
Labels
Description
Problem
Fails on Fresh install of NVM, Node 10.6.0, Yarn 1.7.0, Ubuntu 18.04/WSL Win10
Replication steps
- Install WSL, Ubuntu 18.04, NVM, Node & Yarn
- 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 [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...
warning "@shopify/slate-tools > [email protected]" has unmet peer dependency "babel-core@6".
warning "@shopify/slate-tools > [email protected]" has incorrect peer dependency "stylelint@^8.0.0".
warning "@shopify/slate-tools > [email protected]" has incorrect peer dependency "webpack@1 || ^2.1.0-beta || ^2.2.0-rc.0".
warning "@shopify/slate-tools > stylelint > [email protected]" has incorrect peer dependency "postcss-syntax@^0.10.0".
warning "@shopify/slate-tools > stylelint > [email protected]" has incorrect peer dependency "postcss-syntax@^0.10.0".
warning "babel-preset-shopify > react-hot-loader > [email protected]" 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 > [email protected]" has unmet peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0-beta || ^16.0.0".
warning " > [email protected]" has unmet peer dependency "eslint@<5 >=4.7.1".
warning "eslint-plugin-shopify > [email protected]" has unmet peer dependency "eslint@>=3.14.1".
warning "eslint-plugin-shopify > [email protected]" has unmet peer dependency "eslint@>=3.6".
warning "eslint-plugin-shopify > [email protected]" has unmet peer dependency "eslint@>=3.0.0".
warning "eslint-plugin-shopify > [email protected]" has unmet peer dependency "eslint@>=2.0.0".
warning "eslint-plugin-shopify > [email protected]" has unmet peer dependency "[email protected] - 4.x".
warning "eslint-plugin-shopify > [email protected]" has unmet peer dependency "eslint@>=3.6".
warning "eslint-plugin-shopify > [email protected]" has unmet peer dependency "eslint@^3 || ^4".
warning "eslint-plugin-shopify > [email protected]" has unmet peer dependency "eslint@>=2.10.0".
warning "eslint-plugin-shopify > [email protected]" has unmet peer dependency "eslint@^2.0.0 || ^3.0.0 || ^4.0.0".
warning "eslint-plugin-shopify > [email protected]" has unmet peer dependency "eslint@>=3.1.0".
warning "eslint-plugin-shopify > [email protected]" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0".
warning "eslint-plugin-shopify > [email protected]" has unmet peer dependency "eslint@>=0.8.0".
warning "eslint-plugin-shopify > [email protected]" has unmet peer dependency "typescript@*".
warning " > [email protected]" has unmet peer dependency "stylelint@>=9.0".
warning "stylelint-config-shopify > [email protected]" has unmet peer dependency "stylelint@^8.0.0 || ^9.0.0".
warning "stylelint-config-shopify > [email protected]" 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.`