Issues with Ultimate Theme - React

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
wing77
Posts: 4
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: 107
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: 4
Joined: 02 Sep 2021, 15:22

03 Sep 2021, 13:36

Thanks,

This worked for me.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

28 Dec 2021, 08:39

Glad to hear, thanks a lot for the update!

Best Regards,

Post Reply

Return to “Ultima - PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests