Skip to main content
Seb's blog

Hexo, la suite des soucis ou comment je m'y prends mal?

Voila ce que me donne après l'installation du nécessaire, la commande censé installer Hexo:

~/git/hexo$ npm install -g hexo-cli npm WARN checkPermissions Missing write access to /usr/lib/node_modules/hexo-cli npm WARN checkPermissions Missing write access to /usr/lib/node_modules/hexo-cli/node_modules npm WARN checkPermissions Missing write access to /usr/lib/node_modules npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/hexo-cli/node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code EACCES npm ERR! syscall access npm ERR! path /usr/lib/node_modules/hexo-cli npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules/hexo-cli' npm ERR! [Error: EACCES: permission denied, access '/usr/lib/node_modules/hexo-cli'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/lib/node_modules/hexo-cli' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in: npm ERR! /home/sebastien/.npm/_logs/2020-09-19T23_41_18_931Z-debug.log

Sérieusement, c'est ça la facilité, la simplicité? Je m'y replonge demain, pour ce soir je suis trop fatigué!

En contrepartie, pas eu le moindre soucis avec Zola.

Commencer la discussion: Venez écrire un commentaire dans le forum