티도리 버전 확인이 안됩니다.
8.0.2버전을 github에서 다운받았는데요, 강의는 7.0버전 기준이라서 tidory new 명령어가 없어진 것으로 확인됩니다 tidory --version 명령의 경우도 -g로 인스톨했는데, tidory 설치 폴더에서만 에러 없이 버전이 확인되고 설치 폴더 밖에서는 버전 확인이 안됩니다. path 문제인가요? C:\Users\user>tidory --version internal/fs/utils.js:314 throw err; ^ Error: ENOENT: no such file or directory, open 'C:\Users\jieun\docs\index.xml' at Object.openSync (fs.js:498:3) at Object.readFileSync (fs.js:394:35) at Object. (C:\Users\jieun\AppData\Roaming\npm\node_modules\tidory\tidory.config.js:8:6) at Module._compile (internal/modules/cjs/loader.js:1072:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10) at Module.load (internal/modules/cjs/loader.js:937:32) at Function.Module._load (internal/modules/cjs/loader.js:778:12) at Module.require (internal/modules/cjs/loader.js:961:19) at require (internal/modules/cjs/helpers.js:92:18) at Object. (C:\Users\jieun\AppData\Roaming\npm\node_modules\tidory\bin\tidory:13:22) { errno: -4058, syscall: 'open', code: 'ENOENT', path: 'C:\\Users\\jieun\\docs\\index.xml' C:\Users\user\AppData\Roaming\npm\node_modules\tidory\bin 파일을 보면 tidory new 명령이 없습니다. #!/usr/bin/env node const wd = process.cwd() const tidory = require('commander') const shelljs = require('shelljs') const path = require('path') const TistorySkin = require('tistory-skin') const webpack = require.resolve('webpack/bin/webpack') const webpackDevConfig = path.join(__dirname, '../config/webpack.dev.conf') const webpackProdConfig = path.join(__dirname, '../config/webpack.prod.conf') const pkg = require('../package.json') const tidoryConfig = require('../tidory.config') const skin = new TistorySkin(tidoryConfig.url, tidoryConfig.ts_session) const dist = path.join(wd, tidoryConfig.path.dist) tidory.version(pkg.version) /** * -> tidory start */ tidory .command('start') .description('Start development server') .action(() => { shelljs.exec(`node ${webpack} serve --config ${webpackDevConfig} --env development`) }) /** * -> tidory preview */ tidory .command('preview') .description('Start preview server') .action(() => { shelljs.exec(`node ${webpack} serve --config ${webpackDevConfig} --env preview`) }) /** * -> tidory production */ tidory .command('production') .description('Build tidory project for production') .action(() => { shelljs.exec(`node ${webpack} --config ${webpackProdConfig} --env production`) }) /** * -> tidory deploy */ tidory .command('deploy') .description('Deploy tistory skin') .action(async () => { await skin.clear() await skin.deploy(dist) }) /** * -> tidory store */ tidory .command('store') .description('Store tistory skin on skin storage') .action(async () => { await skin.storage.clear() await skin.storage.store(dist, tidoryConfig.skinname) }) tidory.parse(process.argv)