LouisBarranqueiro / hexo-theme-tranquilpeak

:lipstick: A gorgeous responsive theme for Hexo blog framework
https://louisbarranqueiro.github.io/hexo-theme-tranquilpeak/
GNU General Public License v3.0
1.86k stars 484 forks source link

Npm install Error - install issue #686

Closed KirisameMarisas closed 3 years ago

KirisameMarisas commented 3 years ago

Description

Npm reports Error after I running the command "npm install" .Is the version compatibility issue? 5 @0XN SQ GYEH8X %RJCB
@9Q812(WS9P_7NW}`9~~6MG OKII7V{K 8~4E 7 TZJ Z$V

Expected behavior

Install the theme correctly.

Steps to reproduce the bug

Run "npm install" in theme folder

Environment

LouisBarranqueiro commented 3 years ago

👋 @KirisameMarisas, It might be related to node v16. Could you please try with the active LTS version -> node v14? https://nodejs.org/en/about/releases/

KirisameMarisas commented 3 years ago

I have tried with node v14, but it still have this problem. And I fix it with modifying the package.json file , change "node-sass" from 5.0.0 to 6.0.0 and the problem is solved. By the way , some dependencies have high-risk vulnerabilities because of old version , using safer dependencies or trying to implement it as safe as possible.

LouisBarranqueiro commented 3 years ago

I see. thanks for the tip. I'm gonna release a new version of the theme with updated dependencies.

LouisBarranqueiro commented 3 years ago

done 🙂