"crbug/1173575, non-JS module files deprecated" Error in flutter

16,360

Delete your launch.json file as it is causing your app to not launch with the default configuration of flutter

Share:
16,360

Related videos on Youtube

KhuzaimaA
Author by

KhuzaimaA

Updated on May 25, 2022

Comments

  • KhuzaimaA
    KhuzaimaA almost 2 years

    i created a json file with all the data required for my app, it was working fine but one image was showing error saying that it is from another domain, so i changed the image address to another image, and now it says

    crbug/1173575, non-JS module files deprecated

    i tried changing it back to the previous image and restarted the application it still shows the error.

        {
    "id": 1,
    "name": "92.7",
    "tagline": "on the ground by Rose",
    "color": "blue",
    "url": "https://upload.wikimedia.org/wikipedia/en/5/51/Google_Chrome_on_Windows_10_screenshot.png" ,
    "icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Google_Chrome_icon_%28September_2014%29.svg/96px-Google_Chrome_icon_%28September_2014%29.svg.png" ,
    "img": "https://preview.redd.it/ls2yuc4501l61.jpg?width=512&auto=webp&s=be785e98bf288f69c0b0105fb2bce6ab807b20f4",
    "category": "blackpink",
    "disliked": false,
    "order": 1
    },
    {
    "id": 2,
    "name": "92.7",
    "tagline": "blood sweat and tears by BTS",
    "color": "blue",
    "url":"https://upload.wikimedia.org/wikipedia/en/5/51/Google_Chrome_on_Windows_10_screenshot.png" ,
    "icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Google_Chrome_icon_%28September_2014%29.svg/96px-Google_Chrome_icon_%28September_2014%29.svg.png",
    "img":"https://m.media-amazon.com/images/M/MV5BZTQ3YmU4MjAtYzQ0NC00NjRjLThmMzYtMTE4MzgzMWJkNjliXkEyXkFqcGdeQXVyNDY5MjMyNTg@._V1_.jpg",
    "category": "BTS",
    "disliked": false,
    "order": 2
    }
    

    Error was in the first pic, the second was showing fine but after changing it , now it doesnt start the application and shows the error i mentioned above. I'm using google chrome to run the application.

  • Julien Baldy
    Julien Baldy over 2 years
    i havent launch.json, any solutions ?
  • Mithson
    Mithson over 2 years
    I tried deleting my launch.json file but still not working any solutions?
  • KhuzaimaA
    KhuzaimaA about 2 years
    this worked fine for me
  • tahesse
    tahesse about 2 years
    Welcome to SO! Please don't just post code with broken format but provide some context to your answer.