CANNOT GET ERROR

Viewing 30 posts - 1 through 30 (of 30 total)
  • Author
    Posts
  • #43982

    waqas shah
    Participant

    I AM GETTING THE FOLLOWING ERROR WHILE ACCESSING IONIC PROJECT :

    [ng] Browserslist: caniuse-lite is outdated. Please run next command npm update
    [ng] i 「wds」: Project is running at http://localhost:8100/webpack-dev-server/
    [ng] i 「wds」: webpack output is served from /
    [ng] i 「wds」: 404s will fallback to //index.html
    [ng] chunk {main} main.js, main.js.map (main) 1.87 kB [initial] [rendered]
    [ng] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 149 kB [initial] [rendered]
    [ng] chunk {runtime} runtime.js, runtime.js.map (runtime) 6.09 kB [entry] [rendered]
    [ng] chunk {styles} styles.js, styles.js.map (styles) 777 bytes [initial] [rendered]
    [ng] chunk {vendor} vendor.js, vendor.js.map (vendor) 339 kB [initial] [rendered]
    [ng]
    [ng] ERROR in multi ./src/theme/variables.scss ./src/global.scss
    [ng] Module not found: Error: Can’t resolve ‘C:\Users\vickky\Kurdemy\src\global.scss’ in ‘C:\Users\vickky\Kurdemy’
    [ng] ERROR in multi (webpack)-dev-server/client?http://0.0.0.0:0/sockjs-node&sockPath=/sockjs-node ./src/main.ts
    [ng] Module not found: Error: Can’t resolve ‘C:\Users\vickky\Kurdemy\src\main.ts’ in ‘C:\Users\vickky\Kurdemy’
    [ng] ERROR in multi ./src/polyfills.ts ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js
    [ng] Module not found: Error: Can’t resolve ‘C:\Users\vickky\Kurdemy\src\polyfills.ts’ in ‘C:\Users\vickky\Kurdemy’
    [ng] ERROR in multi ./src/theme/variables.scss ./src/global.scss
    [ng] Module not found: Error: Can’t resolve ‘C:\Users\vickky\Kurdemy\src\theme\variables.scss’ in ‘C:\Users\vickky\Kurdemy’
    [ng] ERROR in Must have a source file to refactor.
    [ng] Date: 2020-02-06T09:30:00.206Z – Hash: 5addf64ac7843205fc94 – Time: 3618ms

    [INFO] Development server running!

    Local: http://localhost:8100

    Use Ctrl+C to quit this process

    [INFO] Browser window opened to http://localhost:8100!

    [ng] i 「wdm」: Failed to compile.

    pLEASE WATCH THIS VIDEO FOR MORE CLARIFICATION :

    https://1drv.ms/v/s!AstHvod7a4YAmDg4k-BFi1WmKpCI?e=sz5EzK

    #43984

    Scott Lang
    Keymaster
    #44091

    waqas shah
    Participant

    Ok I have followed your insttruction and now i am getting these errors :

    C:\Users\vickky>ionic start kurdemy blank –type=ionic-angular
    ? You are already in an Ionic project directory. Do you really want to start another project here? Yes
    √ Preparing directory .\kurdemy – done!
    √ Downloading and extracting blank starter – done!

    Installing dependencies may take several minutes.

    ──────────────────────────────────────────────────────────────

    Ionic Appflow, the mobile DevOps solution by Ionic

    Continuously build, deploy, and ship apps
    Focus on building apps while we automate the rest

    Learn more: https://ion.link/appflow

    ──────────────────────────────────────────────────────────────

    > npm.cmd i
    npm WARN deprecated [email protected]: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw
    npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-commonjs.
    npm WARN deprecated [email protected].0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
    npm WARN deprecated [email protected].3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.

    > [email protected].1 install C:\Users\vickky\kurdemy\node_modules\node-sass
    > node scripts/install.js

    Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-64_binding.node
    Cannot download “https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-64_binding.node”:

    ESOCKETTIMEDOUT

    Hint: If github.com is not accessible in your location
    try setting a proxy via HTTP_PROXY, e.g.

    export HTTP_PROXY=http://example.com:1234

    or configure npm proxy via

    npm config set proxy http://example.com:8080

    > [email protected] postinstall C:\Users\vickky\kurdemy\node_modules\uglifyjs-webpack-plugin
    > node lib/post_install.js

    > [email protected].1 postinstall C:\Users\vickky\kurdemy\node_modules\node-sass
    > node scripts/build.js

    Building: C:\Program Files\nodejs\node.exe C:\Users\vickky\kurdemy\node_modules\node-gyp\bin\node-gyp.js rebuild –verbose –libsass_ext= –libsass_cflags= –libsass_ldflags= –libsass_library=
    gyp info it worked if it ends with ok
    gyp verb cli [ ‘C:\\Program Files\\nodejs\\node.exe’,
    gyp verb cli ‘C:\\Users\\vickky\\kurdemy\\node_modules\\node-gyp\\bin\\node-gyp.js’,
    gyp verb cli ‘rebuild’,
    gyp verb cli ‘–verbose’,
    gyp verb cli ‘–libsass_ext=’,
    gyp verb cli ‘–libsass_cflags=’,
    gyp verb cli ‘–libsass_ldflags=’,
    gyp verb cli ‘–libsass_library=’ ]
    gyp info using [email protected]
    gyp info using [email protected].0 | win32 | x64
    gyp verb command rebuild []
    gyp verb command clean []
    gyp verb clean removing “build” directory
    gyp verb command configure []
    gyp verb check python checking for Python executable “python2” in the PATH
    gyp verb which failed Error: not found: python2
    gyp verb which failed at getNotFoundError (C:\Users\vickky\kurdemy\node_modules\which\which.js:13:12)
    gyp verb which failed at F (C:\Users\vickky\kurdemy\node_modules\which\which.js:68:19)
    gyp verb which failed at E (C:\Users\vickky\kurdemy\node_modules\which\which.js:80:29)
    gyp verb which failed at C:\Users\vickky\kurdemy\node_modules\which\which.js:89:16
    gyp verb which failed at C:\Users\vickky\kurdemy\node_modules\isexe\index.js:42:5
    gyp verb which failed at C:\Users\vickky\kurdemy\node_modules\isexe\windows.js:36:5
    gyp verb which failed at FSReqWrap.oncomplete (fs.js:153:21)
    gyp verb which failed python2 { Error: not found: python2
    gyp verb which failed at getNotFoundError (C:\Users\vickky\kurdemy\node_modules\which\which.js:13:12)
    gyp verb which failed at F (C:\Users\vickky\kurdemy\node_modules\which\which.js:68:19)
    gyp verb which failed at E (C:\Users\vickky\kurdemy\node_modules\which\which.js:80:29)
    gyp verb which failed at C:\Users\vickky\kurdemy\node_modules\which\which.js:89:16
    gyp verb which failed at C:\Users\vickky\kurdemy\node_modules\isexe\index.js:42:5
    gyp verb which failed at C:\Users\vickky\kurdemy\node_modules\isexe\windows.js:36:5
    gyp verb which failed at FSReqWrap.oncomplete (fs.js:153:21)
    gyp verb which failed stack:
    gyp verb which failed ‘Error: not found: python2\n at getNotFoundError (C:\\Users\\vickky\\kurdemy\\node_modules\\which\\which.js:13:12)\n at F (C:\\Users\\vickky\\kurdemy\\node_modules\\which\\which.js:68:19)\n at E (C:\\Users\\vickky\\kurdemy\\node_modules\\which\\which.js:80:29)\n at C:\\Users\\vickky\\kurdemy\\node_modules\\which\\which.js:89:16\n at C:\\Users\\vickky\\kurdemy\\node_modules\\isexe\\index.js:42:5\n at C:\\Users\\vickky\\kurdemy\\node_modules\\isexe\\windows.js:36:5\n at FSReqWrap.oncomplete (fs.js:153:21)’,
    gyp verb which failed code: ‘ENOENT’ }
    gyp verb check python checking for Python executable “python” in the PATH
    gyp verb which failed Error: not found: python
    gyp verb which failed at getNotFoundError (C:\Users\vickky\kurdemy\node_modules\which\which.js:13:12)
    gyp verb which failed at F (C:\Users\vickky\kurdemy\node_modules\which\which.js:68:19)
    gyp verb which failed at E (C:\Users\vickky\kurdemy\node_modules\which\which.js:80:29)
    gyp verb which failed at C:\Users\vickky\kurdemy\node_modules\which\which.js:89:16
    gyp verb which failed at C:\Users\vickky\kurdemy\node_modules\isexe\index.js:42:5
    gyp verb which failed at C:\Users\vickky\kurdemy\node_modules\isexe\windows.js:36:5
    gyp verb which failed at FSReqWrap.oncomplete (fs.js:153:21)
    gyp verb which failed python { Error: not found: python
    gyp verb which failed at getNotFoundError (C:\Users\vickky\kurdemy\node_modules\which\which.js:13:12)
    gyp verb which failed at F (C:\Users\vickky\kurdemy\node_modules\which\which.js:68:19)
    gyp verb which failed at E (C:\Users\vickky\kurdemy\node_modules\which\which.js:80:29)
    gyp verb which failed at C:\Users\vickky\kurdemy\node_modules\which\which.js:89:16
    gyp verb which failed at C:\Users\vickky\kurdemy\node_modules\isexe\index.js:42:5
    gyp verb which failed at C:\Users\vickky\kurdemy\node_modules\isexe\windows.js:36:5
    gyp verb which failed at FSReqWrap.oncomplete (fs.js:153:21)
    gyp verb which failed stack:
    gyp verb which failed ‘Error: not found: python\n at getNotFoundError (C:\\Users\\vickky\\kurdemy\\node_modules\\which\\which.js:13:12)\n at F (C:\\Users\\vickky\\kurdemy\\node_modules\\which\\which.js:68:19)\n at E (C:\\Users\\vickky\\kurdemy\\node_modules\\which\\which.js:80:29)\n at C:\\Users\\vickky\\kurdemy\\node_modules\\which\\which.js:89:16\n at C:\\Users\\vickky\\kurdemy\\node_modules\\isexe\\index.js:42:5\n at C:\\Users\\vickky\\kurdemy\\node_modules\\isexe\\windows.js:36:5\n at FSReqWrap.oncomplete (fs.js:153:21)’,
    gyp verb which failed code: ‘ENOENT’ }
    gyp verb could not find “python”. checking python launcher
    gyp verb could not find “python”. guessing location
    gyp verb ensuring that file exists: C:\Python27\python.exe
    gyp ERR! configure error
    gyp ERR! stack Error: Can’t find Python executable “python”, you can set the PYTHON env variable.
    gyp ERR! stack at PythonFinder.failNoPython (C:\Users\vickky\kurdemy\node_modules\node-gyp\lib\configure.js:484:19)
    gyp ERR! stack at PythonFinder.<anonymous> (C:\Users\vickky\kurdemy\node_modules\node-gyp\lib\configure.js:509:16)
    gyp ERR! stack at callback (C:\Users\vickky\kurdemy\node_modules\graceful-fs\polyfills.js:295:20)
    gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
    gyp ERR! System Windows_NT 10.0.18363
    gyp ERR! command “C:\\Program Files\\nodejs\\node.exe” “C:\\Users\\vickky\\kurdemy\\node_modules\\node-gyp\\bin\\node-gyp.js” “rebuild” “–verbose” “–libsass_ext=” “–libsass_cflags=” “–libsass_ldflags=” “–libsass_library=”
    gyp ERR! cwd C:\Users\vickky\kurdemy\node_modules\node-sass
    gyp ERR! node -v v10.16.0
    gyp ERR! node-gyp -v v3.8.0
    gyp ERR! not ok
    Build failed with error code: 1
    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″})

    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! [email protected].1 postinstall: node scripts/build.js
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the [email protected].1 postinstall script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\vickky\AppData\Roaming\npm-cache\_logs\2020-02-07T14_25_59_360Z-debug.log
    [ERROR] An error occurred while running subprocess npm.

    npm.cmd i exited with exit code 1.

    Re-running this command with the –verbose flag may provide more information.

    C:\Users\vickky>

    #44190

    Scott Lang
    Keymaster

    As I see that node-sass error occurring. Please refer above tutorial where the node-sass error solution already provided.http://prntscr.com/r069n9

     

    #44351

    waqas shah
    Participant
    This reply has been marked as private.
    #44364

    Scott Lang
    Keymaster

    Refer to this course:https://wplms.io/course/getting-started-with-wplms-mobile-app/

    you have to configure your app from your site details

    #44388

    waqas shah
    Participant
    This reply has been marked as private.
    #44389

    waqas shah
    Participant
    This reply has been marked as private.
    #44392

    Scott Lang
    Keymaster

    Hi,

    You have commented out your credential and make active the wplms so that data will be from wplms-site not from your site

    Do like this:http://prntscr.com/r24zc7 for your site.

    #44393

    waqas shah
    Participant

    ok thanks project is now retrieved. I will work further in it and see if I face other issues : )

    Thanks a lot

    do not close this ticket

    #44395

    waqas shah
    Participant
    This reply has been marked as private.
    #44424

    Scott Lang
    Keymaster

    The home page error is because you have not to star marked any courses yet. refer this setting:http://prntscr.com/r27w1s

    The free button will work in mobile mode from inspect/mobile icon here:http://prntscr.com/r27x83

    #44458

    waqas shah
    Participant
    This reply has been marked as private.
    #44562

    Scott Lang
    Keymaster

    On the first issue which is the only list of the curriculum not clickable. You have to first enroll in the course first.

    And for the second it is strange please share your console of error on the wallet page.

    Also, share your admin-credentials in private reply

    #44563

    waqas shah
    Participant
    This reply has been marked as private.
    #44575

    waqas shah
    Participant
    This reply has been marked as private.
    #44590

    waqas shah
    Participant
    This reply has been marked as private.
    #44620

    waqas shah
    Participant

    Hello sir. It’s been 24 hours and i don’t get any response?

    Please help me resolve this issue.

    #44623

    Scott Lang
    Keymaster

    Buy from the site only works on mobile devices.

    We are using the tracker to track the site and app activity for sync. Like admin enrolls the student from site then after reopening app new data will be fetched. Thus no price option will be shown.

    Also from the profile, you can see the my-courses list after adding to the course.

    The wallet enables settings:http://prntscr.com/r3vpbk. site:http://prntscr.com/r3vq19

     

    #44628

    waqas shah
    Participant
    This reply has been marked as private.
    #44629

    Scott Lang
    Keymaster

    I am just giving you tips for the wallet settings not related to the issue.

    Please run the app on mobile to buy from a site option.

    #44630

    waqas shah
    Participant
    This reply has been marked as private.
    #44631

    waqas shah
    Participant
    This reply has been marked as private.
    #44633

    waqas shah
    Participant
    This reply has been marked as private.
    #44675

    Harry
    Spectator

    Hello

    https://1drv.ms/v/s!AstHvod7a4YAmEWfugmMPoMIdWCJ?e=xquXZE
    This will be the java environment issue, You have to configure JDK8 in your system
    Refer This:https://wplms.io/course/how-to-install-ionic/installing-java/

    https://1drv.ms/v/s!AstHvod7a4YAmEadPLanUQ3TMcq_

    And the wallet will be working only in the finalize app, Because the wallet will be signed through the play store. The wplms app will be working because it will be signed through the play store.

    The sample points will only be shown in the debug app. If you placed the wallet product id in your config file then it will only work after the finalization.

    #44676

    waqas shah
    Participant

    Alright thanks for the clarification.

    and you didn’t say anything about, admin giving courses to a user for free and that course gets unlock for the user on the app.

    This is not happening.

    #44677

    waqas shah
    Participant

    Also please please tell me how do we remove these welcome screen sliders from the app. So user goes straight to the login page :

    https://1drv.ms/u/s!AstHvod7a4YAmEdgwn9UfoTC1HEE

    #44705

    Harry
    Spectator

    Hello

    For removing welcome screen go-to app src folder>app>app.component.ts and change    this.rootPage = Intro; to TabsPage;

    The intro page will be hidden.

    #44733

    waqas shah
    Participant
    This reply has been marked as private.
    #44788

    Harry
    Spectator

    Hello

    This is the config.ts file you can’t edit in this file.

    In above reply i am telling you about editing in the app.components.ts file.

    go to the src>app>app.component.ts file

    and change the this.rootpage=intro to

    Tabspage.

     

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