Closed manajay closed 6 years ago
more info
root@ubuntu:/var/www/ghost# npm install ghost-github
npm WARN saveError ENOENT: no such file or directory, open '/var/www/ghost/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/var/www/ghost/package.json'
npm WARN ghost No description
npm WARN ghost No repository field.
npm WARN ghost No README data
npm WARN ghost No license field.
+ ghost-github@1.0.2
updated 1 package and audited 1508 packages in 2.594s
found 8 vulnerabilities (6 low, 2 high)
run `npm audit fix` to fix them, or `npm audit` for details
root@ubuntu:/var/www/ghost# npm audit fix
npm ERR! code EAUDITNOPJSON
npm ERR! audit No package.json found: Cannot audit a project without a package.json
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-06-17T04_57_11_925Z-debug.log
i didn't get ghost-github
. under node_modules
path
ghost -v
Ghost-CLI version: 1.8.1
Ghost Version (at /var/www/ghost): 1.24.3
npm -v
6.1.0
node -v
v6.14.3
head -n 1 /etc/issue
Ubuntu 16.04.4 LTS \n \l
Hey Lyn - sorry for the late reply. Did you make sure to follow the installation instructions here?
yeah i think so . i have done this for twice. Since you are sure about this , i will try it again.
Closing due to inactivity.
Error: Cannot find module '/var/www/ghost/versions/1.24.3/core/server/adapters/storage/ghost-github'
Jun 15 20:53:54 ubuntu node[6351]: NAME: IncorrectUsageError Jun 15 20:53:54 ubuntu node[6351]: CODE: MODULE_NOT_FOUND Jun 15 20:53:54 ubuntu node[6351]: MESSAGE: We detected a misuse. Please read the stack trace. Jun 15 20:53:54 ubuntu node[6351]: level:critical Jun 15 20:53:54 ubuntu node[6351]: We cannot find your adapter in: /var/www/ghost/content/adapters/storage/ or: /var/www/ghost/versions/1.24.3/core/server/adapters/storage/ Jun 15 20:53:54 ubuntu node[6351]: IncorrectUsageError: We detected a misuse. Please read the stack trace. Jun 15 20:53:54 ubuntu node[6351]: at new IncorrectUsageError (/var/www/ghost/versions/1.24.3/node_modules/ghost-ignition/lib/errors/index.js:79:23)