Hi LabEx,
I found error that I think this is because wrong version between your tutorial and current software version, and I stop the Lab before time to assume I can restart the lab again.
But I can't start it again, and I think you should update the content and give other changes to me to do this lab again.
here is the error:
root@iZrj9hokmzpppwu4bb7g37Z:~/ghost# knex-migrator init
/usr/lib/node_modules/knex-migrator/node_modules/fs-extra/lib/index.js:5
...require('./fs'),
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
and here is issues when I install knex-migrator:
oot@iZrj9hokmzpppwu4bb7g37Z:~/ghost# npm install -g knex-migrator
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated