最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Can not find js.map file? - Stack Overflow

programmeradmin1浏览0评论

I have a wordpress install and am working on building out a custom theme. But for some reason I keep getting a console 404 error saying that the [path to file]/waves.min.js.map is not found. I do not have a waves.js.map file nor do I kno what a .js.map file is.

The effect is still working and I am not having any issues related to the file. Can anyone tell me what would cause a .js.map or what it is or even how to make one?

I have a wordpress install and am working on building out a custom theme. But for some reason I keep getting a console 404 error saying that the [path to file]/waves.min.js.map is not found. I do not have a waves.js.map file nor do I kno what a .js.map file is.

The effect is still working and I am not having any issues related to the file. Can anyone tell me what would cause a .js.map or what it is or even how to make one?

Share Improve this question asked Aug 10, 2014 at 2:21 Grady DGrady D 2,0399 gold badges33 silver badges63 bronze badges 1
  • If you check the console you can see the line where the script is in the HTML. With that information you can check the theme's files or the plugins you might be using. – Tomás Cot Commented Aug 10, 2014 at 2:30
Add a ment  | 

1 Answer 1

Reset to default 8

This file is known as source maps you can read more about it here, you can disable this behavior by removing line //@ sourceMappingURL=PATH_TO_waves.js.map from waves.js if waves.js doesn't e with this file.

发布评论

评论列表(0)

  1. 暂无评论