SyntaxError: Unexpected end of input


#1

I’m getting this error when I do meteor run --port 4000:

meteor-promise/promise_server.js:218
      throw error;
      ^

SyntaxError: Unexpected end of input

I’ve tried deleting the .meteor folder

Any help would be appreciated.


#2

Which .meteor folder? ~/.meteor or <project_dir>/.meteor?

Usually when I need to nuke my setup I delete ~/.meteor and <project_dir>/.meteor/local

(Keep in mind that would also delete the project’s db)


#3

It was ~/.meteor. How would I get <project_dir>/.meteor back if I nuke it?


#4

This is how I fixed it:

rm ~/.meteorsession.