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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mathieucaroff
Copy link

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
Copy link
Owner

kach commented Feb 8, 2020

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

@abitrolly
Copy link

abitrolly commented Aug 28, 2021

@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.

None yet

3 participants