Ruby 3.0.3
Rails 7.0.0.alpha2
Upon completing the steps for installation and usage, I started the server only to encounter the following error message:
Uncaught TypeError: Failed to resolve module specifier "stimulus-autocomplete". Relative references must start with either "/", "./", or "../".
# app/javascript/controllers/application.js
import { Application } from "@hotwired/stimulus"
import { Autocomplete } from "stimulus-autocomplete"
# and attempted import { Autocomplete } from 'stimulus-autocomplete/src/autocomplete'
const application = Application.start()
application.register('autocomplete', Autocomplete)
// Configure Stimulus development experience
application.debug = false
window.Stimulus = application
export { application }