joshkatz / r-script

A simple little module for passing data from NodeJS to R (and back again).
MIT License
161 stars 67 forks source link

Uncaught TypeError: child_process.spawnSync is not a function(…) #4

Open sandeeprepakula opened 7 years ago

sandeeprepakula commented 7 years ago

Hi,

Tried using the r-script callSync module and found below error with child_process saying spawnSync is not a function.

Uncaught TypeError: child_process.spawnSync is not a function(…)

When I checked README of child_process below message do exist.

===========================

Security holding package

This package name is not currently in use, but was formerly occupied by another package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it.

You may adopt this package by contacting support@npmjs.com and requesting the name.

macdja38 commented 6 years ago

This is actually a built in node lib https://nodejs.org/api/child_process.html