Issue upgrading 2.20 -> 2.40



  • I've just upgraded from jsreport 2.20 -> 2.40.
    npm reported some warnings and 2 high severity vulnerabilities.
    Now I cannot access the jsreport studio any more.
    I get the login screen. Enter credentials and then the spinner shows, but never stops...
    Error log shows nothing.

    Any ideas on how to fix?

    0_1556397907743_screen1.png
    0_1556393186165_screen2.png

    EDIT
    as requested:
    0_1556398432655_screen3.png
    the startup log I will post later (tomorrow)



  • can you post the jsreport startup logs?
    If you open f12 tools, can you share the error from the console?



  • I've reverted the update when I came to the conclusion that I'm not able to run 'jsreport start'.
    I found out that JSreport has been installed with another Windows account, without global installation.
    Jsreport was found in %APPDATA% > nodejs under that other account.

    We can copy that folder to our own %APPDATA% and make it work, but is that a good solution? Or is it better to install jsreport again, with the global -g flag enabled?

    Is it possible that JSreport was not proparly updated, because it was not installed globally, thus causing the issues?



  • We recommend following these steps
    https://jsreport.net/learn/windows

    mkdir jsreportapp
    cd jsreportapp
    npm i -g jsreport-cli
    jsreport init
    jsreport configure
    jsreport start
    

    If your installation is somehow corrupted, it is better to remove it and install jsreport from scratch in the dedicated folder.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.