Skip to content

Getting Error When Using with Typescript #20

@rjbullock

Description

@rjbullock

I believe I have everything installed and configured correctly.

STATICFILES_FINDERS = [ "django.contrib.staticfiles.finders.FileSystemFinder", "django.contrib.staticfiles.finders.AppDirectoriesFinder", "compressor.finders.CompressorFinder", ]

COMPRESS_ENABLED = True

COMPRESS_REBUILD_TIMEOUT = 2592000  # (30 days in seconds)
COMPRESS_OFFLINE = False

COMPRESS_OFFLINE_TIMEOUT = 31536000  # (1 year in seconds)
COMPRESS_OUTPUT_DIR = 'dev'

And in my template:

{% block extra_js %}
    <script type="text/javascript" src="{% static 'bundle.js' %}"></script>
    {% compress parcel file myts %}
        <script src="{% static 'test.ts' %}"></script>
   {% endcompress %}
 {% endblock %}

However, when I hit the page I get the following error:

TypeError at /todo/
Signal.__init__() got an unexpected keyword argument 'providing_args'

Any idea what could be wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions