Reputation: 552
I'm getting the following error when I try and create a new meteor project:
C:\Users\joshm\AppData\Local\.meteor\packages\meteor-tool\1.4.2_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:190
throw error;
^
SyntaxError: Unexpected token
this is a new problem and as a bit of backstory of how I got to this point:
1) yesterday my project was working perfectly, however I realised that not all of my packages were up to date. It appeared if some had dependancies on others and so couldn't update any further, I removed most of them to see if I could update the specific one I wanted to update
2) now with many of the packages uninstalled I tried to update and I got the same error as I'm getting above. When trying to run the project I also get the same error. I put the packages back in where they were before in hopes that it will fix the problem
3) adding the packages back in doesn't fix the problem and I still get the same error when trying to run the project. I copied all of my document files into a new folder and tried to make a new project to get a clean start
4) when trying to create the new project I get the same error. However it appears as if all of the standard Meteor files are created - the clicking counter. I attempt to run the new clicking counter and once again get the same error, and I also got a firewall alert which I've never had before when trying to run a meteor project.
Upvotes: 1
Views: 839
Reputation: 886
for me deleting local meteor installtion on C:\Users\joshm\AppData\Local.meteor\ wasn't enough.
I also had to delete .meteor/local folder inside my project folder
Upvotes: 1
Reputation: 7777
You can try deleting .meteor from your home directory, and re-install meteor.
Upvotes: 2