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

Change the required node version #321

Closed
wants to merge 1 commit into from
Closed

Change the required node version #321

wants to merge 1 commit into from

Commits on May 2, 2018

  1. Change the required node version

    I was getting this error:
    
    >$ node bin/vuepress dev docs
    SyntaxError: Invalid regular expression: /(?<=(^|\/))(index|readme)\.md$/: Invalid group
        at Object.<anonymous> (/data/proyectos/blog/vuepress/lib/prepare.js:239:17)
    
    The problem is that [**RegExp lookbehind** was implemented in V8 in version v6.2.103][look-behind-v8] and it [was just merged into the node engine in version 8.10][look-behind-node].
    
    Check [this forum][forum] for more information.
    
    [look-behind-v8]: https://chromium.googlesource.com/v8/v8.git/+/473a6f5b03651fde33fd7b3228a7dc4e38e24914
    [look-behind-node]: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#8.10.0
    [forum]: https://groups.google.com/forum/#!msg/v8-users/r-SN2yuKTL8/pfwrSuqSBQAJ
    whoan authored May 2, 2018
    Configuration menu
    Copy the full SHA
    3a8f526 View commit details
    Browse the repository at this point in the history