Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Could not find patternType 00-atoms-00-atoms. This is a critical error. #1

Open
Gregory-Phillips opened this issue Dec 20, 2016 · 2 comments

Comments

@Gregory-Phillips
Copy link

I am getting this critical error when running gulp patternlab:build:
Could not find patternType 00-atoms-00-atoms. This is a critical error.
Trace at getPatternSubType (/Users/grphilli/Sites/Pattern-Lab/gulp/edition-node-gulp/node_modules/patternlab-node/core/lib/ui_builder.js:188:15) at addPatternSubTypeItem (/Users/grphilli/Sites/Pattern-Lab/gulp/edition-node-gulp/node_modules/patternlab-node/core/lib/ui_builder.js:245:26) at /Users/grphilli/Sites/Pattern-Lab/gulp/edition-node-gulp/node_modules/patternlab-node/core/lib/ui_builder.js:369:9 at arrayEach (/Users/grphilli/Sites/Pattern-Lab/gulp/edition-node-gulp/node_modules/patternlab-node/node_modules/lodash/lodash.js:451:11) at Function.forEach (/Users/grphilli/Sites/Pattern-Lab/gulp/edition-node-gulp/node_modules/patternlab-node/node_modules/lodash/lodash.js:8634:14) at groupPatterns (/Users/grphilli/Sites/Pattern-Lab/gulp/edition-node-gulp/node_modules/patternlab-node/core/lib/ui_builder.js:333:7) at buildFrontend (/Users/grphilli/Sites/Pattern-Lab/gulp/edition-node-gulp/node_modules/patternlab-node/core/lib/ui_builder.js:574:30) at Object.buildFrontend (/Users/grphilli/Sites/Pattern-Lab/gulp/edition-node-gulp/node_modules/patternlab-node/core/lib/ui_builder.js:630:7) at Object.makePath.build (/Users/grphilli/Sites/Pattern-Lab/gulp/edition-node-gulp/node_modules/patternlab-node/core/lib/patternlab.js:506:16) at build (/Users/grphilli/Sites/Pattern-Lab/gulp/edition-node-gulp/gulpfile.js:83:14)
[09:41:46] The following tasks did not complete: patternlab:serve, patternlab:build, build
[09:41:46] Did you forget to signal async completion?

@tonyhaddon
Copy link
Contributor

More info here: pattern-lab/patternlab-node#436
Seems to be an issue with duplicate folders in the patterns folder:

Steps to Reproduce
name two folders _patterns/00-atoms/00-images and _patterns/00-atoms/01-images and build/watch

I had installed a starter kit and then installed a different one. Some duplicate folders were added.

@SmithersA
Copy link

Is this the expected behavior for atoms-color?
Screen Shot 2019-05-08 at 5 23 51 PM

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

No branches or pull requests

3 participants