file is being assigned a //# sourceMappingURL but already has one

前端 未结 6 708
执笔经年
执笔经年 2021-01-30 15:36

I just notice Firefox console outputs the following error for every single .js/.coffee file in my project (even the packages).

-file- is being assigned a //# sou         


        
6条回答
  •  长发绾君心
    2021-01-30 16:18

    I have been working on a project for over a year now, I have never seen this message until roughly the last Firefox update.

    I received it using jQuery 1.9.x, so I just updated my jQuery to 1.11.x and the error went away. I am now happy.

    So, if you are using jQuery and see this Error/Warning, try updating your jQuery to the latest version.

    Hope this helps someone.

提交回复
热议问题