Comments (11)
http://lorensr.me/segmented-control/
works now, thanks arunoda! 😊
from storybook-deployer.
Weird. Are you trying to deploy into the public gh-pages?
from storybook-deployer.
May be check your git project is commitable. No conflicts, etc.
from storybook-deployer.
No, into a GHE server.
from storybook-deployer.
I'm getting an error on the same line, reproducible with https://github.com/lorensr/segmented-control
macbook:segmented-control me$ git:(upstream ⚡ master) 1A npm ls @kadira/storybook-deployer
[email protected] /Users/me/gh/segmented-control
└── @kadira/[email protected]
macbook:segmented-control me$ git:(upstream ⚡ master) nr deploy-storybook
> [email protected] deploy-storybook /Users/me/gh/segmented-control
> storybook-to-ghpages
=> Building storybook
/Users/me/gh/segmented-control/node_modules/@kadira/storybook-deployer/src/utils.js:15
throw new Error(message);
^
Error: Exec code(1) on executing: git commit -m "Deploy Storybook to GitHub Pages"
undefined
at Object.exec (/Users/me/gh/segmented-control/node_modules/@kadira/storybook-deployer/src/utils.js:15:9)
at Object.<anonymous> (/Users/me/gh/segmented-control/node_modules/@kadira/storybook-deployer/bin/storybook_to_ghpages:38:14)
at Module._compile (module.js:397:26)
at Object.Module._extensions..js (module.js:404:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:429:10)
at startup (node.js:139:18)
at node.js:999:3
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/Cellar/node/5.4.1_1/bin/node" "/usr/local/bin/npm" "run" "deploy-storybook"
npm ERR! node v5.4.1
npm ERR! npm v3.5.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] deploy-storybook: `storybook-to-ghpages`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] deploy-storybook script 'storybook-to-ghpages'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the segmented-control package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! storybook-to-ghpages
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs segmented-control
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls segmented-control
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/me/gh/segmented-control/npm-debug.log
from storybook-deployer.
@lorensr let me check this now.
from storybook-deployer.
I just fixed this with a new version v1.1.0
. Try to reopen or (asked me) if this is not yet fixed.
from storybook-deployer.
Hey @kevinSuttle be sure that storybook is located in .storybook
folder otherwise it will fail.
@arunoda I think it should show a more helpful error message. Thanks
from storybook-deployer.
Thanks @gusdaud. @arunoda is it possible to run this as a webhook on the repo?
from storybook-deployer.
@kevinSuttle Not sure. If you are using CI I think it's possible.
May be you need to make sure, CI can push to GitHub.
from storybook-deployer.
I have faced the same issue, and I found the solution.
You need to create babel config file inside .storybook
directory, to allow babel to build your project correctly.
Note: you can require the root babel config using babel.config.js
file.
For more info please check https://storybook.js.org/docs/configurations/custom-babel-config/#docs-content
from storybook-deployer.
Related Issues (20)
- [Bug] Error running yarn deploy-storybook to s3 in github action
- [Bug] custom SOURCE branch option doesn't work HOT 2
- Failed to exec deploy-storybook script HOT 2
- Failed to exec deploy-storybook script
- release storybook to npm from GitLab
- Allow quiet builds on ci
- [Bug] Storybook Deploy Fails with Node Version 14.18.2
- [Bug] stories.json is missing in bucket
- Invalidate cache when uploading to S3 bucket?
- [Bug] Critical vulnerability in due to outdated dependency `git-url-parse` HOT 6
- [Bug] Github Actions: `build-storybook` fails with `no such directory`
- Error on executing git config --get remote.upstream.url
- [Bug] When deployed to subpath index.html favicon.ico 404
- [Bug] ModuleNotFoundError when running deploy in CI using pnpm
- Feature request: 404 that redirects to the index HOT 4
- Improve monorepo documentation on dependencies HOT 1
- The --source-branch Flag Throws Error HOT 2
- Site hierarchy
- [Bug] Running into CSP issues when deploying to gh pages HOT 1
- EACCES: permission denied HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storybook-deployer.