Page 1 of 1

Error in prismjs

Posted: 04 Aug 2021, 17:24
by 3lu
Hi!

I bought the template some days ago and now I tried to setup the sample template.

After using

Code: Select all

npm install
and

Code: Select all

npm run start
the browser window opens and there is this error:
Image

Code: Select all

npm -v && node -v
6.14.13
v14.17.2
How to fix that error? Is it related to the template itself or prismjs?

Re: Error in prismjs

Posted: 06 Aug 2021, 09:51
by mcandu
Hi, could you change prismjs version on package.json with

Code: Select all

"prismjs": "1.9.0" 
then

Code: Select all

 npm install

Re: Error in prismjs

Posted: 15 Sep 2021, 14:23
by 3lu
mcandu wrote:
06 Aug 2021, 09:51
Hi, could you change prismjs version on package.json with

Code: Select all

"prismjs": "1.9.0" 
then

Code: Select all

 npm install
works! Thanks you very much.

Re: Error in prismjs

Posted: 15 Apr 2022, 10:09
by mert.sincan
Thanks @mcandu!