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

Error: If encoding is specified then the first argument must be a string #35

Open
sc0rp10 opened this issue Sep 18, 2016 · 1 comment
Open

Comments

@sc0rp10
Copy link

sc0rp10 commented Sep 18, 2016

buffer.js:69
      throw new Error(
      ^

Error: If encoding is specified then the first argument must be a string
    at new Buffer (buffer.js:69:13)
    at Readable.<anonymous> (/private/tmp/freight-server/node_modules/archiver/lib/util/index.js:32:15)
    at emitNone (events.js:91:20)
    at Readable.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:975:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickDomainCallback (internal/process/next_tick.js:122:9)

Fires at freight create -u=http://127.0.0.1:8872/

$ node -v
v6.3.1
@andrewwakeling
Copy link

I hit this problem too. Using node v.4.6.x seems to fix this problem. Maybe .nvmrc could be beneficial here?

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