Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

'dsm-storybook publish' fails when path contains space #29

@tomnar

Description

@tomnar

Describe the bug
The dsm-storybook publish script fails when the path contains a space:

DSM =>    Creating Storybook bundle...
'C:\Users\Tom' is not recognized as an internal or external command,
operable program or batch file.
DSM =>  × Failed to build Storybook. For more details, try to run "build-storybook". For further assistance visit (https://support.invisionapp.com).

When the repository is moved to a path without space it works.

To Reproduce
Steps to reproduce the behavior:

  1. Download example, e.g. react/dsm-demo-storybook-v5
  2. Place it inside folder "de mo".
  3. Make needed updates, e.g. update credentials file.
  4. Run dsm-storybook publish and see it fail.
  5. Rename folder to "demo".
  6. Run dsm-storybook publish and see it succeed.

Expected behavior
I should be able to run the demo project.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Not relevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions