Cannot install and start Ionic


  • | 362 points

    Hi there,

    Need some help with setting up Ionic on Laragon 4.0.14.

    • At first I ran npm install -g ionic.
    • Then ionic start.
    • The error I am receiving is "ReferenceError: primordials is not defined"

    Here is the full screenshot of the process https://i.imgur.com/4tugUTj.png

    Please advise.


  • | 362 points

    Just to update. I fixed this by going to my Users<user>\AppData\Roaming\npm folder and deleting all files/folder with ionic name. Then I reinstalled Ionic with npm install -g ionic. All is ok now.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.