forestryio / create-static-site

Create static websites with no build configuration.
MIT License
135 stars 10 forks source link

Going to the example post page gives me an 'Unauthorized Access' response #58

Open AcehilmAbegrr opened 5 years ago

AcehilmAbegrr commented 5 years ago

Going to this endpoint after building: http://localhost:3000/posts/example/

Response: {"status":"ERROR","code":"1111","message":"UnAuthorized Access"}

This could be related to the build error I got: Error: watch /home/mike/my-site/src/css/imports/ ENOSPC at _errnoException (util.js:992:11) at FSWatcher.start (fs.js:1382:19) at Object.fs.watch (fs.js:1408:11) at Gaze._watchDir (/home/mike/my-site/node_modules/gaze/lib/gaze.js:289:30) at /home/mike/my-site/node_modules/gaze/lib/gaze.js:358:10 at iterate (/home/mike/my-site/node_modules/gaze/lib/helper.js:52:5) at Object.forEachSeries (/home/mike/my-site/node_modules/gaze/lib/helper.js:66:3) at Gaze._initWatched (/home/mike/my-site/node_modules/gaze/lib/gaze.js:354:10) at Gaze.add (/home/mike/my-site/node_modules/gaze/lib/gaze.js:177:8) at new Gaze (/home/mike/my-site/node_modules/gaze/lib/gaze.js:74:10)

OS: Ubuntu 16.04

node 8.11.4

npm 5.6