puerts_cli
puerts_cli copied to clipboard
开箱即用的 PuerTS 脚手架工具。
配合最新的puerts 2.0.3使用,一运行就报错: ``` Exception: /Assets/Resources/JS/DeveloperTools.js:29: TypeError: puer.registerBuildinModule is not a function ```
Exception: module 'puerts_minigame_js_resources/puerts/init.mjs.js' is not defined, require args is 'puerts_minigame_js_resources/puerts/init.mjs.js' at Puerts.WebGL.GetBrowserEnv (Puerts.ILoader loader, System.Int32 debugPort) [0x00000] in :0 (env: Windows,mg,1.06.2306020; lib: 2.32.2)
在buildFile.js 里配置 tsTransformOption ==> jsc.parser.decorators: true后puer dev可以正常编译带装饰器的源码,但是用puer build --target minigame --browse编译时还是会报错: node:internal/process/promises:279 triggerUncaughtException(err, true /* fromPromise */); ^ [Error: load_transformed failed Caused by: 0: Bundler.load() failed 1: Bundler.loader.load(\\?\G:\svn\TestPuerTs\TS\src\TestDecorator.ts) failed 2:...
我在代码中引入了 "rxjs": "^7.8.1",在编辑器模式正常运行,执行puer build --target minigame --browse时报错了:thread '' panicked at 'internal error: entered unreachable code: module item found but is_es6 is false: ExportNamed(NamedExport { span: Span { lo: BytePos(206921), hi:...
puer build --target minigame --browse 报错,普通的puer build 不会 thread '' panicked at 'cannot access a scoped thread local variable without calling `set` first', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\scoped-tls-1.0.1\src\lib.rs:168:9 note: run with `RUST_BACKTRACE=1` environment variable...
puer dev --reload true 命令执行后,通过在 App.ts 的constructor里添加如下函数,并修改log,发现 editor没有输出新log setInterval(function () { console.log(`FPS3:${Time.frameCount}`); }, 1000);