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

Blocker | build-storybook failing in Jenkins - v5.3.3 #9473

Closed
smo043 opened this issue Jan 15, 2020 · 2 comments
Closed

Blocker | build-storybook failing in Jenkins - v5.3.3 #9473

smo043 opened this issue Jan 15, 2020 · 2 comments

Comments

@smo043
Copy link

smo043 commented Jan 15, 2020

From past few days prod storybook builds are failing in Jenkins env only. I can't share the project repo nor I can create a test repo. Below are the error log, please help us with the solution. Tried all the possible ways, but none helped. Currently this is a blocker for us.

14:26:48  > build-storybook -c .storybook -o .out
14:26:48  
14:26:50  info @storybook/react v5.3.3
14:26:50  info 
14:26:50  info clean outputDir..
14:26:50  info => Copying prebuild dll's..
14:26:50  info => Building manager..
14:26:50  info => Loading manager config..
14:26:50  info => Loading presets
14:26:51  info => Loading custom manager config.
14:26:51  info => Compiling manager..
14:26:56  ERR! => Failed to build the manager
14:26:56  ERR! Module not found: Error: Can't resolve 'regenerator-runtime/runtime' in '/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/@storybook/api/dist'
14:26:56  (node:31) UnhandledPromiseRejectionWarning: ModuleNotFoundError: Module not found: Error: Can't resolve 'regenerator-runtime/runtime' in '/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/@storybook/api/dist'
14:26:56      at factory.create (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/webpack/lib/Compilation.js:925:10)
14:26:56      at factory (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/webpack/lib/NormalModuleFactory.js:401:22)
14:26:56      at resolver (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/webpack/lib/NormalModuleFactory.js:130:21)
14:26:56      at asyncLib.parallel (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/webpack/lib/NormalModuleFactory.js:224:22)
14:26:56      at /var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/neo-async/async.js:2830:7
14:26:56      at /var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/neo-async/async.js:6877:13
14:26:56      at normalResolver.resolve (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/webpack/lib/NormalModuleFactory.js:214:25)
14:26:56      at doResolve (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:213:14)
14:26:56      at hook.callAsync (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
14:26:56      at _fn0 (eval at create (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
14:26:56      at resolver.doResolve (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/webpack/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:44:7)
14:26:56      at hook.callAsync (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
14:26:56      at _fn0 (eval at create (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
14:26:56      at hook.callAsync (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
14:26:56      at _fn0 (eval at create (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
14:26:56      at resolver.doResolve (/var/lib/jenkins/jobs/playground/jobs/Automated-Build-Deploy/jobs/NPM-Automated-Build-Deploy/workspace/app/node_modules/webpack/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:67:43)
14:26:56  (node:31) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
14:26:56  (node:31) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
14:27:01  npm ERR! code ELIFECYCLE
14:27:01  npm ERR! errno 1
14:27:01  npm ERR! @test/[email protected] build-storybook: `build-storybook -c .storybook -o .out`
14:27:01  npm ERR! Exit status 1
14:27:01  npm ERR! 
14:27:01  npm ERR! Failed at the @test/[email protected] build-storybook script.
14:27:01  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
14:27:01 
@smo043 smo043 changed the title build-storybook failing in Jenkins - v5.3.3 Blocker | build-storybook failing in Jenkins - v5.3.3 Jan 15, 2020
@stale
Copy link

stale bot commented Feb 6, 2020

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@stale stale bot added the inactive label Feb 6, 2020
@stale
Copy link

stale bot commented Mar 7, 2020

Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

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

No branches or pull requests

2 participants