You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this is rather strange situation. When running Stroyshots in my dev machine everything passes. When I run them in CI server in docker env, I get following error
> node scripts/test.js --env=jsdom "--coverage"
=> Loading custom .babelrc
FAIL src/Storyshots.test.js
● Storyshots Integrity › Abandoned Storyshots › encountered a declaration exception
EPERM: operation not permitted, scandir '/proc/1/map_files/55cf41c57000-55cf41c73000'
at Object.fs.readdirSync (fs.js:904:18)
at GlobSync.Object.<anonymous>.GlobSync._readdir (node_modules/glob/sync.js:288:41)
at GlobSync.Object.<anonymous>.GlobSync._readdirInGlobStar (node_modules/glob/sync.js:267:20)
at GlobSync.Object.<anonymous>.GlobSync._readdir (node_modules/glob/sync.js:276:17)
at GlobSync.Object.<anonymous>.GlobSync._processReaddir (node_modules/glob/sync.js:137:22)
at GlobSync.Object.<anonymous>.GlobSync._process (node_modules/glob/sync.js:132:10)
at GlobSync.Object.<anonymous>.GlobSync._processGlobStar (node_modules/glob/sync.js:380:10)
at GlobSync.Object.<anonymous>.GlobSync._process (node_modules/glob/sync.js:130:10)
at GlobSync.Object.<anonymous>.GlobSync._processGlobStar (node_modules/glob/sync.js:383:10)
at GlobSync.Object.<anonymous>.GlobSync._process (node_modules/glob/sync.js:130:10)
Actually, I'm not sure now.
Here is this open issue in glob package.
Maybe you can try to create some test app that executes const storyshots = glob.sync('**/*.storyshot'); and run it in your CI? BTW I assume that /proc/1/map_files/55cf41c57000-55cf41c73000 doesnt contain storyshots ?
Issue details
So this is rather strange situation. When running Stroyshots in my dev machine everything passes. When I run them in CI server in docker env, I get following error
Storyshots are set up following this guide her for Create React App
https://github.com/storybooks/storybook/tree/master/addons/storyshots
Steps to reproduce
Not sure how to reproduce. Maybe someone here have an idea...
Please specify which version of Storybook and optionally any affected addons that you're running
Here are my dependancies regarding Storybook
Affected platforms
Both envs have same Nodejs and npm version
Screenshots / Screencast / Code Snippets (Optional)
The text was updated successfully, but these errors were encountered: