Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an ES2015-related syntax error when running npm test #6

Open
jonfriskics opened this issue Jan 23, 2017 · 1 comment
Open

Comments

@jonfriskics
Copy link
Contributor

jonfriskics commented Jan 23, 2017

CodeBreaker :

Error: Uncaught [SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode]
    at reportException (/Users/jonfriskics/Desktop/CodeBreakerProject/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:58:24)
    at processJavaScript (/Users/jonfriskics/Desktop/CodeBreakerProject/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js:130:7)
    at HTMLScriptElementImpl._eval (/Users/jonfriskics/Desktop/CodeBreakerProject/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js:65:7)
    at /Users/jonfriskics/Desktop/CodeBreakerProject/node_modules/jsdom/lib/jsdom/browser/resource-loader.js:31:22
    at Object.check (/Users/jonfriskics/Desktop/CodeBreakerProject/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js:88:11)
    at Object.check (/Users/jonfriskics/Desktop/CodeBreakerProject/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js:91:23)
    at Object.check (/Users/jonfriskics/Desktop/CodeBreakerProject/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js:91:23)
    at /Users/jonfriskics/Desktop/CodeBreakerProject/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js:107:12
    at wrappedEnqueued (/Users/jonfriskics/Desktop/CodeBreakerProject/node_modules/jsdom/lib/jsdom/browser/resource-loader.js:255:16)
    at Request._callback (/Users/jonfriskics/Desktop/CodeBreakerProject/node_modules/jsdom/lib/jsdom/browser/resource-loader.js:203:9)
    at Request.self.callback (/Users/jonfriskics/Desktop/CodeBreakerProject/node_modules/jsdom/node_modules/request/request.js:186:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (/Users/jonfriskics/Desktop/CodeBreakerProject/node_modules/jsdom/node_modules/request/request.js:1081:10)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at Gunzip.<anonymous> (/Users/jonfriskics/Desktop/CodeBreakerProject/node_modules/jsdom/node_modules/request/request.js:1001:12)
    at Gunzip.g (events.js:260:16)
    at emitNone (events.js:72:20)
    at Gunzip.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:905:12)
    at doNTCallback2 (node.js:441:9)
    at process._tickCallback (node.js:355:17) [SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode]
    setHiddenFields()
@EricJFisher
Copy link
Contributor

@jonfriskics I've been unable to recreate this. (either I'm not recreating the problem properly, or it was indirectly fixed while we cleaned up the dependencies)

ktmathews89 added a commit to ktmathews89/CodeBreakerProject that referenced this issue Apr 26, 2017
AleTorres added a commit to AleTorres/CodeBreakerProject that referenced this issue May 2, 2017
javiBertos pushed a commit to javiBertos/CodeBreakerProject that referenced this issue Aug 21, 2017
javiBertos pushed a commit to javiBertos/CodeBreakerProject that referenced this issue Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants