Page 1 of 1

Freya does not work

Posted: 26 Sep 2021, 19:04
by msbeeman
I just purchased the Freya layout for prime react.
After I install the dependencies using "npm install", I started the app using "npm start" per the documentation https://primefaces.org/freya-react/#/st ... umentation.

After running "npm start", the layout does not even load, there is immediately a type error with prism, screenshot shown below. It looks like someone posted about the same issue I had here: viewtopic.php?f=146&t=68176. I did change the prismjs version on package.json to "prismjs": "1.9.0" , as was suggested in that post, but that did not make any change.
Image

Re: Freya does not work

Posted: 28 Sep 2021, 09:30
by mcandu
Hi,

Could you please change prismjs version to "prismjs": "1.9.0" on package.json. Version should be strict.
Delete node_modules and package-lock.json
Then

Code: Select all

npm i

Code: Select all

npm start
After that you should run sass command for the styling

Code: Select all

sass --watch public/assets:public/assets --no-source-map
Also we're gonna update Freya and get rid of this issue as soon as possible.