Open luckypoem opened 6 years ago
simple-blog doesn't support node v9.8.0? which version of node does simple-blog support?
I am running at node 9.11.1 which is even newer. I think sh: 1: node: Permission denied
is the critical reason why npm install failed, it seems
that scrypt's installation is broken. I will update the dependency and
perhaps code later.
在 2018年4月21日週六 11:56,luckypoem notifications@github.com 寫道:
simple-blog doesn't support node v9.8.0? which version of node does simple-blog support?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Saren-Arterius/simple-blog/issues/4#issuecomment-383265547, or mute the thread https://github.com/notifications/unsubscribe-auth/AEuDt9o_CDIq6qZrHrGdwh3202s5QZZtks5tqq3ngaJpZM4TeTRA .
i read http://sourcode.net/sh-1-node-permission-denied/ and https://lxadm.com/NODE.JS:_sh:_1:_node:_Permission_denied , i just ran: npm config set unsafe-perm true
then the issue is fixed.but: root@ar:~/simple-blog# ./bin/www Recommendations computed 1 '1.V2VsY29tZSB0byBTaW1wbGUgQmxvZw==.1457766755189.md' Cached 1
so how to build the website?
go to http://localhost:3000
hi.
root@ar:~/simple-blog# npm install npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade npm WARN deprecated constantinople@3.0.2: Please update to at least constantinople 3.1.1 npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer
sh: 1: node: Permission denied npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! scrypt@6.0.3 preinstall:
node node-scrypt-preinstall.js
npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the scrypt@6.0.3 preinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-04-21T03_49_09_321Z-debug.log root@ar:~/simple-blog# root@ar:~/simple-blog# node --version v9.8.0 root@ar:~/simple-blog#
how to fix it?