Page 1 of 1
Error when I try creating a module in jmvtools using RStudio
Posted: Sun Aug 01, 2021 2:32 pm
by Shahip
Version I am using:
RStudio 1.4.1717
R 3.6.3
Jamovi 1.2.27.0
I am trying to create a module in jmvtools using Rstudio, I am getting this error below when I run the command: jmvtools::install()
ERROR:
TypeError [ERR_INVALID_ARG_TYPE]: The "buffer" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of TypeError
at Object.writeSync (fs.js:704:5)
at C:\Users\shahi\OneDrive\Documents\R\win-library\3.6\jmvtools\node_modules\jamovi-compiler\index.js:488:12
at processTicksAndRejections (internal/process/task_queues.js:93:5)
The "buffer" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of TypeError
I have also tried using different versions of R and I end up receiving the same error.
Re: Error when I try creating a module in jmvtools using RSt
Posted: Sun Aug 01, 2021 10:26 pm
by jonathon
hi,
just double check you're using the latest version of jmvtools, and i'd suggest updating to a recent version of jamovi too.
cheers
jonathon
Re: Error when I try creating a module in jmvtools using RSt
Posted: Sat Oct 30, 2021 1:46 pm
by decaux
Hello
I am getting exactly the same error, using latest versions
jamovi 2.2.2.0
jmvtools 2.2
RStudio 2021.09.0 Build 351
R-4.1.1
Grateful for any suggestions
Peter
Re: Error when I try creating a module in jmvtools using RSt
Posted: Sat Oct 30, 2021 4:02 pm
by sbalci
did you install jmvtools as described in the dev.jamovi.org?
I recommend not putting libraries in onedrive folder. it may be trying to keep some files online only.
Re: Error when I try creating a module in jmvtools using RSt
Posted: Sat Oct 30, 2021 10:40 pm
by jonathon
hi decaux,
could you attach here a screenshot of the commands you're running and the errors they produce?
kind regards
Re: Error when I try creating a module in jmvtools using RSt
Posted: Sun Oct 31, 2021 8:05 am
by decaux
sbalci wrote:did you install jmvtools as described in the dev.jamovi.org?
I recommend not putting libraries in onedrive folder. it may be trying to keep some files online only.
Religiously following the tutorial.
Not using Onedrive.
Used PC laptop. Will try again on my desk machine.
Re: Error when I try creating a module in jmvtools using RSt
Posted: Sun Oct 31, 2021 2:43 pm
by sbalci
Your library path contains OneDrive: C:\Users\shahi\OneDrive\Documents\R\win-library\
Probably you have activated OneDrive to backup your documents folder.
Re: Error when I try creating a module in jmvtools using RSt
Posted: Mon Nov 01, 2021 9:07 am
by MAgojam
sbalci wrote:Your library path contains OneDrive: C:\Users\shahi\OneDrive\Documents\R\win-library\
Probably you have activated OneDrive to backup your documents folder.
Hi @sbalci,
you're probably right, but I don't think @decaux uses @Shahip's PC.
We are waiting for decaux to give us some further information.
I am heavily using jmvtools with the same software versions without encountering any issues.
Cheers,
Maurizio
Re: Error when I try creating a module in jmvtools using RSt
Posted: Mon Nov 01, 2021 2:01 pm
by decaux
No problem with my office desk machine.
Probably time to get a new laptop!
Thanks for comments
Re: Error when I try creating a module in jmvtools using RSt
Posted: Mon Nov 01, 2021 6:23 pm
by sbalci
MAgojam wrote:
you're probably right, but I don't think @decaux uses @Shahip's PC.
Oh, well then, there seems to be different problems