You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for building this library, cant wait to test it out, however I Followed setup instructions, I get this error
In template /Users/tawanda/source/playground/django-sockpuppet-expo/core/templates/base.html, error at line 17
ModuleNotFoundError in Module not found: Error: Can't resolve '@stimulus/multimap' in
'/Users/tawanda/source/playground/django-sockpuppet-expo/.yarn/cache/@stimulus-core-npm-1.1.1-1e7281a98e-1e9c959984.zip/node_modules/@stimulus/core/dist/src'
Here is line 17
{% render_bundle 'example' %}
==== UPDATE ===
Ok there were a couple of errors, this is what i did to fix them
error 1
Can't resolve '@stimulus/multimap
SOLUTION:
yarn add @stimulus/multimap
error 2
Error: Can't resolve 'cable_ready'
SOLUTION:
yarn add cable_ready
error 3
render_bundle failing with TypeError: string indices must be integers
SOLUTION:
# app/webpack.py
from webpack_loader.loader import WebpackLoader
class CustomWebpackLoader(WebpackLoader):
def filter_chunks(self, chunks):
chunks = [chunk if isinstance(chunk, dict) else {'name': chunk} for chunk in chunks]
return super().filter_chunks(chunks)
# settings.py
WEBPACK_LOADER = {
...
'LOADER_CLASS': 'app.webpack.CustomWebpackLoader',
}
The text was updated successfully, but these errors were encountered:
Hi, thanks for building this library, cant wait to test it out, however I Followed setup instructions, I get this error
Here is line 17
{% render_bundle 'example' %}
==== UPDATE ===
Ok there were a couple of errors, this is what i did to fix them
error 1
Can't resolve '@stimulus/multimap
SOLUTION:
yarn add @stimulus/multimap
error 2
Error: Can't resolve 'cable_ready'
SOLUTION:
yarn add cable_ready
error 3
render_bundle failing with TypeError: string indices must be integers
SOLUTION:
The text was updated successfully, but these errors were encountered: