WordPress LMS Theme for Academy and Education Institutes Forums App Support Typescript Error after npm install

Typescript Error after npm install

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #53067

    Jafx
    Participant

    Hello!
    I stumbled on this video: https://www.youtube.com/watch?v=AQXzBH7fJvY
    I followed it then on ionic serve I get below errors;

    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/events.d.ts
    function on(emitter: EventEmitter, event: string): AsyncIterableIterator<any>;
    const captureRejectionSymbol: unique symbol;
    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/events.d.ts
    */
    const errorMonitor: unique symbol;
    /**
    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/repl.d.ts
    */
    const REPL_MODE_SLOPPY: unique symbol;
    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/repl.d.ts
    */
    const REPL_MODE_STRICT: unique symbol;
    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/util.d.ts
    let replDefaults: InspectOptions;
    const custom: unique symbol;
    }
    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/util.d.ts
    namespace promisify {
    const custom: unique symbol;
    }
    Typescript Error
    ‘=’ expected.
    node_modules/@types/node/worker_threads.d.ts
    const parentPort: null | MessagePort;
    const SHARE_ENV: unique symbol;
    const threadId: number;
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/events.d.ts
    function on(emitter: EventEmitter, event: string): AsyncIterableIterator<any>;
    const captureRejectionSymbol: unique symbol;
    Typescript Error
    Cannot find name ‘symbol’. Did you mean ‘Symbol’?
    node_modules/@types/node/events.d.ts
    function on(emitter: EventEmitter, event: string): AsyncIterableIterator<any>;
    const captureRejectionSymbol: unique symbol;
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/events.d.ts
    */
    const errorMonitor: unique symbol;
    /**
    Typescript Error
    Cannot find name ‘symbol’. Did you mean ‘Symbol’?
    node_modules/@types/node/events.d.ts
    */
    const errorMonitor: unique symbol;
    /**
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/repl.d.ts
    */
    const REPL_MODE_SLOPPY: unique symbol;
    Typescript Error
    Cannot find name ‘symbol’. Did you mean ‘Symbol’?
    node_modules/@types/node/repl.d.ts
    */
    const REPL_MODE_SLOPPY: unique symbol;
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/repl.d.ts
    */
    const REPL_MODE_STRICT: unique symbol;
    Typescript Error
    Cannot find name ‘symbol’. Did you mean ‘Symbol’?
    node_modules/@types/node/repl.d.ts
    */
    const REPL_MODE_STRICT: unique symbol;
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/util.d.ts
    let replDefaults: InspectOptions;
    const custom: unique symbol;
    }
    Typescript Error
    Cannot find name ‘symbol’. Did you mean ‘isSymbol’?
    node_modules/@types/node/util.d.ts
    let replDefaults: InspectOptions;
    const custom: unique symbol;
    }
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/util.d.ts
    namespace promisify {
    const custom: unique symbol;
    }
    Typescript Error
    Cannot find name ‘symbol’.
    node_modules/@types/node/util.d.ts
    namespace promisify {
    const custom: unique symbol;
    }
    Typescript Error
    Cannot find name ‘unique’.
    node_modules/@types/node/worker_threads.d.ts
    const parentPort: null | MessagePort;
    const SHARE_ENV: unique symbol;
    const threadId: number;
    Typescript Error
    Cannot find name ‘symbol’.
    node_modules/@types/node/worker_threads.d.ts
    const parentPort: null | MessagePort;
    const SHARE_ENV: unique symbol;
    const threadId: number;

    #53145

    Alex
    Keymaster

    Hello

    In My setup the App will be working Fine see this Video : https://bit.ly/3eeIraV

    In App Folder replace the package.json with this : https://we.tl/t-XbxarsQvVF After that rename the node_module folder and then run this command
    npm install.

    This will work.

    #53147

    Jafx
    Participant

    The link file is deleted https://we.tl/t-XbxarsQvVF

    #53256

    Jafx
    Participant

    Can you zip and send your node_modules/@types/ folder for me, it seems to be the problem

    #53268

    Harry
    Keymaster

    Hello

    For setup the ionic you should follow these steps: https://bit.ly/3ceTIGH

    And if this will not be work then i have zip the node module folder.

     

    #53282

    Jafx
    Participant

    The link you sent I have tried that many times still the same error, kindly send the node module folder Thanks

    #53299

    WPLMS
    Keymaster

    Are you setting up on Mac ? here’s the package.json for ios setup.
    https://wplms.io/package_ios/

    #53604

    Jafx
    Participant

    I can’t get this to work up till, kindly send your zipped module folder

    #53676

    WPLMS
    Keymaster

    Zip is over 2gb in size and you only need package.json and cordova plugin versions to setup, most users are able to setup. Which os are you using windows or mac ?

    #53678

    Jafx
    Participant

    Mac

    #53932

    Jafx
    Participant

    Only send me your @types folder in the node module folder

    #54004

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