Git Product home page Git Product logo

Comments (3)

DrMatioDevelop avatar DrMatioDevelop commented on May 21, 2024

然后想看下是不是网页报错 npm run dev
`

[email protected] serve /Users/mine/Desktop/GSYGithubAppWeex-master
webpack-dev-server --env.NODE_ENV=development --progress
TypeError: Cannot destructure property compile 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.

CarGuo avatar CarGuo commented on May 21, 2024

weex这里没做错误提示,你可以看看是不是因为github api id和sercet不对,导致的401或者422

from gsygithubappweex.

DrMatioDevelop avatar DrMatioDevelop commented on May 21, 2024

首先感谢郭大喵的老板的及时回复;
问题是自己没睁开眼睛看清楚😳,
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)

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.