wingsuit-designsystem / wingsuit

Twig for Storybook
GNU General Public License v2.0
93 stars 16 forks source link

Installation failed on Windows #115

Closed mhlozek closed 3 years ago

mhlozek commented 3 years ago

I tried to install wingsuite on Windows 10, but get this error:

√ cwebp pre-build test passed successfully
  √ gifsicle pre-build test passed successfully
  √ mozjpeg pre-build test passed successfully
  √ optipng pre-build test passed successfully
  √ pngquant pre-build test passed successfully

 ws init - the simplest way to install Wingsuit.

Cloning Wingsuit repo ...
Checking out latest tag...
Running Wingsuit dependency installation...
Running Wingsuit setup...
events.js:291
      throw er; // Unhandled 'error' event
      ^

Error: spawn mv ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
    at onErrorNT (internal/child_process.js:464:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12)
    at onErrorNT (internal/child_process.js:464:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn mv',
  path: 'mv',
  spawnargs: [ 'D:\\Www\\wscheckout/starter-kits/tailwind', 'D:\\Www\\wingsuit' ]
}

Is there any solution for this problem please?

christianwiedemann commented 3 years ago

@mhlozek Yes I tested only on Mac and on Linux. But actually, it should be an easy fix. Will let you know

christianwiedemann commented 3 years ago

@mhlozek I fixed it in beta37. Would be great if you can test it.

npx @wingsuit-designsystem/cli init
cd wingsuit
yarn install 
yarn dev:storybook

Thanks Christian

mhlozek commented 3 years ago

Just test it and it is up and running. Thank you very much for great work!

And only one notice: there is a typo on Quickstart guide page (https://wingsuit-designsystem.github.io/guides/quick-start-guide/):

npx @wingsuit-designsystem/cli init -k bootrap

should be

npx @wingsuit-designsystem/cli init -k bootstrap

christianwiedemann commented 3 years ago

@mhlozek Thanks for reporting and thanks for the typo. Let me know if you have any questions.