Giter Club home page Giter Club logo

wechat_web_devtools's People

Contributors

aiwhj avatar cytle avatar honghe avatar imknown avatar levinit avatar mmhunter avatar qwivan avatar razonyang avatar shynome avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wechat_web_devtools's Issues

ngn-windows is only supported on Windows.

我之前做了一个微信小程序,但是最近出现了奇怪的问题,所以根据更新步骤升级了一下这个开发工具。

第一次启动的时候,看到了这个提示框。我的小程序里发送所有网络请求一直timeout。
image

于是我关了再次打开,命令行里显示如下错误。窗口里则一直显示“更新中...”

ilovepumpkin@ruige:~/git/wechat_web_devtools$ ./bin/wxdt
/home/ilovepumpkin/git/wechat_web_devtools

/home/ilovepumpkin/git/wechat_web_devtools/package.nw/node_modules/node-windows/lib/node-windows.js:19
  throw 'ngn-windows is only supported on Windows.';
  ^
ngn-windows is only supported on Windows.

image

我的系统是Ubuntu 16.04。

升级到官方1.0版本

大神,官方1.0版本发布了额,支持wsx语法,期待大神快快更新!真的是苦了ubuntu的小兄弟们了。

运行 ./bin/wxdt 出错

./nw: error while loading shared libraries: libnw.so: cannot open shared object file: No such file or directory

开发者工具自动更新,导致失败。

/home/sunray/wechat_web_devtools/package.nw/node_modules/node-windows/lib/node-windows.js:19 throw 'ngn-windows is only supported on Windows.'; ^ ngn-windows is only supported on Windows.

screenshot_2017-05-21_10-04-40

程序后台运行,有时终端会输出一些错误信息。

系统版本:Ubuntu16.04
程序后台运行,有时会输出一些错误信息。如下
~$ [21280:21294:0817/211306:ERROR:interface_registry.cc(99)] Capability spec prevented service service:content_browser from binding interface: mojom::ResourceUsageReporter
[21280:21294:0817/212306:ERROR:interface_registry.cc(99)] Capability spec prevented service service:content_browser from binding interface: mojom::ResourceUsageReporter

有的时候会卡住

有的时候会卡主,显示页面很慢,我小程序是在WebStorm里面编写的,然后通过一个js文件实时编译到输出目录,仅仅使用开发者工具运行调试,每次编译后开发者工具重新载入页面要10秒才能打开,再次打开就快了,但是一旦外部编译一次,就又卡了~~

how to reinstall?

please wait 5s!
4s
3s
2s
1s
after 5s
/home/admin/program/wechat_web_devtools/bin/replace_weapp_vendor.sh: 27: kill: No such process

Fail! Please reinstall

运行后报这个信息

[8663:8663:0612/154639:ERROR:CONSOLE(1588)] "TypeError: Cannot read property 'certificateDetailsPromise' of undefined TypeError: Cannot read property 'certificateDetailsPromise' of undefined at r (<anonymous>:1:1116) at WebInspector.NetworkManager.dispatchEventToListeners (chrome-devtools://devtools/bundled/inspector.js:737:185) at WebInspector.NetworkDispatcher.responseReceived (chrome-devtools://devtools/bundled/inspector.js:7384:236) at Object.dispatch (chrome-devtools://devtools/bundled/inspector.js:4608:63) at WebInspector.MainConnection.dispatch (chrome-devtools://devtools/bundled/inspector.js:4548:31) at WebInspector.MainConnection._dispatchMessage (chrome-devtools://devtools/bundled/inspector.js:10773:7) at WebInspector.Object.dispatchEventToListeners (chrome-devtools://devtools/bundled/inspector.js:737:185) at innerDispatch (chrome-devtools://devtools/bundled/inspector.js:1588:58) at InspectorFrontendAPIImpl._dispatch (chrome-devtools://devtools/bundled/inspector.js:1587:1) at DevToolsAPIImpl._dispatchOnInspectorFrontendAPI (devtools_compatibility.js:62:21)", source: chrome-devtools://devtools/bundled/inspector.js (1588)

Attempting to require callback on nonexistent surface

不好意思,我之前的小程序还是不能运行,我用了bluebird, 一直报timeout的错误,命令行窗口也有错误。

命令行窗口报错


