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

Error: Cannot find module 'meteor-promise' #7524

Closed
shtefcs opened this issue Jul 29, 2016 · 8 comments
Closed

Error: Cannot find module 'meteor-promise' #7524

shtefcs opened this issue Jul 29, 2016 · 8 comments

Comments

@shtefcs
Copy link

shtefcs commented Jul 29, 2016

Hi people,

Recently I started facing this issue and can't run meteor apps.

Error: Cannot find module 'meteor-promise'

Screenshot below:

Whatever i type with meteor I am getting that error.

I found this issue #7221 , but I don't see solution.

I re-installed meteor, nodejs, today, but still same.

Sfefan

@abernix
Copy link
Contributor

abernix commented Jul 29, 2016

Can you try these more extensive reinstall instructions?

  • Uninstall Meteor from:
    • Win10: Settings > System > Apps & features > Meteor > Uninstall
    • Win7: Control Panel > Programs > Programs and Features > Meteor > Uninstall
  • Using Windows Explorer, delete the .meteor folder from %LOCALAPPDATA% completely – do not try putting it in the recycle-bin, it probably won't work and use 7-zip File Manager to help you delete it if necessary.
  • Install the latest version from https://install.meteor.com/windows (skip logging in at end due to Windows installer: "Login failed" during install #6218 bug)
  • Restart
  • Open Command Prompt and type meteor --version to confirm it's working.

@benjamn
Copy link
Contributor

benjamn commented Jul 29, 2016

Yeah, it sounds like your dev bundle (the pre-built bundle of tools and npm packages that we ship with each version of Meteor) is somehow corrupt (i.e. missing meteor-promise and potentially other packages).

@shtefcs
Copy link
Author

shtefcs commented Jul 30, 2016

@abernix Thank you mate, it worked.

I got another problem, not sure if its related and should I create new issue for it.

When I do meteor npm install I get this

Here is the whole console log https://gist.github.com/shtefcs/239996c42810a3422eb23cb1eed588b8 .

@benjamn Thanks for your help to!

Edit: Btw, forgot to mention that I am on W7.

@abernix
Copy link
Contributor

abernix commented Aug 1, 2016

@shtefcs That is not a Meteor error. Most likely, Chimp links to dependencies in GitHub directly and NPM is attempting to clone a Git repository over the SSH protocol and failing because you don't have ssh installed. I'm not sure what to recommend, but you might start by opening an issue with xolvio:chimp, I guess – or maybe by forcing your Git to use non-ssh URLs via this method.

@Sanxel
Copy link

Sanxel commented Nov 8, 2016

abernix, thanks, that helped me on Windows.
But now i have some error again after I did the following. Made a copy of working project folder, installed 3 packages(semantic:ui, flemay:less-autoprefixer, jquery) and changed some code, then just decided to revert to a backed up project, that now have stopped working.
In the root 'meteor --version' works and shows 1.4.2. But the project that just resently worked now shows:
image

@abernix
Copy link
Contributor

abernix commented Nov 8, 2016

@Sanxel Maybe try deleting that dev_bundle link yourself in Windows Explorer (possibly as administrator, if necessary). It should be re-created automatically the next time you run the meteor command on that project.

@Sanxel
Copy link

Sanxel commented Nov 8, 2016

@abernix Thanks for quick reply! Will definetly try this. At this point I just couldn't wait and manually recreated new project with required packages(took me like 20minites) and copyed the code over. It works ok now. I will try deleting dev_bundle link, if encounter this again. Thanks.

@brettg2
Copy link

brettg2 commented Feb 17, 2017

I have reinstalled Meteor 2-3 times and this issue continues to appear.

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

No branches or pull requests

5 participants