WordPress LMS Theme for Academy and Education Institutes Forums App Support Can't find stylesheet to import @import "ionic.globals"

Can't find stylesheet to import @import "ionic.globals"

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #31478

    Jack Luu
    Participant

    Hi,

    I’ve setup project and install all necessary packages. When ionic serve, the error is

    Can’t find stylesheet to import
    @import “ionic.globals”

    https://prnt.sc/ou3lsl

    #31532

    Harry
    Keymaster

    Hey
    For Building app follow this course:
    https://wplms.io/course/getting-started-with-wplms-mobile-app

    #31899

    Nitin Suryawanshi
    Participant

    Did you have to solve your problem

    #31921

    Harry
    Keymaster

    Hi
    install ionic in globally through this command
    npm install -g ionic
    Then start creating project by this command
    ionic start myApp tabs
    then go to the project directory folder “cd myApp”

    Then serve this command ionic serve

    #31922

    Nitin Suryawanshi
    Participant

    yes, this is works but after replacing wplms src folder then showing an error, other projects are work properly.

    #31923

    Nitin Suryawanshi
    Participant

    can you share complete ionic project with me

    #31924

    Nitin Suryawanshi
    Participant

    can you share a complete ionic project with me

    #31936

    Nitin Suryawanshi
    Participant

    please reply I’m still waiting……..

    #31937

    Nitin Suryawanshi
    Participant

    Did you have to solve your problem

    #31985

    Harry
    Keymaster

    Hey
    how should i share the complete ionic folder this will be a big file, if you rename your last src folder after that copy the latest ionic folder.

    then you should try this command ionic serve
    Also i am sharing the package.json folder.so 1st cut the existing package.json folder after that replace with this folder and try this command
    npm install .

    #31988

    Nitin Suryawanshi
    Participant

    Where package.json file

    #31990

    Nitin Suryawanshi
    Participant
    #32003

    Harry
    Keymaster

    Hey
    if you start your project with this command
    ionic start projectname

    Go to this projectname folder in this folder you will find the package.json,node module, and the src folder.

    so you just have to replace the existing package.json file to this file and then open the terminal
    and go to the projectname folder through this command cd projectname.

    Then serve this command npm install then it install all the dependencies for your ionic app.then serve the ionic serve.

     

    #51200

    man lung Chan
    Participant
    This reply has been marked as private.
    #51472

    Harry
    Keymaster

    Hello

    steps for the App setup: https://bit.ly/3bAxtur

    If you follow these steps for the app setup then you can’t get an error like the above.

    Also in this link, I have added the package.json file and the config.xml file.

     

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