question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hello! I try update backstopjs to 3.2 version and get next:

$ npm update  -g backstopjs
/usr/local/bin/backstop -> /usr/local/lib/node_modules/backstopjs/cli/index.js

> puppeteer@1.4.0 install /usr/local/lib/node_modules/backstopjs/node_modules/puppeteer
> node install.js

Downloading Chromium r555668 - 76.4 Mb [====================] 100% 0.0s 
Chromium downloaded to /usr/local/lib/node_modules/backstopjs/node_modules/puppeteer/.local-chromium/mac-555668
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.

+ backstopjs@3.2.16
added 15 packages from 12 contributors, removed 2 packages and updated 8 packages in 65.926s
Andrews-Mini:Cart Krawchuk$ backstop test
/usr/local/lib/node_modules/backstopjs/core/util/runPuppet.js:39
async function processScenarioView (scenario, variantOrScenarioLabelSafe, scenarioLabelSafe, viewport, config) {
      ^^^^^^^^
SyntaxError: Unexpected token function
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/backstopjs/core/util/createBitmaps.js:10:17)

Also after updating of Canary elder version of backstopjs doesn’t work.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
garriscommented, May 14, 2018

Upgrading to node 8+ will fix the issue.

1reaction
SheffBRCcommented, May 21, 2018

Bug depend on hardware. Bug was at mac mini 2014 with HDD image

There are no problems at MacBook with I5 2.3 Ghz, 8 Gb RAM and SSD

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade error codes - Windows Client - Microsoft Learn
Understand the error codes that may come up if something goes wrong during the Windows 10 upgrade process.
Read more >
List of Windows Upgrade error codes and solutions
If your Windows 11/10 Upgrade has failed & if you have noted down the error code, then this post offers some basic solutions...
Read more >
If your iPhone or iPad won't update - Apple Support
To update your iPhone or iPad, you need a compatible device, an internet ... An error occurred while checking for a software update."....
Read more >
Windows 10 upgrade failed? Use these 5 tools to find ... - ZDNet
The most common upgrade errors can be traced to a handful of basic causes: software incompatibilities, storage-related issues, and errors in ...
Read more >
6 Upgrade Error Messages - Oracle Help Center
If you receive any error messages after the precheck step, you must fix the problem, restore your Oracle9iAS Portal from its backup and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found