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

jsep is not defined when using webpack and cesium 1.35 #5593

Closed
lucastheisen opened this issue Jul 6, 2017 · 2 comments
Closed

jsep is not defined when using webpack and cesium 1.35 #5593

lucastheisen opened this issue Jul 6, 2017 · 2 comments

Comments

@lucastheisen
Copy link

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();
@mmerickel
Copy link

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.

@pjcozzi
Copy link
Contributor

pjcozzi commented Jul 6, 2017

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.

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

No branches or pull requests

4 participants