Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

textusm cli fails when passing a width #734

Closed
jceb opened this issue Feb 3, 2021 · 1 comment
Closed

textusm cli fails when passing a width #734

jceb opened this issue Feb 3, 2021 · 1 comment

Comments

@jceb
Copy link
Contributor

jceb commented Feb 3, 2021

Version: 0.6.9

Call: textusm -w 1024 -i x -o x.png

Result:

(node:417230) UnhandledPromiseRejectionWarning: Error: Protocol error (Emulation.setDeviceMetricsOverride): Invalid pa
rameters Failed to deserialize params.width - BINDINGS: int32 value expected at position 21
    at /home/jceb/.node_modules/textusm.cli/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:208:63
    at new Promise (<anonymous>)
    at CDPSession.send (/home/jceb/.node_modules/textusm.cli/node_modules/puppeteer/lib/cjs/puppeteer/common/Connectio
n.js:207:16)
    at EmulationManager.emulateViewport (/home/jceb/.node_modules/textusm.cli/node_modules/puppeteer/lib/cjs/puppeteer
/common/EmulationManager.js:20:26)
    at Page.setViewport (/home/jceb/.node_modules/textusm.cli/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:
973:58)
    at /home/jceb/.node_modules/textusm.cli/dist/index.js:217:22
    at step (/home/jceb/.node_modules/textusm.cli/dist/index.js:34:23)
    at Object.next (/home/jceb/.node_modules/textusm.cli/dist/index.js:15:53)
    at fulfilled (/home/jceb/.node_modules/textusm.cli/dist/index.js:6:58)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:417230) 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(). To t
erminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https:
//nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:417230) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise reject
ions that are not handled will terminate the Node.js process with a non-zero exit code.
harehare added a commit that referenced this issue Feb 3, 2021
@harehare
Copy link
Owner

harehare commented Feb 3, 2021

Fix 6ee42bb

harehare added a commit that referenced this issue Feb 3, 2021
* Bump webpack-cli from 4.4.0 to 4.5.0 in /web (#733)

Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.4.0...webpack-cli@4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump webpack from 5.19.0 to 5.20.0 in /web (#731)

Bumps [webpack](https://github.com/webpack/webpack) from 5.19.0 to 5.20.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.19.0...v5.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Takahiro Sato <harehare1110@gmail.com>

* Bump postcss-loader from 4.2.0 to 5.0.0 in /web (#732)

Bumps [postcss-loader](https://github.com/webpack-contrib/postcss-loader) from 4.2.0 to 5.0.0.
- [Release notes](https://github.com/webpack-contrib/postcss-loader/releases)
- [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/postcss-loader@v4.2.0...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Fix for #734

* Fix user stroy map lines not drawn

* Update version

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
@harehare harehare closed this as completed Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants