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 after update to 1.0.8 #39

Open
alexandruantonica opened this issue Aug 2, 2018 · 5 comments
Open

Error after update to 1.0.8 #39

alexandruantonica opened this issue Aug 2, 2018 · 5 comments

Comments

@alexandruantonica
Copy link

After I update the plugin to 1.0.8 I have this error when I run tns run android.
@roblav96 Seems like your postinstall script have some errors.

Error: Cannot find module '/...app_folder/node_modules/postinstall-hooks.js'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Function.Module.runMain (module.js:676:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3
(node:25010) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit

Let me know if you need more info.

@jkasten2
Copy link
Collaborator

@alexandruantonica Can you give this fork a try?
https://github.com/OneSignal/nativescript-onesignal

This one has the fork has the install hooks removed so it should get you past this error.

@alexandruantonica
Copy link
Author

@jkasten2 How can I install a plugin for Nativescript from Github?
I've tried npm i --save OneSignal/nativescript-onesignal but the code is not compiled and I don't have any index.jsand the app throw an error that couldn't find nativescript-onesignal.

Thanks ;)

@SalehMahmood
Copy link

Having the same issue

@MopheusDG
Copy link

Same here...

@uzarsalan
Copy link

Same issue

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