Quire new command fails with newer version of Node #968
Labels
status:backlog
Issue is a lower priority but needs to eventually be addressed
status:triage needed
Issue needs to be triaged by the Quire team. This label is automatically applied to new issues.
Before proceeding, make sure there isn’t an existing issue for this bug.
Expected Behavior
I expected to be able to use the most recent node version with long-term-support with the quire CLI.
Actual Behavior
The command
quire new test-project
fail to run, and outputs the following command line error:Steps to Reproduce
Using nvm to manage node versions:
Version Numbers
quire info --debug
fails to run and outputs the same error:Web Browser
No response
Relevant Terminal/Shell Output
(Shown above)
Supporting Information
I wasn't familiar with what this error meant, so I went looking for specific updates to Node that would break the cli. As far as I understand, this seems to have happened in esm: drop support for import assertions. A PR had previously been merged to update documentation to reflect that developers should use import attributes rather than import assertions. This more recent update removes support for import assertions entirely.
From the pull request description:
The import attributes v8 documentation explains why import assertions have been deprecated, and how to fix it.
As far as I can tell, v8 now intends the
assert
keyword here:To be replaced with
with
instead:The text was updated successfully, but these errors were encountered: