Cannot Find Module jsreport-office after upgrade from 2.11.0 to 3.6.2



  • I ran the commands as described in the FAQ for upgrading to the latest jsreport version.

    However when I now try to start jsreport, it throws an error "cannot find module jsreport-office"

    0_1655792307218_upload-084482d3-aadc-4327-b2b0-8f31955bd4d0



  • Please try to remove the node_modules and npm install again.
    If it doesn't help please share your package.json file.



  • Hi

    I removed the node modules and then ran the npm install again.
    However now when I try to run JsReport it says that the "start" command is not found for this installation.

    Really strange

    0_1656312238435_upload-539fa3d9-9681-48bb-9afb-19baba948423



  • I tried doing a fresh install of jsreport in a different location and I still get the same issue.
    I also tried running the cli install again.



  • 0_1656313973391_upload-082b77c6-342d-4473-b992-d57ea6d00174



  • I tried doing a fresh install of jsreport in a different location and I still get the same issue.
    I also tried running the cli install again.

    Please share the exact steps you follow.



  • Existing installation:

    Deleted the node_modules and then ran npm install again.
    Tried to run jsreport using the jsreport start command.
    Tried running npm install @jsreport/jsreport-cli -g and then using the jsreport start command

    New Installation:

    Jsreport install process in a new directory.
    jsreport start command

    both ended up with the screenshot I posted before saying that the start command is not found in the installation



  • Do you have something custom in the package.json?

    Perhaps try to uninstall the previous cli from the v2

    npm i uninstall -g jsreport-cli
    

Log in to reply
 

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