Error after deploy

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1397

    Jaranai
    Participant

    Typescript Error
    Cannot find name ‘DragulaService’.
    </div>

    src/components/question/question.ts

    constructor(private config:ConfigService,

    private dragulaService: DragulaService) {

    </div>
    </div>

    Typescript Error
    Cannot find name ‘VgAPI’.
    </div>

    src/pages/course-status/course-status.ts

    iframeUrls: SafeResourceUrl[]=[];

    api:VgAPI;

    </div>
    </div>

    Typescript Error
    Cannot find name ‘VgAPI’.
    </div>

    src/pages/course-status/course-status.ts

    onPlayerReady(api:VgAPI) {

    this.api = api;

    </div>
    </div>

    Typescript Error
    Cannot find name ‘InAppBrowser’.
    </div>

    src/pages/course/course.ts
    </div>
    </div>

    #1398

    Htet Htet Ashley
    Participant

    Hello,  according to my experience on yesterday deployment,

    For Cannot find name ‘DragulaService’, need to run as following:</span>

    • npm install ng2-dragula dragula –save
    • npm install dragula –save

     

    For Cannot find name ‘VgAPI’, need to run as following:</span>

    • npm install videogular2 –save

     

    For Cannot find name ‘InAppBrowser’, need to run as following:</span>

    • ionic cordova plugin add cordova-plugin-inappbrowser
    • npm install –save @ionic-native/in-app-browser

    Hope useful for you!!!!!!!

    #1401

    Jaranai
    Participant

    OK and have some error

     

    Cannot find module “chart.js”

     

     

    #1404

    Htet Htet Ashley
    Participant

    For not finding “chart.js” module, we can try “npm install chart.js –save

    Here are the procedures to run for installing dependencies if needed,

    • npm install ng2-dragula dragula –save
    • npm install dragula –save
    • npm install videogular2 –save
    • npm install –save @types/core-js
    • ionic cordova plugin add cordova-plugin-inappbrowser
    • npm install –save @ionic-native/in-app-browser
    • ionic cordova plugin add cordova-plugin-camera
    • npm install –save @ionic-native/camera
    • npm install –save @ionic-native/facebook
    • npm install ionic-cache @ionic/storage –save
    • ionic cordova plugin add cordova-plugin-file-transfer
    • npm install –save @ionic-native/file-transfer
    • npm install –save @ionic-native/transfer
    • npm install imgcache.js –save
    • ionic cordova plugin add cordova-plugin-file
    • npm install chart.js –save
    • ionic cordova plugin add cordova-plugin-facebook4 –variable APP_ID=”appid” –variable APP_NAME=”application name”
    • ionic cordova plugin add cordova-plugin-googleplus –variable REVERSED_CLIENT_ID=clientid –save
    • npm install –save @ionic-native/google-plus

     

    <span style=”color: #313b3d; font-family: Poppins;”>Hope useful for you!!!!!!!</span>

    #1408

    Alex
    Keymaster
    #1428

    Jaranai
    Participant

    OK. I have problem course not display detail . I check log

    wplms/v1/course/ json return ok but

    wplms/v1/course/1044 return 500 Internal Server Error

    #1434

    Alex
    Keymaster

    Ok I would need your server php error log for this . (upload it somwhere online and share its link here .)
    Please also check your server php version .
    It should be between 5.4 to 7.0 . (not 7.1,It is unstable as of now  ) .

     

    #26500

    Ysnsld
    Participant

    hi, I cannot install necessary packages.

    D:\Android\igotraining\igoapp>npm install dragula -save
    npm WARN @ionic-native/[email protected] requires a peer of [email protected]^6.5.0 but none is installed. You must install peer dependencies yourself.
    npm WARN @ionic-native/[email protected] requires a peer of @ionic-native/[email protected]^5.1.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 @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”:”x64″})

    + [email protected]
    updated 1 package and audited 9933 packages in 35.93s
    found 1 low severity vulnerability
    run npm audit fix to fix them, or npm audit for details

    #26602

    Harry
    Spectator

    Hey
    For Installation of necessary package refer this course :https://wplms.io/course/getting-started-with-wplms-mobile-app/
    The right command and the right version pf cordova-inappbrowser should be
    cordova plugin add [email protected]

    #36923

    Ganesh Kharat
    Participant

     

    Error

    </div>
    </div>
    </div>

    Typescript Error
    Cannot find name ‘DragulaService’.
    </div>

    D:/web/myApp/src/components/question/question.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>constructor</span>(private config:ConfigService,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> dragulaService: <span class=”ion-diagnostics-error-chr”>D</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>a</span><span class=”ion-diagnostics-error-chr”>g</span><span class=”ion-diagnostics-error-chr”>u</span><span class=”ion-diagnostics-error-chr”>l</span><span class=”ion-diagnostics-error-chr”>a</span><span class=”ion-diagnostics-error-chr”>S</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>v</span><span class=”ion-diagnostics-error-chr”>i</span><span class=”ion-diagnostics-error-chr”>c</span><span class=”ion-diagnostics-error-chr”>e</span>,) {</td>
    </tr>
    </tbody>
    </table>

    </div>
    </div>

    Typescript Error
    Cannot find name ‘VgAPI’.
    </div>

    D:/web/myApp/src/pages/course-status/course-status.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”>iframeUrls: SafeResourceUrl[]=[];</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”>api:<span class=”ion-diagnostics-error-chr”>V</span><span class=”ion-diagnostics-error-chr”>g</span><span class=”ion-diagnostics-error-chr”>A</span><span class=”ion-diagnostics-error-chr”>P</span><span class=”ion-diagnostics-error-chr”>I</span>;</td>
    </tr>
    </tbody>
    </table>

    audio:any;

    </div>
    </div>

    Typescript Error
    Cannot find name ‘InAppBrowser’.
    </div>

    D:/web/myApp/src/pages/course-status/course-status.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>public</span> upload_assignment:UploadAssignmentService,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> iab: <span class=”ion-diagnostics-error-chr”>I</span><span class=”ion-diagnostics-error-chr”>n</span><span class=”ion-diagnostics-error-chr”>A</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>B</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>o</span><span class=”ion-diagnostics-error-chr”>w</span><span class=”ion-diagnostics-error-chr”>s</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>r</span>,</td>
    </tr>
    </tbody>
    </table>

    private transfer: FileTransfer,

    </div>
    </div>

    Typescript Error
    Cannot find name ‘FileTransfer’.
    </div>

    D:/web/myApp/src/pages/course-status/course-status.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> iab: InAppBrowser,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> transfer: <span class=”ion-diagnostics-error-chr”>F</span><span class=”ion-diagnostics-error-chr”>i</span><span class=”ion-diagnostics-error-chr”>l</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>T</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>a</span><span class=”ion-diagnostics-error-chr”>n</span><span class=”ion-diagnostics-error-chr”>s</span><span class=”ion-diagnostics-error-chr”>f</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>r</span>,</td>
    </tr>
    </tbody>
    </table>

    private file: File,

    </div>
    </div>

    Typescript Error
    Cannot find name ‘VgAPI’.
    </div>

    D:/web/myApp/src/pages/course-status/course-status.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”></td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”>onPlayerReady(api:<span class=”ion-diagnostics-error-chr”>V</span><span class=”ion-diagnostics-error-chr”>g</span><span class=”ion-diagnostics-error-chr”>A</span><span class=”ion-diagnostics-error-chr”>P</span><span class=”ion-diagnostics-error-chr”>I</span>) {</td>
    </tr>
    </tbody>
    </table>

    this.api = api;

    </div>
    </div>

    Typescript Error
    Property ‘dataDirectory’ does not exist on type ‘File’.
    </div>

    D:/web/myApp/src/pages/course-status/course-status.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-built_in”>console</span>.log(name);</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>this</span>.fileTransfer.download(url, <span class=”hljs-keyword”>this</span>.file.<span class=”ion-diagnostics-error-chr”>d</span><span class=”ion-diagnostics-error-chr”>a</span><span class=”ion-diagnostics-error-chr”>t</span><span class=”ion-diagnostics-error-chr”>a</span><span class=”ion-diagnostics-error-chr”>D</span><span class=”ion-diagnostics-error-chr”>i</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>c</span><span class=”ion-diagnostics-error-chr”>t</span><span class=”ion-diagnostics-error-chr”>o</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>y</span> + name).then((entry) => {</td>
    </tr>
    </tbody>
    </table>

    console.log(‘download complete: ‘ + entry.toURL());

    </div>
    </div>

    Typescript Error
    Cannot find name ‘InAppBrowser’.
    </div>

    D:/web/myApp/src/pages/course/course.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> loadingCtrl:LoadingController,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> iab:<span class=”ion-diagnostics-error-chr”>I</span><span class=”ion-diagnostics-error-chr”>n</span><span class=”ion-diagnostics-error-chr”>A</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>B</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>o</span><span class=”ion-diagnostics-error-chr”>w</span><span class=”ion-diagnostics-error-chr”>s</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>r</span>,</td>
    </tr>
    </tbody>
    </table>

    private walletService: WalletService,

    </div>
    </div>

    Typescript Error
    Cannot find name ‘InAppBrowser’.
    </div>

    D:/web/myApp/src/pages/login/login.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> camera: Camera,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> iab:<span class=”ion-diagnostics-error-chr”>I</span><span class=”ion-diagnostics-error-chr”>n</span><span class=”ion-diagnostics-error-chr”>A</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>B</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>o</span><span class=”ion-diagnostics-error-chr”>w</span><span class=”ion-diagnostics-error-chr”>s</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>r</span>,</td>
    </tr>
    </tbody>
    </table>

    public appCtrl: App

    </div>
    </div>

    Typescript Error
    Cannot find name ‘InAppBrowser’.
    </div>

    D:/web/myApp/src/pages/member/member.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>public</span> loadingCtrl: LoadingController,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> iab:<span class=”ion-diagnostics-error-chr”>I</span><span class=”ion-diagnostics-error-chr”>n</span><span class=”ion-diagnostics-error-chr”>A</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>B</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>o</span><span class=”ion-diagnostics-error-chr”>w</span><span class=”ion-diagnostics-error-chr”>s</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>r</span></td>
    </tr>
    </tbody>
    </table>

    ) { }

    </div>
    </div>

    Typescript Error
    Cannot find name ‘InAppBrowser’.
    </div>

    D:/web/myApp/src/pages/profile/profile.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> camera: Camera,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> iab:<span class=”ion-diagnostics-error-chr”>I</span><span class=”ion-diagnostics-error-chr”>n</span><span class=”ion-diagnostics-error-chr”>A</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>B</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>o</span><span class=”ion-diagnostics-error-chr”>w</span><span class=”ion-diagnostics-error-chr”>s</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>r</span>,</td>
    </tr>
    </tbody>
    </table>

    public groupService:GroupService,

    </div>
    </div>

    Typescript Error
    Cannot find name ‘InAppBrowser’.
    </div>

    D:/web/myApp/src/pages/register/register.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> camera: Camera,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> iab:<span class=”ion-diagnostics-error-chr”>I</span><span class=”ion-diagnostics-error-chr”>n</span><span class=”ion-diagnostics-error-chr”>A</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>B</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>o</span><span class=”ion-diagnostics-error-chr”>w</span><span class=”ion-diagnostics-error-chr”>s</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>r</span></td>
    </tr>
    </tbody>
    </table>

    ) {

    </div>
    </div>

    Typescript Error
    Cannot find name ‘FileTransfer’.
    </div>

    D:/web/myApp/src/pages/uploadassignment/uploadassignment.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> action:ActionSheetController,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> transfer: <span class=”ion-diagnostics-error-chr”>F</span><span class=”ion-diagnostics-error-chr”>i</span><span class=”ion-diagnostics-error-chr”>l</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>T</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>a</span><span class=”ion-diagnostics-error-chr”>n</span><span class=”ion-diagnostics-error-chr”>s</span><span class=”ion-diagnostics-error-chr”>f</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>r</span>,</td>
    </tr>
    </tbody>
    </table>

    private toastCtrl: ToastController,

    </div>
    </div>

    Typescript Error
    Cannot find name ‘Facebook’.
    </div>

    D:/web/myApp/src/services/authentication.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> config:ConfigService,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>public</span> fb: <span class=”ion-diagnostics-error-chr”>F</span><span class=”ion-diagnostics-error-chr”>a</span><span class=”ion-diagnostics-error-chr”>c</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>b</span><span class=”ion-diagnostics-error-chr”>o</span><span class=”ion-diagnostics-error-chr”>o</span><span class=”ion-diagnostics-error-chr”>k</span>,</td>
    </tr>
    </tbody>
    </table>

    public loadingCtrl:LoadingController,

    </div>
    </div>

    Typescript Error
    Cannot find name ‘InAppBrowser’.
    </div>

    D:/web/myApp/src/services/authentication.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>public</span> toastCtrl:ToastController,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> iab:<span class=”ion-diagnostics-error-chr”>I</span><span class=”ion-diagnostics-error-chr”>n</span><span class=”ion-diagnostics-error-chr”>A</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>B</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>o</span><span class=”ion-diagnostics-error-chr”>w</span><span class=”ion-diagnostics-error-chr”>s</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>r</span>,</td>
    </tr>
    </tbody>
    </table>

    private googlePlus: GooglePlus,

    </div>
    </div>

    Typescript Error
    Cannot find name ‘GooglePlus’.
    </div>

    D:/web/myApp/src/services/authentication.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> iab:InAppBrowser,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> googlePlus: <span class=”ion-diagnostics-error-chr”>G</span><span class=”ion-diagnostics-error-chr”>o</span><span class=”ion-diagnostics-error-chr”>o</span><span class=”ion-diagnostics-error-chr”>g</span><span class=”ion-diagnostics-error-chr”>l</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>P</span><span class=”ion-diagnostics-error-chr”>l</span><span class=”ion-diagnostics-error-chr”>u</span><span class=”ion-diagnostics-error-chr”>s</span>,</td>
    </tr>
    </tbody>
    </table>

    private device: Device,

    </div>
    </div>

    Typescript Error
    Cannot find name ‘Device’.
    </div>

    D:/web/myApp/src/services/authentication.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> googlePlus: GooglePlus,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> device: <span class=”ion-diagnostics-error-chr”>D</span><span class=”ion-diagnostics-error-chr”>e</span><span class=”ion-diagnostics-error-chr”>v</span><span class=”ion-diagnostics-error-chr”>i</span><span class=”ion-diagnostics-error-chr”>c</span><span class=”ion-diagnostics-error-chr”>e</span>,</td>
    </tr>
    </tbody>
    </table>

    public chatService : ChatService

    </div>
    </div>

    Typescript Error
    Property ‘applicationStorageDirectory’ does not exist on type ‘File’.
    </div>

    D:/web/myApp/src/services/imageCache.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> normalizeURlWKWview(url: <span class=”hljs-built_in”>string</span>) {</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>const</span> urlIos = <span class=”hljs-string”><span class="hljs-subst">${normalizeURL(this.file.<span class="ion-diagnostics-error-chr">a</span><span class="ion-diagnostics-error-chr">p</span><span class="ion-diagnostics-error-chr">p</span><span class="ion-diagnostics-error-chr">l</span><span class="ion-diagnostics-error-chr">i</span><span class="ion-diagnostics-error-chr">c</span><span class="ion-diagnostics-error-chr">a</span><span class="ion-diagnostics-error-chr">t</span><span class="ion-diagnostics-error-chr">i</span><span class="ion-diagnostics-error-chr">o</span><span class="ion-diagnostics-error-chr">n</span><span class="ion-diagnostics-error-chr">S</span><span class="ion-diagnostics-error-chr">t</span><span class="ion-diagnostics-error-chr">o</span><span class="ion-diagnostics-error-chr">r</span><span class="ion-diagnostics-error-chr">a</span><span class="ion-diagnostics-error-chr">g</span><span class="ion-diagnostics-error-chr">e</span><span class="ion-diagnostics-error-chr">D</span><span class="ion-diagnostics-error-chr">i</span><span class="ion-diagnostics-error-chr">r</span><span class="ion-diagnostics-error-chr">e</span><span class="ion-diagnostics-error-chr">c</span><span class="ion-diagnostics-error-chr">t</span><span class="ion-diagnostics-error-chr">o</span><span class="ion-diagnostics-error-chr">r</span><span class="ion-diagnostics-error-chr">y</span>)}</span>Library/files/<span class="hljs-subst">${normalizeURL(url)}</span></span>;</td>
    </tr>
    </tbody>
    </table>

    return urlIos.replace(‘/localhost/persistent’, ”);

    </div>
    </div>

    Typescript Error
    Cannot find name ‘InAppPurchase’.
    </div>

    D:/web/myApp/src/services/wallet.ts

    </div>
    </div>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> config:ConfigService,</td>
    </tr>
    </tbody>
    </table>
    <table class=”ion-diagnostic-table”>
    <tbody>
    <tr class=”ion-diagnostic-error-line”>
    <td class=”ion-diagnostic-blob-code”><span class=”hljs-keyword”>private</span> iap: <span class=”ion-diagnostics-error-chr”>I</span><span class=”ion-diagnostics-error-chr”>n</span><span class=”ion-diagnostics-error-chr”>A</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>p</span><span class=”ion-diagnostics-error-chr”>P</span><span class=”ion-diagnostics-error-chr”>u</span><span class=”ion-diagnostics-error-chr”>r</span><span class=”ion-diagnostics-error-chr”>c</span><span class=”ion-diagnostics-error-chr”>h</span><span class=”ion-diagnostics-error-chr”>a</span><span class=”ion-diagnostics-error-chr”>s</span><span class=”ion-diagnostics-error-chr”>e</span>,</td>
    </tr>
    </tbody>
    </table>

    private auth:AuthenticationService,

    </div>
    </div>
    Ionic Framework: 3.9.5 Ionic App Scripts: 3.2.2 Angular Core: 5.2.11 Angular Compiler CLI: 5.2.11 Node: 10.16.3 OS Platform: Windows 7 Navigator Platform: Win32 User Agent: Mozilla/5.0 (Windows NT 6.1; rv:69.0) Gecko/20100101 Firefox/69.0
    </div>
    </div>

    #37037

    Alex
    Keymaster

    Please try running this command in your ionic project :
    npm install ng2-dragula dragula –save

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.