Issues with Ultimate Theme - React

Post Reply
wing77
Posts: 2
Joined: 02 Sep 2021, 15:22

02 Sep 2021, 16:30

Hi,

I just purchased the ultimate theme and I'm trying to run it but I'm getting errors.

When running npm start, it compiles correctly however when viewing it there is an error under "node_modules/prismjs/components/prism-jsx.js:32".

The section of the code that is failing is

Code: Select all

Prism.languages.jsx.tag.inside['comment'] = javascript['comment'];
Screenshot of the error I'm facing. Not sure how to attach images here
https://www.google.com/search?q=google+ ... LzzqMzW0NM

The issue is "javascript['comment']" is undefined

I commented the above line and then I have a second issue where the css doesn't load correctly and the styles are broken.

Forgive me if I am missing quite a few steps here, I'm new to this and just diving into prime react

Regards
Marlon

mcandu
Posts: 59
Joined: 20 Jan 2021, 16:31

03 Sep 2021, 10:01

Hi,

Could you please delete node_modules and package-lock.json and update prismjs version to

Code: Select all

"prismjs": "1.9.0"
on package.json. Then

Code: Select all

npm install

Code: Select all

npm start

Code: Select all

sass --watch public/assets:public/assets --no-source-map
Also we'll update the Ultima and get rid of this error as soon as possible.

Best Regards,

wing77
Posts: 2
Joined: 02 Sep 2021, 15:22

03 Sep 2021, 13:36

Thanks,

This worked for me.

Post Reply

Return to “Ultima - PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests