-
Notifications
You must be signed in to change notification settings - Fork 21
Loading starterkit does not copy files #12
Comments
I ran into this as well; even after extensive debug I couldn't make it work. The docs definitely don't reflect actual setup. In the end, I had to give up. |
Yes this definitely looks wrong. I loaded that same starterkit this morning in the gulp version with success, however, time is restricting me from giving grunt the full attention it deserves. I will try to look into this and #11 today or tomorrow. |
Please try again with this set of instructions: https://github.com/pattern-lab/edition-node-grunt#getting-started There is also a --clean=true flag that attempts to delete the contents of |
I'm afraid
(This is now Patternlab v2.4.0 on otherwise the same config.) |
Still the same for me with 2.4.4 on node 4.5.0. Well, the TypeError is gone, but |
@bmuenzenmeyer - in regards to the clean flag, it seems that the grunt task is not taking that argument into account in the function call. The code in the repo seems to look like this:
But it would seem that is should look like the following:
The addition of the clean argument does trigger the cleaning of the directory, but does not do anything to resolve the installation of the starter kit (as far as I am able to tell). |
@jcarpe I merged your changes and can confirm that it still does not work as expected. |
A temporary fix to this is to follow the debugging instructions in pattern-lab/patternlab-node#629:
|
I am using Edition Node Grunt
v2.3.0
onMac
, with Nodev4.4.7
.Expected Behavior
grunt patternlab:starterkit-load --kit=[starterkit-name]
should copy the files fromnode_modules/[starterkit-name]/dist
to./source/
.Actual Behavior
Task runs with proper output/path names etc., but does not actually copy any files (tested with
starterkit-mustache-demo
inmaster
anddev
).Steps to Reproduce
npm install starterkit-mustache-demo
grunt patternlab:starterkit-load --kit=starterkit-mustache-demo
Here's a gist of the output that I get for this.
./source/_patterns/
remains empty.The text was updated successfully, but these errors were encountered: