RWS / dxa-html-design

SDL Digital Experience Accelerator Whitelabel HTML Design
Apache License 2.0
4 stars 3 forks source link

DXA HTML Design does not build with Node 6 #8

Closed jhorsman closed 8 years ago

jhorsman commented 8 years ago

As described in the README I installed Node JS from https://nodejs.org/. I installed the latest version which today is Node v6.2.1 Current.

However with Node 6 the build of the DXA HTML Design will fail on installing the npm packages, the install of pngquant-bin fails. See screenshot.

screenshot npm

The solution is to downgrade and install Node 4. In my case

bkoopman commented 8 years ago

When you go to the Node download page, the LTS version is actually recommended for most users, but for now I think it indeed makes sense to specify that. For the 1.5 release we will upgrade to npm v3, but there are a lot of grunt packages we should also consider updating which at current isn't planned for.

rpannekoek commented 8 years ago

DXA 1.5 README has been updated to make clear that the LTS version must be used. There is a separate issue for the fact that we are using old, deprecated packages (which is most probably the root cause why Node 6 can currently not be used).