Hi,
When I tried to follow the tutorial step to install the jamvoi tool, it showed this error.
These are my codes:
jmvtools::check()
jmvtools::check(home = "C:/Program Files/jamovi 1.2.27.0")
jmvtools::create("termfreq")
jmvtools::addAnalysis(name = 'termfreq', title='Term Frequency')
setwd("termfreq")
options(jamovi_home = "C:/Program Files/jamovi 1.2.27.0")
jmvtools::install()
This is the error message:
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\73149\OneDrive\Documents\R\win-library\4.1\jmvtools\node_modules\jamovi-compiler\index.js:555: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 no idea about this error. Do you know how to solve it?
Thank you!
jamovi module installation errors on Windows
Re: jamovi module installation errors on Windows
there's a problem with your module, but that's not a very helpful error message. update your jmvtools to the latest version, and i think you'll get a better error message.
install.packages('jmvtools', repos='https://repo.jamovi.org')
cheers
install.packages('jmvtools', repos='https://repo.jamovi.org')
cheers
Re: jamovi module installation errors on Windows
Hi Jonathon,
I updated the jmvtools to the latest version.
Now I got the error message:
Cannot read property 'jmv_packages' of undefined
> jmvtools::install()
jamovi compiler
jamovi 1.2.27 found at C:\Program Files\jamovi 1.2.27.0\bin\jamovi.exe
wrote: termfre.h.R
wrote: termfre.u.yaml
wrote: termfre.src.js
wrote: termfre.js
writing module meta
wrote: 0000.yaml
wrote: jamovi.yaml
wrote: jamovi-full.yaml
Cannot read property 'jmv_packages' of undefined
I updated the jmvtools to the latest version.
Now I got the error message:
Cannot read property 'jmv_packages' of undefined
> jmvtools::install()
jamovi compiler
jamovi 1.2.27 found at C:\Program Files\jamovi 1.2.27.0\bin\jamovi.exe
wrote: termfre.h.R
wrote: termfre.u.yaml
wrote: termfre.src.js
wrote: termfre.js
writing module meta
wrote: 0000.yaml
wrote: jamovi.yaml
wrote: jamovi-full.yaml
Cannot read property 'jmv_packages' of undefined
Re: jamovi module installation errors on Windows
oh yup. your version of jamovi is really old. update to a newer version, and you'll be sweet.
jonathon
jonathon
Re: jamovi module installation errors on Windows
Hi Jonathon,
It worked! Thank you!
It worked! Thank you!