change to this file were not saved to file system error in google chrome version 30.0.1599.101 m

牧云@^-^@ 提交于 2020-01-11 18:46:06

问题


Image Notification

In the google chrome version 30.0.1599.101 m i am not able to save the changed js file. On saving the js file i got yellow triangle symbol with "change to this file were not saved to file system" message. I know this used to work in older version

I am using windows-7 64 bit


回答1:


Click on the cog in the developer tools window (lower right corner)

Go to workspace and add the directory which you would be working on.

This is to accidentally prevent you from modifying files that you did not intend on changing.




回答2:


Happened to me too. After picking the workspace directory, I also mapped the file from the "Source" panel of Devtools to its filesystem equivalent (using right-click on the file, from the file tree). It solved my problem.




回答3:


In chrome > 63, accepted answer option is disabled. In later should be done through workspaces.




回答4:


Tonight, I accidentally managed to fix this problem, just open the file on the disk and save it with a simple change even with a space. Refresh the page in Chrome, Chrome will link it(The file) to the disk.




回答5:


Something to note: if you are making dynamically loaded JS available in devtools via the helpful: //# sourceURL=Example.js comment, this network to local mapping will not work.

Note: Notice the "//# sourceURL=dynamicScript.js" line at the end of dynamicScript.js file. This technique gives a name to a script created with eval, and will be discussed in more detail in the Source Maps section. Breakpoints can be set in dynamic JavaScript only if it has a user supplied name.

https://developer.chrome.com/devtools/docs/javascript-debugging

When you're using sourceURL, you can't actually find the respective JS file in the Sources tree where you might expect it to exist. It is available to open via the "no-domain" tree, however (or quick open with CTRL/CMD+P).

I'm still looking for a solution.




回答6:


Using Ctrl + F5 to clear the browser cache worked for me.



来源:https://stackoverflow.com/questions/19654081/change-to-this-file-were-not-saved-to-file-system-error-in-google-chrome-version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!