Moodle mobile custom apps problem

Re: Moodle mobile custom apps problem

by Samuel Domingues -
Number of replies: 3

I had a similar problem, edit tsconfig.json file and add this in the compilerOptions:


"typeRoots": [
"node_modules/@types"
]

In reply to Samuel Domingues

Re: Moodle mobile custom apps problem

by Nima Farahbakhsh -

"typeRoots": [
"node_modules/@types"
]

I added the above code, but a error is displayed. the error has been attached.



Attachment error2.jpg
In reply to Nima Farahbakhsh

Re: Moodle mobile custom apps problem

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi Nima,

sorry for the delay in answering, it's been some crazy months lately.

Those errors are displayed when you have installed a wrong version of local-notifications (for some reason, in some cases npm restores a wrong version :/).

Please make sure you have this version:

@ionic-native/local-notifications@4.5.2

Cheers,

Dani

In reply to Dani Palou

Re: Moodle mobile custom apps problem

by Nima Farahbakhsh -

Hi Dani,

This is my pleasure to talk with you.

There is no difference between my npm version and the version you have been expressed.

I re-downloaded and run moodle code and did work big grin.

Thanks.

Nima