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

This fails on my system with storybook (app and tests its ok) #98

Open
nadolny opened this issue Apr 25, 2016 · 1 comment
Open

This fails on my system with storybook (app and tests its ok) #98

nadolny opened this issue Apr 25, 2016 · 1 comment

Comments

@nadolny
Copy link

nadolny commented Apr 25, 2016

  • Bugs when trying to run this projects with storybook:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'storybook' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestorybook', 'storybook', 'poststorybook' ]
5 info lifecycle [email protected]prestorybook: [email protected]
6 silly lifecycle [email protected]
prestorybook: no script for prestorybook, continuing
7 info lifecycle [email protected]storybook: [email protected]
8 verbose lifecycle [email protected]
storybook: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]storybook: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/prjsprod/meteor_1.3/mantra-sample-blog-app/node_modules/.bin:/usr/bin:/usr/lib/hardening-wrapper/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
10 verbose lifecycle [email protected]
storybook: CWD: /home/prjsprod/meteor_1.3/mantra-sample-blog-app
11 silly lifecycle [email protected]storybook: Args: [ '-c', 'start-storybook -p 9001 -s ./public' ]
12 silly lifecycle [email protected]
storybook: Returned: code: 1 signal: null
13 info lifecycle [email protected]~storybook: Failed to exec storybook script
14 verbose stack Error: [email protected] storybook: start-storybook -p 9001 -s ./public
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:244:16)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at EventEmitter.emit (events.js:185:7)
14 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at ChildProcess.emit (events.js:185:7)
14 verbose stack at maybeClose (internal/child_process.js:850:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid [email protected]
16 verbose cwd /home/prjsprod/meteor_1.3/mantra-sample-blog-app
17 error Linux 4.3.3-2-ARCH
18 error argv "/usr/bin/node" "/usr/bin/npm" "run" "storybook"
19 error node v5.11.0
20 error npm v3.8.7
21 error code ELIFECYCLE
22 error [email protected] storybook: start-storybook -p 9001 -s ./public
22 error Exit status 1
23 error Failed at the [email protected] storybook script 'start-storybook -p 9001 -s ./public'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the mantra-demo package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error start-storybook -p 9001 -s ./public
23 error You can get information on how to open an issue for this project with:
23 error npm bugs mantra-demo
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls mantra-demo
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Thanks.

@AlexandreRoba
Copy link

Same problem here and I'm running NPM 3.9.6

09:12 $ npm run storybook

> [email protected] storybook /Users/alexandreroba/projects/mantra-sample-blog-app
> start-storybook -p 9001 -s ./public

=> Loading static files from: /Users/alexandreroba/projects/mantra-sample-blog-app/public .
=> Loading custom .babelrc
=> Loading custom webpack config.

React Storybook started on => http://localhost:9001/

webpack built 8519f0f246defad03602 in 760ms
Hash: 8519f0f246defad03602
Version: webpack 1.13.1
Time: 760ms
            Asset    Size  Chunks             Chunk Names
preview.bundle.js  471 kB       0  [emitted]  preview
manager.bundle.js  913 kB       1  [emitted]  manager
chunk    {0} preview.bundle.js (preview) 166 kB [rendered]
    [0] multi preview 52 bytes {0} [built] [2 errors]
    [1] ./~/@kadira/storybook/~/stack-source-map/~/source-map/lib/util.js 10.5 kB {0} [built]
    [2] ./~/@kadira/storybook/~/stack-source-map/~/source-map/lib/array-set.js 2.76 kB {0} [built]
    [3] ./~/@kadira/storybook/~/stack-source-map/~/source-map/lib/base64-vlq.js 4.71 kB {0} [built]
    [4] ./~/@kadira/storybook/~/stack-source-map/~/source-map/lib/source-map-generator.js 13.4 kB {0} [built]
    [5] (webpack)/~/node-libs-browser/~/buffer/index.js 42.8 kB {0} [built]
    [7] ./~/@kadira/storybook/dist/server/error_enhancements.js 340 bytes {0} [built]
    [8] ./~/@kadira/storybook/~/stack-source-map/index.js 12.8 kB {0} [built]
    [9] ./~/@kadira/storybook/~/stack-source-map/~/path-browserify/index.js 6.18 kB {0} [built]
   [10] ./~/@kadira/storybook/~/stack-source-map/~/source-map/lib/base64.js 1.54 kB {0} [built]
   [11] ./~/@kadira/storybook/~/stack-source-map/~/source-map/lib/binary-search.js 4.25 kB {0} [built]
   [12] ./~/@kadira/storybook/~/stack-source-map/~/source-map/lib/mapping-list.js 2.34 kB {0} [built]
   [13] ./~/@kadira/storybook/~/stack-source-map/~/source-map/lib/quick-sort.js 3.62 kB {0} [built]
   [14] ./~/@kadira/storybook/~/stack-source-map/~/source-map/lib/source-map-consumer.js 38.4 kB {0} [built]
   [15] ./~/@kadira/storybook/~/stack-source-map/~/source-map/lib/source-node.js 13.5 kB {0} [built]
   [16] ./~/@kadira/storybook/~/stack-source-map/~/source-map/source-map.js 405 bytes {0} [built]
   [17] ./~/@kadira/storybook/~/stack-source-map/register.js 16 bytes {0} [built]
   [18] (webpack)/~/node-libs-browser/~/buffer/~/base64-js/lib/b64.js 3.57 kB {0} [built]
   [19] (webpack)/~/node-libs-browser/~/buffer/~/ieee754/index.js 2.05 kB {0} [built]
   [20] (webpack)/~/node-libs-browser/~/buffer/~/isarray/index.js 132 bytes {0} [built]
   [21] (webpack)/~/node-libs-browser/~/process/browser.js 2.31 kB {0} [built]
chunk    {1} manager.bundle.js (manager) 372 kB [rendered]
    [0] multi manager 28 bytes {1} [built]
    [6] ./~/@kadira/storybook/dist/manager.js 372 kB {1} [built]

ERROR in multi preview
Module not found: Error: Cannot resolve module 'webpack-hot-middleware/client' in /Users/alexandreroba/projects/mantra-sample-blog-app
 @ multi preview

ERROR in multi preview
Module not found: Error: Cannot resolve module 'babel' in /Users/alexandreroba/projects/mantra-sample-blog-app
 @ multi preview
^C
✘-INT ~/projects/mantra-sample-blog-app [master|✔] 
09:16 $ npm --version
3.9.6

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

No branches or pull requests

2 participants