Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ReferenceError: webpackJsonp is not defined #1

Open
DavidLSO opened this issue Feb 23, 2018 · 3 comments
Open

Uncaught ReferenceError: webpackJsonp is not defined #1

DavidLSO opened this issue Feb 23, 2018 · 3 comments

Comments

@DavidLSO
Copy link

During runtime I came across the following problem while running the django runserver, do you know what it can be?

@ariera
Copy link
Owner

ariera commented Feb 24, 2018

Dear @DavidLSO,

Could you please paste the whole output of the error? It's difficult to guess without context :)

@jono-allen
Copy link

I solved it with

   {% if not DEBUG %}
        {% render_bundle 'manifest' 'js' %}
        {% render_bundle 'vendor' 'js' %}
    {% endif %}
    {% render_bundle 'app' %}

@LTroya
Copy link

LTroya commented Apr 18, 2018

The problem is when you use the npm run build command. It generates 3 bundles: manifest, vendor and app. That bundles have to be imported in that order, if not, it will throw webpackJsonp is not defined.

npm run dev only generates the app bundle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants