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

Submission Error #21

Open
soojkim0106 opened this issue Jan 8, 2024 · 0 comments
Open

Submission Error #21

soojkim0106 opened this issue Jan 8, 2024 · 0 comments
Labels
se curriculum Issue for lessons in the Software Engineering program

Comments

@soojkim0106
Copy link

Canvas Link

https://learning.flatironschool.com/courses/7423/assignments/264126?module_item_id=632570

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

@soojkim0106 soojkim0106 added the se curriculum Issue for lessons in the Software Engineering program label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
se curriculum Issue for lessons in the Software Engineering program
Projects
None yet
Development

No branches or pull requests

1 participant