Comments (3)
然后想看下是不是网页报错 npm run dev
`
[email protected] serve /Users/mine/Desktop/GSYGithubAppWeex-master
webpack-dev-server --env.NODE_ENV=development --progress
TypeError: Cannot destructure propertycompile
of 'undefined' or 'null'.
at addHooks (/Users/mine/Desktop/GSYGithubAppWeex-master/node_modules/webpack-dev-server/lib/Server.js:114:49)
at new Server (/Users/mine/Desktop/GSYGithubAppWeex-master/node_modules/webpack-dev-server/lib/Server.js:127:5)
at startDevServer (/Users/mine/Desktop/GSYGithubAppWeex-master/node_modules/webpack-dev-server/bin/webpack-dev-server.js:355:14)
at processOptions (/Users/mine/Desktop/GSYGithubAppWeex-master/node_modules/webpack-dev-server/bin/webpack-dev-server.js:309:5)
at internalTickCallback (internal/process/next_tick.js:77:7)
at process._tickCallback (internal/process/next_tick.js:47:5)
at Function.Module.runMain (internal/modules/cjs/loader.js:778:11)
at startup (internal/bootstrap/node.js:300:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:826:3)
`
from gsygithubappweex.
weex这里没做错误提示,你可以看看是不是因为github api id和sercet不对,导致的401或者422
from gsygithubappweex.
首先感谢郭大喵的老板的及时回复;
问题是自己没睁开眼睛看清楚😳,
1️⃣要先注册https://github.com/settings/applications/new,
2️⃣拿到对应的client_id 与 client_secret
3️⃣在你需要自己项目src/core/common/目录下 创建一个ignoreConfig.js文件,然后输入你申请的Github client_id 和 client_secret
4️⃣运行项目后,显示登陆界面后, 使用自己的github账号密码登陆 。 配置文件(ignoreConfig.js)的client_id与client_secret不是github的账号密码是第一步注册的 切记切记
另外项目运行白屏的如果是ios 请修改 platforms/ios
目录下podfile pod 'WeexSDK‘, '=0.18.0'
, 因为本人使用最新的weexSDK(0.19.0)也会白屏
from gsygithubappweex.
Related Issues (20)
- 登陸的賬戶是github? HOT 1
- 根据 GSYGithubAppWeex 步骤配置多页面App出现错误,Web显示正常 HOT 3
- weex debug ios扫码空白 HOT 5
- Utils.env已经失效 HOT 2
- 请问使用vuex报错 Vue is not defined你怎解决的 HOT 5
- 请问启动时出现问题 HOT 2
- weex run android
- wxc-taber 嵌套Vue页面在 Web 端不显示
- ttt
- 安卓首页 render error :-2013
- 应用过期了? HOT 1
- 缺少文件,Error: Can't resolve '../common/ignoreConfig' HOT 2
- weex-ui中util工具有文档吗 HOT 2
- 如果出现登陆失败或者请求失败
- 天空
- 您好,请问安卓上是怎么实现box-shadow的?
- 能否结合项目写一篇博客全面的分析RN、Flutter和Weex开发的优缺点? HOT 2
- 登录密码帐号是多少呀
- 1. 关于APK登陆无效问题 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsygithubappweex.