WordPress LMS for Web and mobile Forums WPLMS Student App Installing necessary packages Installed all packages but get an error

Installed all packages but get an error

Tagged: 

Back to course
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #13935

    Marco Jongmans
    Participant
    Hi, I installed all the needed packages but I'm getting this below, what should I do? Typescript Error Cannot find name 'DragulaService'. </div> C:/Users/marco/*******/src/components/question/question.ts constructor(private config:ConfigService,     private dragulaService: DragulaService) { </div> </div>   Typescript Error Cannot find name 'GooglePlus'. </div> C:/Users/marco/*****/src/services/authentication.ts private iab:InAppBrowser, private googlePlus: GooglePlus, private device: Device </div> </div>   Typescript Error Property 'applicationStorageDirectory' does not exist on type 'File'. </div> C:/Users/marco/*****/src/services/imageCache.ts private normalizeURlWKWview(url: string) {   const urlIos = ${normalizeURL(this.file.applicationStorageDirectory)}Library/files/${normalizeURL(url)};   return urlIos.replace('/localhost/persistent', ''); </div> </div>   Ionic Framework: 3.9.2 Ionic App Scripts: 3.1.11 Angular Core: 5.2.11 Angular Compiler CLI: 5.2.11 Node: 8.11.3 OS Platform: Windows 10 Navigator Platform: Win32 User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134  
    #13938

    Marco Jongmans
    Participant
    Sorry for the double post, you can close that one. Many thanks!
    #13961

    admin
    Member

    Take backup of all ionic setup then

    rename the node_modules folder in your ionic project (where src folder is) to node_modules_BACKUP and also rename the package.json file to package_BACKUP.json .

    then download the package.json file from here : https://bit.ly/2I2F732

    Then place it in your ionic project .

    Then in terminal of cmd run :

    npm install

    Then run this command in your ionic project :

    ionic cordova platform rm android

    ionic cordova platform add [email protected]

    #19361

    Akshay Vaja
    Participant
    D:\myapp> D:\myapp> npm install -save [email protected] npm WARN @angular/[email protected] requires a peer of [email protected]>=2.4.2 <2.7 but none is installed. You must install peer dependencies yourself. npm WARN @ionic-native/[email protected] requires a peer of @ionic-native/[email protected] but none is installed. You must install peer dependencies yourself. npm WARN @ionic/[email protected] requires a peer of [email protected]^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @angular/[email protected]>=6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of [email protected]>=6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of [email protected]>=2.4.2 <2.8 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @angular/[email protected]^6.0.3 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of [email protected]^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})   + [email protected] added 1 package from 1 contributor, updated 1 package and audited 6170 packages in 34.536s found 0 vulnerabilities     Please help me its not solving help  me we need your help can anyone Come on Team Viewer?  
    #19642

    admin
    Member
      well did you try the solution I mentioned up here : https://wplms.io/forums/topic/installed-all-packages-but-get-an-error/#post-13961  I can see you ran this command individually : npm install -save [email protected]
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.