Can you show us some code? Hard to guess what's happening here.

On Tue, Jul 1, 2014 at 8:18 PM, Muhammad S Maromi <[email protected]>
wrote:

> I tried the "straightforward" way, but it produces this error:
>
> $ node learn.js
>
>
> /Users/msmaromi/learnnode/trenupp/node_modules/ffi/lib/_foreign_function.js:55
>
>       throw e
>
>             ^
>
> TypeError: error setting argument 0 - writePointer: Buffer instance
> expected as third argument
>
>     at Object.writePointer
> (/Users/msmaromi/learnnode/trenupp/node_modules/ffi/node_modules/ref/lib/ref.js:740:11)
>
>     at Object.set
> (/Users/msmaromi/learnnode/trenupp/node_modules/ffi/node_modules/ref/lib/ref.js:482:13)
>
>     at Object.alloc
> (/Users/msmaromi/learnnode/trenupp/node_modules/ffi/node_modules/ref/lib/ref.js:514:13)
>
>     at Object.ForeignFunction.proxy [as tesJson]
> (/Users/msmaromi/learnnode/trenupp/node_modules/ffi/lib/_foreign_function.js:50:22)
>
>     at Object.<anonymous> (/Users/msmaromi/learnnode/trenupp/learn.js:18:9)
>
>     at Module._compile (module.js:456:26)
>
>     at Object.Module._extensions..js (module.js:474:10)
>
>     at Module.load (module.js:356:32)
>
>     at Function.Module._load (module.js:312:12)
>
>     at Function.Module.runMain (module.js:497:10)
>
>  --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/a955d096-44f2-4acf-b1d3-c0f50ab97f89%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/a955d096-44f2-4acf-b1d3-c0f50ab97f89%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAN5MXoe-31LEPs%3DxqvhtE1-tusFxt79CFq212tiMyrz2MKO%2B9A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to