You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
design-blocks/utils/index.js:23
async function makeScreenshotsByName(name, selector) {
^^^^^^^^
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. (/Users/victorramirez/Desktop/Thinkful-2017/design-blocks/gulpfile.js:8:13)
The text was updated successfully, but these errors were encountered:
@isvictorious try upgrading your Node version. Async functions are not supported by Node versions older than 7.6. node -v should show your current version.
Got this error after following instructions:
design-blocks/utils/index.js:23
async function makeScreenshotsByName(name, selector) {
^^^^^^^^
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. (/Users/victorramirez/Desktop/Thinkful-2017/design-blocks/gulpfile.js:8:13)
The text was updated successfully, but these errors were encountered: