Skip to content

Debian Jessie ships too old Node version #236

@Ryuno-Ki

Description

@Ryuno-Ki

Today I tried to install patternlab-node on a Debian Jessie (aka v8) with nodejs installed from repos (that is, in v0.10.29).

After executing grunt serve I received the following message:

$ grunt serve
Running "patternlab" task

Running "copy:main" (copy) task
Copied 28 files

Running "browserSync:dev" (browserSync) task

/home/aj/src/patternlab/node_modules/patternlab-node/node_modules/bs-html-injector/node_modules/jsdom/lib/jsdom.js:3
`jsdom 4.x onward only works on io.js or Node.js 4 or newer: https://github.co
^
Fatal error: Unexpected token ILLEGAL

Downgrading to patternlab 0.10.1 "solved" the issue. This is just for your information. If you have spare time, you may want to backport some features.

As far as I can tell, the only issue is some UTF-8 error on grunt browser sync, but that's okay. I refresh the browser manually then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions