imfunniee / gitfolio

:octocat: personal website + blog for every github user

Home Page:https://imfunniee.github.io/gitfolio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't build, unexepected end of JSON

lamarios opened this issue · comments

System Information
Name Value
OS Arch linux
Node Version 11.15.0
Project Version 0.1.1
What is the current behavior? running build command worked once but doesn't work anymore ?
What is the expected behavior? Being able t obuild
Logs
node build --name lamarios
Building HTML/CSS...
undefined:1



SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at /mnt/services/docker/gitfolio/data/build.js:39:29
    at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:54:3)
commented

Just released a new version, can you clone that and try again. lemme know if it works 😅

@imfunniee I have tried again, but this bug still exists, it occurred after I have built once.

屏幕快照 2019-05-20 下午7 24 01

commented

so umm looks like when you used update it would clear out config.json file, reason being i was updating the html with only one argument and it needed 4 lol mb