Closed el-lsan closed 7 years ago
I get the following error when I do roots compile :
roots compile
compiling... { Error: Uncaught, unspecified "error" event. ([object Object]) at Roots.emit (events.js:163:17) at Compile.<anonymous> (/usr/local/lib/node_modules/roots/lib/api/compile.js:74:20) at tryCatchReject (/usr/local/lib/node_modules/roots/node_modules/when/lib/makePromise.js:845:30) at runContinuation1 (/usr/local/lib/node_modules/roots/node_modules/when/lib/makePromise.js:804:4) at Rejected.when (/usr/local/lib/node_modules/roots/node_modules/when/lib/makePromise.js:625:4) at Pending.run (/usr/local/lib/node_modules/roots/node_modules/when/lib/makePromise.js:483:13) at Scheduler._drain (/usr/local/lib/node_modules/roots/node_modules/when/lib/Scheduler.js:62:19) at Scheduler.drain (/usr/local/lib/node_modules/roots/node_modules/when/lib/Scheduler.js:27:9) at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9) context: { request: { path: 'https://public-api.wordpress.com/rest/v1.1/sites/ehsan.it/roots/posts?type=post', originator: [Object], headers: [Object], method: 'GET', canceled: false, cancel: [Function: cancel] }, url: 'https://public-api.wordpress.com/rest/v1.1/sites/ehsan.it/roots/posts?type=post', raw: { request: [Object], response: [Object] }, status: { code: 404 }, headers: { Server: 'nginx', Date: 'Wed, 18 Jan 2017 11:08:00 GMT', 'Content-Type': 'text/plain;charset=utf-8', 'Transfer-Encoding': 'chunked', Connection: 'close', Vary: 'Accept-Encoding', 'X-Hacker': 'Oh, Awesome: Opossum', Expires: 'Wed, 11 Jan 1984 05:00:00 GMT', 'Cache-Control': 'no-cache, must-revalidate, max-age=0', 'Access-Control-Allow-Origin': '*', 'X-Ac': '2.fra _dfw', 'Strict-Transport-Security': 'max-age=15552000' }, entity: '' } }
however JetPack and JSON API is activated and running on my backend:
JetPack
JSON API
http://ehsan.it/roots/?json=get_recent_posts http://ehsan.it/roots/xmlrpc.php http://ehsan.it/roots/xmlrpc.php?rsd
I get the following error when I do
roots compile
:however
JetPack
andJSON API
is activated and running on my backend:http://ehsan.it/roots/?json=get_recent_posts http://ehsan.it/roots/xmlrpc.php http://ehsan.it/roots/xmlrpc.php?rsd