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

loadstarterkit failed with "TypeError: Path must be a string." #429

Closed
nilshartmann opened this issue Aug 16, 2016 · 4 comments
Closed

loadstarterkit failed with "TypeError: Path must be a string." #429

nilshartmann opened this issue Aug 16, 2016 · 4 comments

Comments

@nilshartmann
Copy link
Contributor

I am using Pattern Lab Node v2.4.0 on Windows, with Node v4.2.4, using the Gulp Edition. (edition-node-gulp-1.3.0)

Expected Behavior

gulp patternlab:loadstarterkit --kit=starterkit-XXX should install the specified starter kit

Actual Behavior

The call to gulp fails with the error message [TypeError: Path must be a string. Received undefined]

Steps to Reproduce

Run gulp patternlab:loadstarterkit --kit=starterkit-mustache-materialdesign or with any other starter kit.

@bmuenzenmeyer
Copy link
Member

fixed as part of 2.4.1

@jcarpe
Copy link

jcarpe commented Nov 29, 2016

I am using patternlab-node 2.4.1, but still experiencing exactly this issue.

npm run gulp patternlab:loadstarterkit --kit=starterkit-mustache-foundation

> [email protected] gulp /Projects/[project dir]
> gulp --  "patternlab:loadstarterkit"


Loading engines...
...scanning for engines in the core...
...scanning for engines in the edition or test directory...
- mustache engine: good to go
...done loading engines.

[11:51:59] Using gulpfile /Projects/[project dir]/gulpfile.js
[11:51:59] Starting 'patternlab:loadstarterkit'...
TypeError: Path must be a string. Received undefined

Node v6.0.0, Gulp local 4.0.0-alpha.2

@bmuenzenmeyer
Copy link
Member

i wonder if this fails when using the npm run gulp strategy versus the global install. more digging is required.

of note too, is that 2.4.1 is no longer latest. perhaps upgrading could help

@jcarpe
Copy link

jcarpe commented Dec 6, 2016

No, I think I realized that I was screwing up the command.
Thanks!

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

3 participants