Project

General

Profile

Bug #24612

`npm run storybook` is broken in Katello

Added by Andrew Kofink 11 months ago. Updated 11 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
UX
Fixed in Releases:
Found in Releases:

Description

It works fine in Foreman, but it seems Katello hasn't been following their paradigms.

$ npm run storybook

> katello@1.0.0 storybook /home/vagrant/nfs/katello
> start-storybook -p 6007

module.js:478
    throw err;
    ^

Error: Cannot find module '../dist/server'
    at Function.Module._resolveFilename (module.js:476:15)
    at Function.Module._load (module.js:424:25)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/vagrant/nfs/katello/node_modules/.bin/start-storybook:3:1)
    at Module._compile (module.js:577:32)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)

npm ERR! Linux 3.10.0-862.2.3.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "storybook" 
npm ERR! node v6.14.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! katello@1.0.0 storybook: `start-storybook -p 6007`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the katello@1.0.0 storybook script 'start-storybook -p 6007'.
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 katello package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     start-storybook -p 6007
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs katello
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls katello
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/vagrant/nfs/katello/webpack/npm-debug.log

History

#1 Updated by Jonathon Turel 11 months ago

  • Triaged changed from No to Yes
  • Priority changed from Normal to Low
  • Team Backlog UX added

Also available in: Atom PDF