ilovepumpkin@ruige:~/git/wechat_web_devtools$ ./bin/wxdt 
/home/ilovepumpkin/git/wechat_web_devtools
[7031:7031:0601/201015:ERROR:browser_plugin_guest.cc(444)] Attempting to require callback on nonexistent surface
[7031:7031:0601/201040:ERROR:CONSOLE(1588)] "TypeError: Cannot read property 'certificateDetailsPromise' of undefined TypeError: Cannot read property 'certificateDetailsPromise' of undefined
    at r (<anonymous>:1:1116)
    at WebInspector.NetworkManager.dispatchEventToListeners (chrome-devtools://devtools/bundled/inspector.js:737:185)
    at WebInspector.NetworkDispatcher.responseReceived (chrome-devtools://devtools/bundled/inspector.js:7384:236)
    at Object.dispatch (chrome-devtools://devtools/bundled/inspector.js:4608:63)
    at WebInspector.MainConnection.dispatch (chrome-devtools://devtools/bundled/inspector.js:4548:31)
    at WebInspector.MainConnection._dispatchMessage (chrome-devtools://devtools/bundled/inspector.js:10773:7)
    at WebInspector.Object.dispatchEventToListeners (chrome-devtools://devtools/bundled/inspector.js:737:185)
    at innerDispatch (chrome-devtools://devtools/bundled/inspector.js:1588:58)
    at InspectorFrontendAPIImpl._dispatch (chrome-devtools://devtools/bundled/inspector.js:1587:1)
    at DevToolsAPIImpl._dispatchOnInspectorFrontendAPI (devtools_compatibility.js:62:21)
    at DevToolsAPIImpl.dispatchMessage (devtools_compatibility.js:147:14)", source: chrome-devtools://devtools/bundled/inspector.js (1588)

小程序开发工具窗口报错

bluebird.min.js [sm]:29 Unhandled rejection (<{"errMsg":"request:fail timeout"}>, no stack trace)
D @ bluebird.min.js [sm]:29
E @ bluebird.min.js [sm]:29
k @ bluebird.min.js [sm]:29
e._notifyUnhandledRejection @ bluebird.min.js [sm]:29
r._drainQueue @ bluebird.min.js [sm]:29
r._drainQueues @ bluebird.min.js [sm]:29
drainQueues @ bluebird.min.js [sm]:29

无法使用console

Chrome devtools的console无法正常使用。
如输入命令后没有反馈、无法查看错误信息详情

2017.07.20 (0.20.191900) is out.

Time to update.

BTW:

It's awesome to provide the way about update package.nw. Then contributors can help you maintaining this repo. What do you think ?

无法登录

出现登录界面二维码,但是扫描确认之后无法登录,控制台打印出error
image

外观设置中无法选择字体

系统环境:linux mint 18.2 64bit
桌面环境:xfce
在设置-外观设置-外观中点击字体选择器没有反应
调试器log如下

path.js:28 Uncaught (in promise) TypeError: Path must be a string. Received undefined
    at assertPath (path.js:28)
    at Proxy.join (path.js:1239)
    at /home/tastycarb/wechat_web_devtools/package.nw/js/de640e457745362cd277fa7e893af981.js:1
    at Promise (/home/tastycarb/wechat_web_devtools/package.nw/js/de640e457745362cd277fa7e893af981.js:1)
    at Promise (<anonymous>)
    at module.exports (/home/tastycarb/wechat_web_devtools/package.nw/js/de640e457745362cd277fa7e893af981.js:1)
    at Object.apply (/home/tastycarb/wechat_web_devtools/package.nw/node_modules/lazyload/lazy-require.js:44)
    at toggle (/home/tastycarb/wechat_web_devtools/package.nw/js/8dd5f7782d24d3e5f86bdafb3f3012a1.js:1)
    at HTMLUnknownElement.callCallback (/home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1299)
    at Object.invokeGuardedCallbackDev (/home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1338)
assertPath @ path.js:28
join @ path.js:1239
(anonymous) @ /home/tastycarb/wechat_web_devtools/package.nw/js/de640e457745362cd277fa7e893af981.js:1
Promise @ /home/tastycarb/wechat_web_devtools/package.nw/js/de640e457745362cd277fa7e893af981.js:1
module.exports @ /home/tastycarb/wechat_web_devtools/package.nw/js/de640e457745362cd277fa7e893af981.js:1
apply @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/lazyload/lazy-require.js:44
toggle @ /home/tastycarb/wechat_web_devtools/package.nw/js/8dd5f7782d24d3e5f86bdafb3f3012a1.js:1
callCallback @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1299
invokeGuardedCallbackDev @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1338
invokeGuardedCallback @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1195
invokeGuardedCallbackAndCatchFirstError @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1209
executeDispatch @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1432
executeDispatchesInOrder @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1454
executeDispatchesAndRelease @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1969
executeDispatchesAndReleaseTopLevel @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1980
forEachAccumulated @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1946
processEventQueue @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:2139
runEventQueueInBatch @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:2151
handleTopLevel @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:2161
handleTopLevelImpl @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1800
batchedUpdates @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:13238
performFiberBatchedUpdates @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1646
stackBatchedUpdates @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1637
batchedUpdates @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1651
batchedUpdatesWithControlledComponents @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1664
dispatchEvent @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1874
async function (async)
toggle @ /home/tastycarb/wechat_web_devtools/package.nw/js/8dd5f7782d24d3e5f86bdafb3f3012a1.js:1
callCallback @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1299
invokeGuardedCallbackDev @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1338
invokeGuardedCallback @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1195
invokeGuardedCallbackAndCatchFirstError @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1209
executeDispatch @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1432
executeDispatchesInOrder @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1454
executeDispatchesAndRelease @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1969
executeDispatchesAndReleaseTopLevel @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1980
forEachAccumulated @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1946
processEventQueue @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:2139
runEventQueueInBatch @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:2151
handleTopLevel @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:2161
handleTopLevelImpl @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1800
batchedUpdates @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:13238
performFiberBatchedUpdates @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1646
stackBatchedUpdates @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1637
batchedUpdates @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1651
batchedUpdatesWithControlledComponents @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1664
dispatchEvent @ /home/tastycarb/wechat_web_devtools/package.nw/node_modules/react-dom/cjs/react-dom.development.js:1874

很赞,能用,一定要用 wine1.8

我用winehq一直渲染层错误,似乎是gecko没装好,ubt16.02自带wine1.6也不行,后来试了1.8才可以,gecko一定要让wine自动安装,或许时间久了些

安装过程中产生错误

[6118:6118:0507/101100:ERROR:gl_context_glx.cc(235)] Couldn't make context current with X drawable.
[6118:6118:0507/101100:ERROR:gl_context_glx.cc(235)] Couldn't make context current with X drawable.
[6118:6118:0507/101100:ERROR:gl_context_glx.cc(235)] Couldn't make context current with X drawable.

extensions::sendRequest:154
return natives.StartRequestSync(functionName,
^

^C

运行出现报错

系统为Ubuntu 17.04
过程中使用了全部使用了sudo
目录已给777权限
在root账号下可以打开
以下为报错全文

fs.js:854
  return binding.mkdir(pathModule._makeLong(path),
                 ^

Error: EACCES: permission denied, mkdir '/home/xyzhao/.config/微信web开发者工具'
    at Object.fs.mkdirSync (fs.js:854:18)
    at Function.mkdir.sync (/home/xyzhao/wechat_web_devtools/package.nw/node_modules/mkdir-p/index.js:22:8)
    at Proxy.mkdir.sync (/home/xyzhao/wechat_web_devtools/package.nw/node_modules/mkdir-p/index.js:21:11)
    at /home/xyzhao/wechat_web_devtools/package.nw/js/92320c1386e6db6a6f2556736a9bc280.js:1:279
    at Object.<anonymous> (/home/xyzhao/wechat_web_devtools/package.nw/js/92320c1386e6db6a6f2556736a9bc280.js:1:958)
    at Module._compile (module.js:595:32)
    at Object.Module._extensions..js (module.js:610:10)
    at Module.load (module.js:512:32)
    at tryModuleLoad (module.js:471:12)
    at Function.Module._load (module.js:463:3)

这个错误提示是为什么

./nw: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

这个uninstall后再install也不行啊

/home/edb/.config/微信web开发者工具/WeappVendor/wcc.exe: 1: /home/edb/.config/微信web开发者工具/WeappVendor/wcc.exe: MZ������@������: not found
/home/edb/.config/微信web开发者工具/WeappVendor/wcc.exe: 2: /home/edb/.config/微信web开发者工具/WeappVendor/wcc.exe: ���J�Y���1������8�����: not found
/home/edb/.config/微信web开发者工具/WeappVendor/wcc.exe: 1: /home/edb/.config/微信web开发者工具/WeappVendor/wcc.exe: Syntax error: word unexpected (expecting ")")

1.0版本安装后,wxml解析错误

VM112:1 Sun Sep 03 2017 09:38:09 GMT+0800 (CST) wxml 文件,编译错误
VM112:2 undefined
undefined
(anonymous) @ VM112:2
VM114:1 Sun Sep 03 2017 09:38:09 GMT+0800 (CST) 渲染层错误
VM114:2 run-detectors: unable to find an interpreter for /home/justin/.config/微信web开发者工具/WeappVendor/wcc.exe

已执行wcc.exe重新编译

微信开发者工具v.01.170925版本编译有问题哦

/home/jerry/.config/微信web开发者工具/WeappVendor/wcc.exe: 1: /home/jerry/.config/微信web开发者工具/WeappVendor/wcc.exe: MZ������@������: not found
/home/jerry/.config/微信web开发者工具/WeappVendor/wcc.exe: 1: /home/jerry/.config/微信web开发者工具/WeappVendor/wcc.exe: cannot open .text�������: No such file
/home/jerry/.config/微信web开发者工具/WeappVendor/wcc.exe: 1: /home/jerry/.config/微信web开发者工具/WeappVendor/wcc.exe: 4������: not found
/home/jerry/.config/微信web开发者工具/WeappVendor/wcc.exe: 1: /home/jerry/.config/微信web开发者工具/WeappVendor/wcc.exe: .data�
�����@�.rdata0�����@@.bssP�: not found
/home/jerry/.config/微信web开发者工具/WeappVendor/wcc.exe: 2: /home/jerry/.config/微信web开发者工具/WeappVendor/wcc.exe: ��l��Y���5������8�����: not found
/home/jerry/.config/微信web开发者工具/WeappVendor/wcc.exe: 3: /home/jerry/.config/微信web开发者工具/WeappVendor/wcc.exe: Syntax error: word unexpected (expecting ")")

打开项目直接报该错误,执行了wxdt uninstall && wxdt install 还是不行,欢迎赐教,不胜感谢。

桌面启动图标

预计有一天会添加桌面启动图标,不定期

有兴趣的同学也可以搞下,提一个PR,😂

关于解决nwjs版本bug,系统是32位的小伙伴需要注意了

从bin目录下的update_nwjs.sh文件中贴一段代码出来.
`#! /bin/bash

下载nwjs,构建项目

root_dir=$(cd dirname $0/.. && pwd -P)

nwjs_v=cat $root_dir/nwjs_v
tmp_dir="/tmp/wxdt_xsp"

nwjs_file="$tmp_dir/nwjs-v$nwjs_v.tar.gz"
nwjs_dir="$tmp_dir/nwjs-sdk-v${nwjs_v}-linux-x64"
nwjs_download="https://dl.nwjs.io/v$nwjs_v/nwjs-sdk-v${nwjs_v}-linux-x64.tar.gz"

dist_dir="$root_dir/dist"`
很明显这里默认更新都是64位的nwjs版本,所以系统如果是64位的小伙伴要将这修改为32位地址哦!不然更新下来,你的软件可能又有问题了。具体对应的版本链接可以参看这里的下载路径https://nwjs.io/

Uncaught SyntaxError: Invalid or unexpected token

刚想在ubuntu16.04上跑我的程序,但是遇到这个问题, 尝试了./bin/wxdt unisntall ./bin/wxdt install, 但是没用。
还试过, rm /opt/tecent, ~/.config/微信web 开发工具, ~/.cache/微信web开发者工具/, 还是没用。

image
image

SDK is not defined

[20223:20223:1018/105001:ERROR:CONSOLE(1588)] "ReferenceError: SDK is not defined ReferenceError: SDK is not defined
at DevToolsAPIImpl.DevToolsAPI.sendMessageToEmbedder (:1:5417)
at InspectorFrontendHostImpl.inspectedURLChanged (devtools_compatibility.js:492:21)
at WebInspector.Target.setInspectedURL (chrome-devtools://devtools/bundled/inspector.js:4660:23)
at WebInspector.ResourceTreeModel._processCachedResources (chrome-devtools://devtools/bundled/inspector.js:7115:170)
at callback (chrome-devtools://devtools/bundled/inspector.js:4588:39)
at Object.dispatchResponse (chrome-devtools://devtools/bundled/inspector.js:4595:10)
at WebInspector.MainConnection.dispatch (chrome-devtools://devtools/bundled/inspector.js:4545:60)
at WebInspector.MainConnection._dispatchMessage (chrome-devtools://devtools/bundled/inspector.js:10773:7)
at WebInspector.Object.dispatchEventToListeners (chrome-devtools://devtools/bundled/inspector.js:737:185)
at innerDispatch (chrome-devtools://devtools/bundled/inspector.js:1588:58)", source: chrome-devtools://devtools/bundled/inspector.js (1588)

ubuntu gnome提示如下信息

安装微信开发者工具对应nwjs版本:0.19.4
update nwjs success
[10238:10238:0831/150105:ERROR:browser_main_loop.cc(265)] Gtk: 无法在模块路径中找到主题引擎:“murrine”,
fs.js:854
return binding.mkdir(pathModule._makeLong(path),
^

Error: EACCES: permission denied, mkdir '/home/edb/.config/微信web开发者工具'
at Object.fs.mkdirSync (fs.js:854:18)
at Function.mkdir.sync (/home/edb/wechat_web_devtools/package.nw/node_modules/mkdir-p/index.js:22:8)
at Function.mkdir.sync (/home/edb/wechat_web_devtools/package.nw/node_modules/mkdir-p/index.js:21:11)
at init (/home/edb/wechat_web_devtools/package.nw/app/dist/config/dirConfig.js:1:232)
at Object. (/home/edb/wechat_web_devtools/package.nw/app/dist/config/dirConfig.js:1:980)
at Module._compile (module.js:595:32)
at Object.Module._extensions..js (module.js:610:10)
at Module.load (module.js:512:32)
at tryModuleLoad (module.js:471:12)
at Function.Module._load (module.js:463:3)

怎么添加桌面图标

任务栏那里的图标很丑,然后可以不从终端启动吗,直接点击任务栏的图标启动

启动工具后终端报错,sensor页面缺失

本人使用deepin 15.4系统,
安装好工具后,使用 alias 自定义命令 [alias wcdt="cd /opt/tencent/wechat_web_devtools/ && ./bin/wxdt"] 启动工具,发现终端有如下报错:
[16563:16563:0526/152104:ERROR:browser_plugin_guest.cc(444)] Attempting to require callback on nonexistent surface

然后发现了Sensor功能页面缺失,如图:
20170526152449

关闭工具之后终端追加报错如下:
[16563:16563:0526/152105:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'style' of null", source: (1)
[16563:16563:0526/152111:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'style' of null", source: (1)
extensions::guestViewContainer:276
var internal = privates(this).internal;
^

TypeError: Cannot read property 'internal' of undefined
at HTMLElement.proto.focus (extensions::guestViewContainer:276:34)
at Timeout._onTimeout (/opt/tencent/wechat_web_devtools/package.nw/app/dist/components/edit/edit.js:1:7669)
at ontimeout (timers.js:365:14)
at tryOnTimeout (timers.js:237:5)
at Timer.listOnTimeout (timers.js:207:5)

请问有办法修复吗?

找不到设置入口

在左上角找不到设置入口,只有代理可以设置,在按alt键也没反应

Failed to create /home/axetroy/.config/微信web开发者工具/SingletonLock: File exists

已存在微信开发者工具, 然后切换至version_1分支, 运行如下命令

./bin/wxdt

[6801:6801:0926/095801:ERROR:process_singleton_posix.cc(304)] Failed to create /home/axetroy/.config/微信web开发者工具/SingletonLock: File exists
[6801:6801:0926/095801:ERROR:chrome_browser_main.cc(1692)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.

把旧的配置文件移除就好了

http: command not found, 下载版本为空?

./bin/update_package_nw.sh

当前wechat_v: 0.21.201800
./bin/update_package_nw.sh: line 19: http: command not found
下载版本为空

ubuntu下安装

sudo apt install httpie

再次执行

./bin/update_package_nw.sh

当前wechat_v: 0.21.201800
下载版本为空

安装出错

axetroy@axetroy-H81M-DS2:~/gpm/github.com/cytle/wechat_web_devtools$ ./bin/wxdt install
安装微信开发者工具对应nwjs版本:0.19.4
=================================
[注意]需要下载nwjs.请耐心等待下载完成
https://dl.nwjs.io/v0.19.4/nwjs-sdk-v0.19.4-linux-x64.tar.gz
=================================
--2017-10-19 16:56:11--  https://dl.nwjs.io/v0.19.4/nwjs-sdk-v0.19.4-linux-x64.tar.gz
Resolving dl.nwjs.io (dl.nwjs.io)... 107.170.237.181
Connecting to dl.nwjs.io (dl.nwjs.io)|107.170.237.181|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 84097925 (80M) [application/x-tar]
Saving to: ‘/tmp/wxdt_xsp/nwjs-v0.19.4.tar.gz’

/tmp/wxdt_xsp/nwjs-v0.19.4.tar.gz                     98%[===================================================================================================================>  ]  78.86M  3.98MB/s    eta 3s/tmp/wxdt_xsp/nwjs-v0.19.4.tar.gz                   100%[================================================================================================================>]  80.20M  4.13MB/s    in 43s     

2017-10-19 16:56:55 (1.88 MB/s) - ‘/tmp/wxdt_xsp/nwjs-v0.19.4.tar.gz’ saved [84097925/84097925]

update nwjs success
please wait 5s!
1s
2s
3s
4s
5s
kill nw
Fail! Please reinstall
安装完成

1

应该是Wine下安装工具错了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.