-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Error on running getstorybook #430
Comments
Hi, |
no |
Can you post the link to the todo list repo |
No I can't because it's a paid template: https://wrapbootstrap.com/theme/rubix-reactjs-powered-admin-template-WB09498FH Cheap, but paid nonetheless. The project was the meteor react todo example they have as a sample and also as a tutorial (different from MDG guide react todo) |
We need to see what's actually breaking here. It's hard to say without seeing any error info. |
May be this is a related issue: #423 |
I tried both guides, same error. I'd email [email protected] and ask them for a free copy of rubix. They'd probably give you one considering what you do and the reported bug. If they do try it with the example meteor react todo project. That's how I got the error. |
I ran into this issue, but it's because my machine was configured to use a Sinopia proxy instead of the global NPM registry directly. |
I hope we can close this now. |
Don't know, afaik it's still there! |
Try this: #122 (comment) |
I am running into this on both my Win7 and Win10 machines, regardless of which repo I try to install to. |
The problem is spawnSync, used in lib/helpers.js. If you change the npm command to npm.cmd then it works. exports.installDeps = function (options) {
var done = exports.commandLog('Preparing to install dependencies');
done();
console.log();
var result;
if (options.useYarn) {
result = spawnSync('yarn', { stdio: 'inherit' });
} else {
result = spawnSync('npm.cmd', ['install'], { stdio: 'inherit' });
}
done = exports.commandLog('Installing dependencies');
if (result.status !== 0) {
done('An error occurred while installing dependencies.');
process.exit(1);
}
done();
}; |
Looks like it's the same issue #628 I changed it to |
Just doing npm i after the original failing message |
@alebrozzo could you check the errors on |
The problem is still here |
Looks like it's the same issue #628 I changed it to Absolute path spawnSync('C:/Users/Administrator/AppData/Roaming/npm/npm.cmd' |
was getting the above error.. later I tried, npm i -g @storybook/cli it worked.. |
changing it to npm.cmd seems to have addressed it for me as well. |
@claym it should be solved in v3.x |
well, today i installed via npm install --global getstorybook which seems to be 1.7.0 but apparently that's the wrong package to use :D I was following a tutorial. Seems storybook/cli works! So, nevermind! |
can't get getstorybook to run on a newly minted mac-mini on a hello-storybook app created to follow these commands
everything runs except the getstorybook line and the error i get is: I installed the app with both yarn and npm 5.3.0 but I can't find any trace of a storybook file anywhere |
@dcu-sharepoint, the package you should install is |
Hi,
I have a test meteor react todo project which runs fine, and wanted to add storybook to learn it while prototyping some new UI components.
Tried the recommended setup sequence but gets fails on:
G:\Meteor Projects\Meteor 1.4\rubix-meteor-todolist>getstorybook
getstorybook - the simplest way to add a storybook to your project.
• Detecting project type. ✓
• Adding storybook support to your "Meteor" app. ✓
• Preparing to install NPM dependencies. ✓
• Installing NPM dependencies. ✖
The text was updated successfully, but these errors were encountered: