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

Undefined errors in 4.0.2 #660

Closed
kevinbgreene opened this Issue Jul 13, 2016 · 4 comments

Comments

Projects
None yet
3 participants
@kevinbgreene

kevinbgreene commented Jul 13, 2016

After installing 4.0.2 over 4.0.1 I started getting a series of undefined errors in the compiled JavaScript.

The first error was:

app.js:4421 Uncaught ReferenceError: _elm_lang$core$Task$succeed is not defined

This is a just started app. It's only one file and a few lines of code. I am not using Task. However, if I import Task this error goes away and I get another:

app.js:4552 Uncaught ReferenceError: _elm_lang$core$Process$spawn is not defined

Pinning to 4.0.1 solves my issues.

@process-bot

This comment has been minimized.

Show comment
Hide comment
@process-bot

process-bot Jul 13, 2016

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

process-bot commented Jul 13, 2016

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Jul 13, 2016

Member

Can you share an http://sscce.org/ and information about your setup?

These problems seem bad, but I can't solve them with the current info. Please open a new issue with that information!

Member

evancz commented Jul 13, 2016

Can you share an http://sscce.org/ and information about your setup?

These problems seem bad, but I can't solve them with the current info. Please open a new issue with that information!

@evancz evancz closed this Jul 13, 2016

@kevinbgreene

This comment has been minimized.

Show comment
Hide comment
@kevinbgreene

kevinbgreene Jul 13, 2016

I was setting up a minimum project to share and show the issue and couldn't reproduce. Found deleting elm-stuff and doing a clean elm package install fixed the issue.

kevinbgreene commented Jul 13, 2016

I was setting up a minimum project to share and show the issue and couldn't reproduce. Found deleting elm-stuff and doing a clean elm package install fixed the issue.

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Jul 13, 2016

Member

Ah, interesting. That may be some sort of caching bug with elm-make that happens in particular upgrade scenarios. There are some known issues on elm-make about mistakenly trusting the cache, so I'd expect a comprehensive fix there to cover this.

Anyway, thanks for the follow up!

Member

evancz commented Jul 13, 2016

Ah, interesting. That may be some sort of caching bug with elm-make that happens in particular upgrade scenarios. There are some known issues on elm-make about mistakenly trusting the cache, so I'd expect a comprehensive fix there to cover this.

Anyway, thanks for the follow up!

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