Saltcorn doesn't work after installing the last release

Deployment

No row selected
No row selected
Chlipouni     a year ago

Hi,

  I was using an old release without any issue.

  After installing the last one with the following command :

  npm install -g @saltcorn/cli

  I obtain the following error when starting Saltcorn server :

  C:\>saltcorn serve
    Error: Package subpath './models/scheduler' is not defined by "exports" in
    C:\Users\Olivier\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\@saltcorn\data\package.json
    Code: ERR_PACKAGE_PATH_NOT_EXPORTED

Thanks



No row selected
No row selected
Chlipouni      a year ago

I solved my issue with the following steps :

  • Uninstall Saltcorn
  • Uninstall NodeJS
  • Remove all remaining folders
  • Install NodeJS 14.15.1
  • Install Saltcorn
  • Modify the .saltcorn config file to use my PostgreSQL database
  • Start the Saltcorn server
  • Upload all needed files

Everything is now OK.


No row selected
No row selected
      6 months ago

fdgh



Sign up to post a reply