Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console Error: Not allowed to load local resource #67

Open
IT-SDJ opened this issue Jul 7, 2021 · 1 comment
Open

Console Error: Not allowed to load local resource #67

IT-SDJ opened this issue Jul 7, 2021 · 1 comment

Comments

@IT-SDJ
Copy link

IT-SDJ commented Jul 7, 2021

When I lauch the plugin, the view is no content.
I look the chrome console, find the error info

Not allowed to load local resource: file:///Users/myname/Library/Application%20Support/com.bohemiancoding.sketch3/Plugins/dev-tools.sketchplugin/Contents/Resources/webview.js

sketch version 70.1
sketch-dev-tools version 0.99

@IT-SDJ
Copy link
Author

IT-SDJ commented Jul 7, 2021

When I lauch the plugin, the view is no content.
I look the chrome console, find the error info

Not allowed to load local resource: file:///Users/shangdeju/Library/Application%20Support/com.bohemiancoding.sketch3/Plugins/dev-tools.sketchplugin/Contents/Resources/webview.js

sketch version 70.1
sketch-dev-tools version 0.99

I found the problem ,the question is the file is not found in that path。
I went into this directory ,found the file name is resouse_webview.js, when I changed the filename to webview.js
The problem was solved。 I restart plugin, then it works well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant