ghost-google-drive
ghost-google-drive copied to clipboard
Alot of warning as missing peer dependencies?
On first install command.
mac:ghostblog adtc$ ghost stop
✔ Stopping Ghost
mac:ghostblog adtc$ cd current
mac:current adtc$ npm install ghost-google-drive
npm WARN deprecated [email protected]: This project is unmaintained
npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
npm WARN deprecated [email protected]: This project is unmaintained
npm WARN rm not removing /Users/adtc/Documents/ghostblog/versions/2.18.2/node_modules/.bin/rimraf as it wasn't installed by /Users/adtc/Documents/ghostblog/versions/2.18.2/node_modules/rimraf
npm WARN rm not removing /Users/adtc/Documents/ghostblog/versions/2.18.2/node_modules/.bin/nopt as it wasn't installed by /Users/adtc/Documents/ghostblog/versions/2.18.2/node_modules/nopt
npm WARN rm not removing /Users/adtc/Documents/ghostblog/versions/2.18.2/node_modules/.bin/mkdirp as it wasn't installed by /Users/adtc/Documents/ghostblog/versions/2.18.2/node_modules/mkdirp
npm WARN rm not removing /Users/adtc/Documents/ghostblog/versions/2.18.2/node_modules/.bin/extract-zip as it wasn't installed by /Users/adtc/Documents/ghostblog/versions/2.18.2/node_modules/@tryghost/extract-zip
> [email protected] install /Users/adtc/Documents/ghostblog/versions/2.18.2/node_modules/dtrace-provider
> node-gyp rebuild || node suppress-error.js
ACTION binding_gyp_ndtp_target_build_ndtp .
TOUCH Release/obj.target/ndtp.stamp
> [email protected] install /Users/adtc/Documents/ghostblog/versions/2.18.2/node_modules/knex-migrator/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download
[sqlite3] Success: "/Users/adtc/Documents/ghostblog/versions/2.18.2/node_modules/knex-migrator/node_modules/sqlite3/lib/binding/node-v64-darwin-x64/node_sqlite3.node" is installed via remote
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of knex@>=0.6.10 <0.15.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
+ [email protected]
added 257 packages from 131 contributors, removed 100 packages and updated 642 packages in 51.275s
on last command (after copying all files cp -vR current/node_modules/ghost-google-drive content/adapters/storage/ghost-google-drive) running
mac:ghostblog adtc$ cd content/adapters/storage/ghost-google-drive
mac:ghost-google-drive adtc$ npm install
npm WARN saveError ENOENT: no such file or directory, open '/Users/adtc/Documents/ghostblog/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/adtc/Documents/ghostblog/package.json'
npm WARN ghostblog No description
npm WARN ghostblog No repository field.
npm WARN ghostblog No README data
npm WARN ghostblog No license field.
up to date in 1.064s
Then ghost won't restart.
mac:ghostblog adtc$ ghost start
✔ Checking current folder permissions
✔ Validating config
✔ Checking memory availability
✖ Starting Ghost
A GhostError occurred.
Message: Ghost process exited with code: 0
Debug Information:
OS: Mac OS X, v10.14.3
Node Version: v10.15.3
Ghost-CLI Version: 1.9.9
Environment: production
Command: 'ghost start'
Additional log info available in: /Users/adtc/.ghost/logs/ghost-cli-debug-2019-03-26T11_06_25_667Z.log
Try running ghost doctor to check your system for known issues.
You can always refer to https://docs.ghost.org/api/ghost-cli/ for troubleshooting.
Hi, fix:
Copy folder with files "content/adapters/storage/ghost-google-drive" to "/core/server/adapters/storage/" & work :-)
Old topic, but this may help: If your problem is dependencies, you may also use the dependency list to install everything:
cd core/adapters/storage/ghost-google-drive
npm install
That should give you everything you need.
I'm not sure if there is a better way to handle the adaptor installation. Ghost has evolved a lot and I'm yet to update. It will be really great if someone can help me to organize the instructions better to make the installation easier.