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: Module es6-promise-plugin.Promise does not exist issue #9

Open
natalinacinovicmrf opened this issue May 15, 2018 · 3 comments
Open

Comments

@natalinacinovicmrf
Copy link

I made an update to the SocialSharing-PhoneGap-Plugin and it now has a new dependency on this plugin (es6-promise-plugin).

The issue I am experiencing is that when I try to load the app I receive an error:

Error: Module es6-promise-plugin.Promise does not exist.
in this function of the native file

function addEntry (strategy, moduleName, symbolPath, opt_deprecationMessage) {
    if (!(moduleName in moduleMap)) {
        throw new Error('Module ' + moduleName + ' does not exist.');
    }
    symbolList.push(strategy, moduleName, symbolPath);
    if (opt_deprecationMessage) {
        deprecationMap[symbolPath] = opt_deprecationMessage;
    }
}

Do you know if I need to do anything else, note the plugin somewhere else?
Thanks!

@vstirbu
Copy link
Owner

vstirbu commented May 15, 2018

have you updated it by uninstalling and installing your plugin again?

@natalinacinovicmrf
Copy link
Author

Yes, before I had an older version of that plugin (like from 2 years ago) which of course didn't have that dependency. So now it was added for the first time.

@vstirbu
Copy link
Owner

vstirbu commented May 15, 2018

This plugin is pretty simple as it just patches the global object (window) with the Promise if not already available. It is used elsewhere and installed by pretty many users.

I've noticed that you opened an issue with SocialSharing-PhoneGap-Plugin. You might try to create a new project and try to replicate the issue there. Make sure the problem is not caused by your environment.

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

2 participants