Skip to content

using-in-frontend.md doc fix: add argv: []#497

Open
mathieucaroff wants to merge 1 commit into
kach:masterfrom
mathieucaroff:patch-1
Open

using-in-frontend.md doc fix: add argv: []#497
mathieucaroff wants to merge 1 commit into
kach:masterfrom
mathieucaroff:patch-1

Conversation

@mathieucaroff

Copy link
Copy Markdown

this was necessary to get compilation with nearley 2.19.1 to work
-- at least when run in node.

Without it here's what I get:

./node_modules/nearley/lib/compile.js:37
                        opts.args[0] ? require('path').dirname(opts.args[0]) : process.cwd(),
                                 ^
TypeError: Cannot read property '0' of undefined

this was necessary to get compilation with nearley 2.19.1 to work
-- at least when run in node.
@kach

kach commented Feb 8, 2020

Copy link
Copy Markdown
Owner

Good catch. Could you rebuild the docs? That's why Travis is failing.

@abitrolly

abitrolly commented Aug 28, 2021

Copy link
Copy Markdown

@mathieucaroff you can rebuild the docs with docker using this command.

docker run -v "$(pwd)":"/app" -w "/app/docs" -it --rm node bash -c "npm install && npm run make"

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

Successfully merging this pull request may close these issues.

3 participants