Code Monkey home page Code Monkey logo

fairygui-dom's People

Contributors

1037195898 avatar xiaoguzhu 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

Watchers

 avatar  avatar  avatar

fairygui-dom's Issues

可以支持 Construct 3 引擎吗?

Construct 3 (https://editor.construct.net/) 是一个基于浏览器的游戏引擎,通过 Webview 运行,可以导出到各平台。这是引擎官方的插件开发文档,官方也提供了一些插件的开源案例,插件支持 JavaScript 和 TypeScript 编码,也支持插件使用 C++ 集成。理论上其他 H5 引擎能运行,那么在C3运行也没有问题的。

C3 引擎缺少一种通用UI的解决方案,目前只能依赖硬编码或者原生DOM,如果 FairyGUI 能支持C3就真的能极大提高工作效率。

构建没成功啊!

G:\GitHub\FairyGUI\FairyGUI-dom>gulp buildJs
{ Error: Cannot find module 'rollup'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (G:\GitHub\FairyGUI\FairyGUI-dom\gulpfile.js:2:16)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3) code: 'MODULE_NOT_FOUND' }

请教一下,报这个错是什么问题,谢谢

ERROR in ./test/src/index.ts
Module build failed (from ./node_modules/ts-loader/index.js):
Error: Debug Failure. False expression: Non-string value passed to ts.resolveTypeReferenceDirective, likely by a wrapping package working with an outdated resolveTypeReferenceDirectives signature. This is probably not a problem in TS itself.
at Object.resolveTypeReferenceDirective (E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:43193:18)
at E:\Github\FairyGUI-dom\node_modules\ts-loader\dist\servicesHost.js:613:77
at E:\Github\FairyGUI-dom\node_modules\ts-loader\dist\servicesHost.js:131:142
at Array.map ()
at Object.resolveTypeReferenceDirectives (E:\Github\FairyGUI-dom\node_modules\ts-loader\dist\servicesHost.js:131:125)
at actualResolveTypeReferenceDirectiveNamesWorker (E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:118257:163)
at resolveTypeReferenceDirectiveNamesWorker (E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:118557:26)
at processTypeReferenceDirectives (E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:120054:31)
at findSourceFileWorker (E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:119939:21)
at findSourceFile (E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:119791:26)
at E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:119740:85
at getSourceFileFromReferenceWorker (E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:119706:34)
at processSourceFile (E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:119740:13)
at processTypeReferenceDirectiveWorker (E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:120085:21)
at processTypeReferenceDirective (E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:120070:13)
at Object.createProgram (E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:118360:21)
at synchronizeHostData (E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:167688:26)
at Object.getProgram (E:\Github\FairyGUI-dom\node_modules\typescript\lib\typescript.js:167802:13)
at Object.initializeInstance (E:\Github\FairyGUI-dom\node_modules\ts-loader\dist\instances.js:193:84)
at successLoader (E:\Github\FairyGUI-dom\node_modules\ts-loader\dist\index.js:28:17)
at Object.loader (E:\Github\FairyGUI-dom\node_modules\ts-loader\dist\index.js:25:5)

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.