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
SyntaxError: Unexpected token '?'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/codegrade/student/node_modules/chai/lib/chai.js:63:17)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/codegrade/student/node_modules/chai/index.js:1:18)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/codegrade/student/test/helpers.js:1:14)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/codegrade/student/test/indexTest.js:1:1)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at requireOrImport (/home/codegrade/.npm/lib/node_modules/mocha/lib/esm-utils.js:15:12)
at Object.exports.loadFilesAsync (/home/codegrade/.npm/lib/node_modules/mocha/lib/esm-utils.js:28:26)
at Mocha.loadFilesAsync (/home/codegrade/.npm/lib/node_modules/mocha/lib/mocha.js:386:19)
at singleRun (/home/codegrade/.npm/lib/node_modules/mocha/lib/cli/run-helpers.js:149:15)
at exports.runMocha (/home/codegrade/.npm/lib/node_modules/mocha/lib/cli/run-helpers.js:186:11)
at Object.exports.handler (/home/codegrade/.npm/lib/node_modules/mocha/lib/cli/run.js:319:11)
at /home/codegrade/.npm/lib/node_modules/mocha/node_modules/yargs/lib/command.js:241:49
Traceback (most recent call last):
File "/usr/local/bin/cg-mocha", line 8, in
sys.exit(app())
File "/usr/local/lib/python3.7/dist-packages/typer/main.py", line 214, in call
return get_command(self)(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/typer/main.py", line 500, in wrapper
return callback(**use_params) # type: ignore
File "/usr/local/lib/python3.7/dist-packages/cg_at_utils/utils/cli.py", line 140, in _run_wrapper
return run(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/cg_at_utils/_unittest/mocha.py", line 45, in run
fixup_xml(tmp.name).write(xml_loc)
File "/usr/local/lib/python3.7/dist-packages/cg_at_utils/_unittest/mocha.py", line 54, in fixup_xml
for _, el in tree:
File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1228, in iterator
root = pullparser._close_and_return_root()
File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1275, in _close_and_return_root
root = self._parser.close()
xml.etree.ElementTree.ParseError: no element found: line 1, column 0`
Additional Context
No response
Suggested Changes
No response
The text was updated successfully, but these errors were encountered:
Canvas Link
https://learning.flatironschool.com/courses/7423/assignments/264123?module_item_id=632573
Concern
`
/home/codegrade/student/node_modules/chai/lib/chai/assertion.js:69
flag(this, 'eql', config.deepEqual ?? util.eql);
^
SyntaxError: Unexpected token '?'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/codegrade/student/node_modules/chai/lib/chai.js:63:17)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/codegrade/student/node_modules/chai/index.js:1:18)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/codegrade/student/test/helpers.js:1:14)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/codegrade/student/test/indexTest.js:1:1)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at requireOrImport (/home/codegrade/.npm/lib/node_modules/mocha/lib/esm-utils.js:15:12)
at Object.exports.loadFilesAsync (/home/codegrade/.npm/lib/node_modules/mocha/lib/esm-utils.js:28:26)
at Mocha.loadFilesAsync (/home/codegrade/.npm/lib/node_modules/mocha/lib/mocha.js:386:19)
at singleRun (/home/codegrade/.npm/lib/node_modules/mocha/lib/cli/run-helpers.js:149:15)
at exports.runMocha (/home/codegrade/.npm/lib/node_modules/mocha/lib/cli/run-helpers.js:186:11)
at Object.exports.handler (/home/codegrade/.npm/lib/node_modules/mocha/lib/cli/run.js:319:11)
at /home/codegrade/.npm/lib/node_modules/mocha/node_modules/yargs/lib/command.js:241:49
Traceback (most recent call last):
File "/usr/local/bin/cg-mocha", line 8, in
sys.exit(app())
File "/usr/local/lib/python3.7/dist-packages/typer/main.py", line 214, in call
return get_command(self)(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/typer/main.py", line 500, in wrapper
return callback(**use_params) # type: ignore
File "/usr/local/lib/python3.7/dist-packages/cg_at_utils/utils/cli.py", line 140, in _run_wrapper
return run(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/cg_at_utils/_unittest/mocha.py", line 45, in run
fixup_xml(tmp.name).write(xml_loc)
File "/usr/local/lib/python3.7/dist-packages/cg_at_utils/_unittest/mocha.py", line 54, in fixup_xml
for _, el in tree:
File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1228, in iterator
root = pullparser._close_and_return_root()
File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1275, in _close_and_return_root
root = self._parser.close()
xml.etree.ElementTree.ParseError: no element found: line 1, column 0`
Additional Context
No response
Suggested Changes
No response
The text was updated successfully, but these errors were encountered: