How to resolve Stimulus error ? #54877
Unanswered
Raghav9888
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
it gives me the error Module not found. in bootstrap.js
how I fix this one. How is it fixed because '@hotwired/stimulus' was already pre-install when we installed the new Symfony 7.0 project
?
Later On, I want to use stimulus in my project.
$ yarn watch
yarn run v1.22.19
$ encore dev --watch
Running webpack ...
ERROR Failed to compile with 2 errors 10:27:11 am
Module build failed: Module not found:
"./assets/bootstrap.js" contains a reference to the file "@symfony/stimulus-bundle".
This file can not be found, please check it for typos or update it if the file got moved.
"./assets/bootstrap.js" contains a reference to the file "@symfony/stimulus-bridge/lazy-controller-loader".
This file can not be found, please check it for typos or update it if the file got moved.
Entrypoint app/js 15.6 KiB = runtime.js 12.8 KiB app/js.js 2.86 KiB
webpack compiled with 2 errors
Beta Was this translation helpful? Give feedback.
All reactions