gohade / hade Goto Github PK
View Code? Open in Web Editor NEWhade 框架,快速开发应用
Home Page: http://hade.funaio.cn/
License: MIT License
hade 框架,快速开发应用
Home Page: http://hade.funaio.cn/
License: MIT License
➜ go go install github.com/gohade/hade@latest
go build github.com/erikdubbelboer/gspt: build constraints exclude all Go files in /Users/linglingdai/go/pkg/mod/github.com/erikdubbelboer/[email protected]
➜ go go version
go version go1.18.6 darwin/arm64
我是 mac m1 的环境,不知道这个问题怎么解决.
THX.
Error
$ hade build all
============= 前端编译失败 ============
> [email protected] build /home/xxx/hade_example
> node build/build.js
/home/xxx/hade_example/node_modules/webpack/lib/webpack.js:165
throw new RemovedPluginError(errorMessage);
^
Error: webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead.
at Object.get [as CommonsChunkPlugin] (/home/xxx/hade_example/node_modules/webpack/lib/webpack.js:165:10)
at Object.<anonymous> (/home/xxx/hade_example/build/webpack.prod.conf.js:86:26)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/xxx/hade_example/build/build.js:12:23)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Function.Module.runMain (module.js:701:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `node build/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/.npm/_logs/2023-03-07T02_30_53_322Z-debug.log
============= 前端编译失败 ============
Error: exit status 1
Usage:
hade build all [flags]
Flags:
-h, --help help for all
Environment:
$ go version
go version go1.19.2 linux/amd64
$ npm -version
5.5.1
你们会有这个问题吗,nohup &
也不行,是不是因为go-daemon运行子进程也会绑定在ssh会话上?
使用go install github.com/gohade/hade@latest
安装会报错
> go install github.com/gohade/hade@latest
# github.com/mattn/go-sqlite3
sqlite3-binding.c: In function 'sqlite3SelectNew':
sqlite3-binding.c:128049:10: warning: function may return address of local variable [-Wreturn-local-addr]
128049 | return pNew;
| ^~~~
sqlite3-binding.c:128009:10: note: declared here
128009 | Select standin;
| ^~~~~~~
在执行项目初始化命令时 (hade new [app])错误
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.