"Could not build module" error following "jamovi::install()"

Everything related to the development of modules in jamovi
Post Reply
tegedik
Posts: 4
Joined: Thu Feb 15, 2018 6:20 pm

"Could not build module" error following "jamovi::install()"

Post by tegedik »

Hello,

I was trying the module development tutorial on Developer's Hub. Everything seemed normal until I got the error message following `jmvtools::install()`:

Code: Select all

> jmvtools::install()

jamovi compiler

jamovi found at /Applications/jamovi.app
wrote: ttest.h.R
wrote: ttest.u.yaml
wrote: ttest.src.js
wrote: ttest.js
writing module meta
wrote: 0000.yaml
wrote: jamovi.yaml
dyld: Library not loaded: @executable_path/../Frameworks/R.framework/Versions/3.6/Resources/lib/libRblas.dylib
  Referenced from: /Applications/jamovi.app/Contents/Frameworks/R.framework/Versions/3.6/Resources/lib/libR.dylib
  Reason: image not found
/Applications/jamovi.app/Contents/Frameworks/R.framework/Versions/3.6/Resources/bin/INSTALL: line 34:  1687 Done                    echo 'tools:::.install_packages()'
      1688 Abort trap: 6           | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --slave --args ${args}

Could not build module
I have no idea why this happened. Both `libR.dylib` and `libRblas.dylib` are present. I would be glad if you could help.

I am running jamovi version 1.2.13 and R version 3.6.3 on macOS Catalina (10.15.3).
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: "Could not build module" error following "jamovi::instal

Post by jonathon »

hi,

great to hear you're taking a punt at module development!

this issue is described here:

https://dev.jamovi.org/#28-02-2020

that item links to the 1.2.2, but you can use the following link if you want a newer version:

https://www.jamovi.org/downloads/jamovi-unsigned.zip

if you need any help during assistance, drop us a line, and i'll send you a slack invite. you may find slack is an easier way to receive help for development.

cheers

jonathon
tegedik
Posts: 4
Joined: Thu Feb 15, 2018 6:20 pm

Re: "Could not build module" error following "jamovi::instal

Post by tegedik »

Thanks a lot, Jonathon. It works. I finished the tutorial which is quite readable. I have a rough grasp about the file structure. I might need help for multivariable analysis and complex dynamic tables. I really appreciate a slack invite.

Best,

T.E.G.
jwilmer
Posts: 2
Joined: Fri Apr 02, 2021 7:06 pm

Re: "Could not build module" error following "jamovi::instal

Post by jwilmer »

Hello! I am excitedly considering building a jamovi module (on Mac OS Big Sur) as a companion to my showmydata.org website. I got as far as downloading jmvtools and the zip file for the unsigned version of Jamovi linked here (https://dev.jamovi.org/) but the zip file wouldn't unzip. The error is shown here (https://www.dropbox.com/s/ipdg6ci36rj5k ... r.png?dl=0). Any ideas how to get past this error? Many thanks! Jeremy
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: "Could not build module" error following "jamovi::instal

Post by jonathon »

hi, could you start a new thread? this is an old thread unrelated to your query.

with thanks

jonathon
Post Reply