Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build script does not run when using gatsby-cli 1.12 version #9

Closed
seonim-ryu opened this issue May 27, 2020 · 0 comments
Closed

Build script does not run when using gatsby-cli 1.12 version #9

seonim-ryu opened this issue May 27, 2020 · 0 comments
Labels

Comments

@seonim-ryu
Copy link
Member

seonim-ryu commented May 27, 2020

Describe the bug

If @toast-ui/doc run the build script, an error occurs and it does not build. As the gatsby-cli version is updated to 1.12, the flag value of the build script is strictly checked and not built.

To Reproduce

Steps to reproduce the behavior:

  1. Run the script.
$ npm run tuidoc

Expected behavior

The build script should run. To do this, it is necessary to be able to handle the flag value that is passed when executing gatsby build script.

  • AS-IS
$ gatsby build --prefix-paths latest
  • TO-BE
$ GATSBY_ACTIVE_ENV=latest gatsby build --prefix-paths
$ GATSBY_ACTIVE_ENV=semver gatsby build --prefix-paths

Screenshots

tuidoc-build-error

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant