robinthrift / robinthrift.com Goto Github PK
View Code? Open in Web Editor NEWSource code for
Home Page: https://robinthrift.com
Source code for
Home Page: https://robinthrift.com
Hello mate,
Not an issue as such, but just a question I had.
I've just been reading along some of your blog posts about Metalsmith (which I think looks interesting), but it seems that in the past year you've switched over to Hugo. Any reason in particular? ie, Was it because Metalsmith was hard to use or just because you were keen to try out something new?
hi.
root@AR:/usr/local/robinthrift.com-site# node index.js
module.js:328
throw err;
^
Error: Cannot find module 'metalsmith-uglify'
at Function.Module._resolveFilename (module.js:326:15)
at Function.Module._load (module.js:277:25)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/robinthrift.com-site/build.js:13:19)
at Module._compile (module.js:398:26)
at Object.Module._extensions..js (module.js:405:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:430:10)
at startup (node.js:141:18)
at node.js:980:3
root@AR:/usr/local/robinthrift.com-site#
root@AR:/usr/local/robinthrift.com-site# npm install metalsmith-uglify
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/ksmithut/UglifyJS2.git /root/.npm/_git-remotes/git-github-com-ksmithut-UglifyJS2-git-9493e622055d457496a4f3aa67a552d5: 克隆到裸版本库 '/root/.npm/_git-remotes/git-github-com-ksmithut-UglifyJS2-git-9493e622055d457496a4f3aa67a552d5'...
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/ksmithut/UglifyJS2.git /root/.npm/_git-remotes/git-github-com-ksmithut-UglifyJS2-git-9493e622055d457496a4f3aa67a552d5: fatal: remote error:
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/ksmithut/UglifyJS2.git /root/.npm/_git-remotes/git-github-com-ksmithut-UglifyJS2-git-9493e622055d457496a4f3aa67a552d5: Repository not found.
npm ERR! Linux 2.6.32-042stab113.11
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "metalsmith-uglify"
npm ERR! node v5.3.0
npm ERR! npm v3.3.12
npm ERR! code 128
npm ERR! Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/ksmithut/UglifyJS2.git /root/.npm/_git-remotes/git-github-com-ksmithut-UglifyJS2-git-9493e622055d457496a4f3aa67a552d5
npm ERR! 克隆到裸版本库 '/root/.npm/_git-remotes/git-github-com-ksmithut-UglifyJS2-git-9493e622055d457496a4f3aa67a552d5'...
npm ERR! fatal: remote error:
npm ERR! Repository not found.
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /usr/local/robinthrift.com-site/npm-debug.log
root@AR:/usr/local/robinthrift.com-site#
how to fix it?
tks a lot.
As I see you hardcoded links of 'next post' in your Metalsmith posts, and then change permalinks configuration. So for now this links is broken.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.