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

node.js < 12 not supported #359

Closed
jlevon opened this issue Jul 2, 2021 · 4 comments
Closed

node.js < 12 not supported #359

jlevon opened this issue Jul 2, 2021 · 4 comments

Comments

@jlevon
Copy link
Contributor

jlevon commented Jul 2, 2021

Version of Marp Tool

latest

Operating System

Linux

Environment

ubuntu version:

$ cat /etc/debian_version
bullseye/sid

$ npx --version
6.14.4

How to reproduce

$ make
npx @marp-team/marp-cli --pdf --allow-local-files -o ioregionfd.pdf ioregionfd.md
npx: installed 265 in 26.365s
yargs supports a minimum Node.js version of 12. Read our version support policy: https://github.com/yargs/yargs#supported-nodejs-versions
make: *** [Makefile:3: ioregionfd.pdf] Error 1

Expected behavior

This was still working until recently

Actual behavior

Can run via npx as described in the README

Additional information

No response

@jlevon jlevon added the bug Something isn't working label Jul 2, 2021
@yhatt
Copy link
Member

yhatt commented Jul 2, 2021

The latest Marp CLI (v1.0.0+) has already dropped the support for Node.js < 12 in accordance with Node.js maintenance schedule.

marp-cli/package.json

Lines 28 to 30 in 91ad8c0

"engines": {
"node": ">=12"
},

Probably you're using Node.js < 12 and it has already reached End-Of-Life. Please upgrade your Node.js to the supported version (>= 12).

When the updation is blocking by a special reason, you can use the latest release of Marp CLI v0.x.x as a workaround.

npx @marp-team/marp-cli@^0.23.3

@yhatt yhatt closed this as completed Jul 2, 2021
@yhatt yhatt removed the bug Something isn't working label Jul 2, 2021
@jlevon
Copy link
Contributor Author

jlevon commented Jul 2, 2021

Ubuntu is a pretty popular operating system, maybe it's worth documenting this in the install instructions rather than just closing the issue?

@yhatt
Copy link
Member

yhatt commented Jul 2, 2021

@jlevon We're always welcome for your pull request to add Node.js requirement.

@yhatt
Copy link
Member

yhatt commented Jul 2, 2021

-> #361

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