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

Error on newer node versions #36

Open
4 of 9 tasks
tmm1 opened this issue Sep 4, 2024 · 0 comments
Open
4 of 9 tasks

Error on newer node versions #36

tmm1 opened this issue Sep 4, 2024 · 0 comments

Comments

@tmm1
Copy link

tmm1 commented Sep 4, 2024

Description

Describe your issue here.

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • testing related
  • discussion

Requirements (place an x in each of the [ ])

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

(node:2417258) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
import pkg from '../package.json' assert { type: 'json' }
                                  ^^^^^^

SyntaxError: Unexpected identifier 'assert'

Reproducible in:

hubot-slack version:

node version: 20.x or 22.x

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

1 participant