Hi, I have a basic licence of Ultima React. Executing "npm start" results in following error (version ultima-react-6.1.0).
Version ultima-react-6.0.1 renders correctly.
29 | Prism.languages.jsx.tag.inside['tag'].pattern = /^<\/?[^\s>\/]*/i;
30 | Prism.languages.jsx.tag.inside['attr-value'].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i;
31 | Prism.languages.jsx.tag.inside['tag'].inside['class-name'] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/;
> 32 | Prism.languages.jsx.tag.inside['comment'] = javascript['comment'];
| ^ 33 |
34 | Prism.languages.insertBefore('inside', 'attr-name', {
35 | 'spread': {
Thanks,
TypeError: Cannot read property 'comment' of undefined
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
Could you please change version of prismjs version to in package.json and delete node_modules and package-lock.json. Then npm i.
Code: Select all
"prismjs": "1.9.0"
You should run this command
Also you can check https://www.primefaces.org/ultima-react ... umentation for more information like this command.
Code: Select all
sass --watch public/assets:public/assets --no-source-map
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Glad to hear, thanks a lot for the update!
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests