Cesium: jsep is not defined when using webpack and cesium 1.35

Created on 6 Jul 2017  路  2Comments  路  Source: CesiumGS/cesium

I have created a simple example webpack application inspired by your blog post in my gitlab account. This works as expected with version 1.31, but when I switch the version to 1.35.1, it fails with:

12:25:25.283 ReferenceError: jsep is not defined 1 app.js:177209:5
    <anonymous> http://localhost:8080/app.js:177209:5
    main http://localhost:8080/app.js:4387:30
    callDep http://localhost:8080/app.js:4245:13
    main http://localhost:8080/app.js:4378:31
    callDep http://localhost:8080/app.js:4245:13
    main http://localhost:8080/app.js:4378:31
    callDep http://localhost:8080/app.js:4245:13
    main http://localhost:8080/app.js:4378:31
    callDep http://localhost:8080/app.js:4245:13
    main http://localhost:8080/app.js:4378:31
    callDep http://localhost:8080/app.js:4245:13
    main http://localhost:8080/app.js:4378:31
    req http://localhost:8080/app.js:4452:13
    <anonymous> http://localhost:8080/app.js:229027:1
    <anonymous> http://localhost:8080/app.js:4069:2
    <anonymous> http://localhost:8080/app.js:4047:29
    __webpack_require__ http://localhost:8080/app.js:20:12
    <anonymous> http://localhost:8080/app.js:3844:1
    __webpack_require__ http://localhost:8080/app.js:20:12
    <anonymous> http://localhost:8080/app.js:234705:18
    __webpack_require__ http://localhost:8080/app.js:20:12
    <anonymous> http://localhost:8080/app.js:66:18
    <anonymous> http://localhost:8080/app.js:1:11

At this line:

    return jsep.noConflict();
category - architecture / api type - bug

Most helpful comment

jsep is a new dependency in 1.35.

@ggetz do you want to look at this? I think there's been other webpack dependency issues if you search here.

All 2 comments

This works fine for me with 1.34 and fails with 1.35.1. I'm able to upgrade/downgrade to reproduce it but I'm unclear what the fix is.

jsep is a new dependency in 1.35.

@ggetz do you want to look at this? I think there's been other webpack dependency issues if you search here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pjcozzi picture pjcozzi  路  4Comments

hpinkos picture hpinkos  路  4Comments

JacksonBates picture JacksonBates  路  3Comments

OmarShehata picture OmarShehata  路  4Comments

mcenirm picture mcenirm  路  4Comments