Route error after ES6 updates

(Arpit Jalan) #1

After ES6 updates, I am getting following error while in development:

Failed to load resource: the server responded with a status of 404 (Not Found)

It’s because the path of javascript file becomes:


What should be done to solve this problem?

I also noticed other people facing same problem:

Javascript Plugins post es6
(Benjamin Kampmann) #2

Can confirm this. Have the same issue on my vagrant dev since updating this morning. A short investigation shows dddb2e19fc05cc691d97e79afa84075eb4ef58d0 was fine and the Errors start appearing with the “Transpile ES6 even without node, just using rubyracer” commit by @eviltrout . Though the App still seems to function then. It only breaks for mine later (not sure when) and doesn’t render at all right now (I only see the header on head of master).

(Robin Ward) #3

There is a new handler for the .es6 files in a recent commit.

I wonder if you guys can try two things:

  • remove tmp to clear out any old assets
  • restart your dev server

Does it work then?

(Arpit Jalan) #4

Works great after clearing tmp folder. Thanks @eviltrout!

(Benjamin Kampmann) #5

Yes, removing tmp seems to have made it here, too. Thanks.