Last active
December 10, 2018 14:15
-
-
Save nikolayemrikh/9567a1557557907f33090c110d56dfed to your computer and use it in GitHub Desktop.
Stack trace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nemb:courses-packages nikolayemrikh$ npm run check | |
| > [email protected] check /Users/nikolayemrikh/Documents/courses-packages | |
| > cd packages/courses-checks && ./bin/cli.js -vw | |
| (node:7986) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object | |
| at assertPath (path.js:39:11) | |
| at dirname (path.js:1268:5) | |
| at module.exports (/Users/nikolayemrikh/Documents/courses-packages/packages/courses-checks/lib/config/index.js:19:33) | |
| at module.exports (/Users/nikolayemrikh/Documents/courses-packages/packages/courses-checks/lib/cli/index.js:18:18) | |
| at Object.<anonymous> (/Users/nikolayemrikh/Documents/courses-packages/packages/courses-checks/bin/cli.js:61:1) | |
| at Module._compile (internal/modules/cjs/loader.js:688:30) | |
| at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) | |
| at Module.load (internal/modules/cjs/loader.js:598:32) | |
| at tryModuleLoad (internal/modules/cjs/loader.js:537:12) | |
| at Function.Module._load (internal/modules/cjs/loader.js:529:3) | |
| (node:7986) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) | |
| (node:7986) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nemb:courses-packages nikolayemrikh$ npm run check -- --content-path=/Users/nikolayemrikh/Documents/courses | |
| > [email protected] check /Users/nikolayemrikh/Documents/courses-packages | |
| > cd packages/courses-checks && ./bin/cli.js -vw "--content-path=/Users/nikolayemrikh/Documents/courses" | |
| (node:7994) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object | |
| at assertPath (path.js:39:11) | |
| at dirname (path.js:1268:5) | |
| at module.exports (/Users/nikolayemrikh/Documents/courses-packages/packages/courses-checks/lib/config/index.js:19:33) | |
| at module.exports (/Users/nikolayemrikh/Documents/courses-packages/packages/courses-checks/lib/cli/index.js:18:18) | |
| at Object.<anonymous> (/Users/nikolayemrikh/Documents/courses-packages/packages/courses-checks/bin/cli.js:61:1) | |
| at Module._compile (internal/modules/cjs/loader.js:688:30) | |
| at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) | |
| at Module.load (internal/modules/cjs/loader.js:598:32) | |
| at tryModuleLoad (internal/modules/cjs/loader.js:537:12) | |
| at Function.Module._load (internal/modules/cjs/loader.js:529:3) | |
| (node:7994) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) | |
| (node:7994) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nemb:courses-packages nikolayemrikh$ npm run check | |
| > [email protected] check /Users/nikolayemrikh/Documents/courses-packages | |
| > cd packages/courses-checks && ./bin/cli.js -vw | |
| (node:10523) UnhandledPromiseRejectionWarning: TypeError: Path must be a string. Received null | |
| at assertPath (path.js:28:11) | |
| at dirname (path.js:1349:5) | |
| at module.exports (/Users/nikolayemrikh/Documents/courses-packages/packages/courses-checks/lib/config/index.js:19:33) | |
| at module.exports (/Users/nikolayemrikh/Documents/courses-packages/packages/courses-checks/lib/cli/index.js:18:18) | |
| at Object.<anonymous> (/Users/nikolayemrikh/Documents/courses-packages/packages/courses-checks/bin/cli.js:61:1) | |
| at Module._compile (module.js:653:30) | |
| at Object.Module._extensions..js (module.js:664:10) | |
| at Module.load (module.js:566:32) | |
| at tryModuleLoad (module.js:506:12) | |
| at Function.Module._load (module.js:498:3) | |
| (node:10523) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) | |
| (node:10523) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Для начала работы этот файл необходимо скопировать в `config/courses.config.js`, | |
| // и настроить три значения: | |
| 'use strict'; | |
| module.exports = { | |
| bin: { | |
| // 1. Где на вашей машине расположен ImageMagik compare | |
| compare: '/usr/local/bin/compare' | |
| }, | |
| taskLoader: { | |
| // 2. Где брать курсы | |
| courses: '/Users/nikolayemrikh/Documents/courses' | |
| // courses: '/Users/nikolayemrikh/Documents/courses-packages/packages/courses-core/content/courses' | |
| }, | |
| serve: { | |
| lang: 'ru', | |
| // 3. Откуда брать ассеты | |
| assets: '/Users/nikolayemrikh/Documents/casper/assets' | |
| }, | |
| checks: { | |
| // logCliDir: '/home/kaineer/devel/htmlacademy/tmp/cli-logs' | |
| }, | |
| scripts: { | |
| devUIHideTheory: true | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment