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

broccoli-taco serve throws TypeError: Arguments to path.join must be strings #23

Open
JimmiLee opened this issue Jan 5, 2016 · 1 comment

Comments

@JimmiLee
Copy link

JimmiLee commented Jan 5, 2016

I'm trying out the broccoli-taco, but I'm getting an error when running broccoli-taco serve. I'm using node v0.12.2, but when I run broccoli-taco serve it throws a TypeError at me - this is the output:

Serving on http://localhost:4200

Built with error:
TypeError: Arguments to path.join must be strings
    at Object.posix.join (path.js:488:13)
    at Fingerprint.getDestFilePath (/home/jimmi/Sites/broccoli-taco-demo/node_modules/broccoli-fingerprint/index.js:43:23)
    at Fingerprint.Filter.canProcessFile (/home/jimmi/Sites/broccoli-taco-demo/node_modules/broccoli-filter/index.js:58:15)
    at /home/jimmi/Sites/broccoli-taco-demo/node_modules/broccoli-filter/index.js:42:18
    at /home/jimmi/Sites/broccoli-taco-demo/node_modules/promise-map-series/index.js:11:14
    at lib$rsvp$$internal$$tryCatch (/home/jimmi/Sites/broccoli-taco-demo/node_modules/rsvp/dist/rsvp.js:493:16)
    at lib$rsvp$$internal$$invokeCallback (/home/jimmi/Sites/broccoli-taco-demo/node_modules/rsvp/dist/rsvp.js:505:17)
    at /home/jimmi/Sites/broccoli-taco-demo/node_modules/rsvp/dist/rsvp.js:1001:13
    at lib$rsvp$asap$$flush (/home/jimmi/Sites/broccoli-taco-demo/node_modules/rsvp/dist/rsvp.js:1198:9)
    at process._tickCallback (node.js:355:11)

I sincerely hope someone can give me an idea of the problem I'm facing here...

@givanse
Copy link
Contributor

givanse commented Aug 22, 2016

You can fix it by locking broccoli-merge-trees to version 0.2.1.

// lock broccoli-merge-trees to 0.2.1
rm -rf tmp
npm install
broccoli-taco build dist

@givanse givanse mentioned this issue Jan 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants