Skip to content
Rob Bayliss edited this page Apr 27, 2019 · 4 revisions

Welcome to the Drupal-Scaffold wiki!

Here you will find fixes for specific, known issues:

Upgrading to Node 10:

As of 4/27/2019, our PHP images were bumped to use NodeJS version 10 (from version 6). This can cause some specific issues during CI builds. The known errors we have seen are:

  • gulp build[1499]: ../src/node_contextify.cc:626:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion args[1]->IsString()' failed.(duringgulp build`).

The fix for these errors is pretty straightforward:

  1. Make sure you are running on NodeJS v10 (using nvm from your host system, or using the newest version of the LastcallMedia/PHP containers).
  2. Try running yarn upgrade to regenerate the lockfile. yarn upgrade MAY reorder dependencies in package.json, which shouldn't be a problem, but you should check package.json before committing to be sure that nothing unexpected changed.

The PR to bump yarn.lock for the v10 upgrade on this repo can be seen here.

Clone this wiki locally