Closed GuillaumeOcculy closed 2 years ago
@GuillaumeOcculy
Did you add package via importmap
command?
I had same isssue and I solved it by changing package path in config/importmap.rb
# pin "stimulus-autocomplete", to: "https://ga.jspm.io/npm:stimulus-autocomplete@3.0.2/src/autocomplete.js"
pin "stimulus-autocomplete", to: "https://cdn.jsdelivr.net/npm/stimulus-autocomplete@3.0.2/src/autocomplete.min.js"
That's correct, I've updated the documentation in 747236e5e10622263196ebee10f035528ce54481.
Thanks @pprencel
Ruby 3.0.3
Rails 7.0.0.alpha2
Hello
After following the instructions to install and usage, I launch the server and I received this error:
Uncaught TypeError: Failed to resolve module specifier "stimulus-autocomplete". Relative references must start with either "/", "./", or "../".