anthdm / superkit

MIT License
1.03k stars 88 forks source link

Arelo doesn't seem to have the `--templ` flag anymore? #19

Open DJARUUN opened 5 months ago

DJARUUN commented 5 months ago

When i run make dev this is the output:

$ make dev
make[1]: Entering directory 'C:/Users/caarg/p/go/please-work'
(✓) Watching files
(✓) Proxying [ from=http://127.0.0.1:7331 to=http://localhost:3000 ]
[watch] build finished, watching for changes...
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme

Rebuilding...
(node:4124) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)

Done in 555ms.
unknown flag: --templ
Usage of C:\Users\caarg\AppData\Local\Temp\go-build2051415227\b001\exe\arelo.exe:
  -d, --delay duration   duration to delay the restart of the command (default 1s)
  -f, --filter event     filter file system event (CREATE|WRITE|REMOVE|RENAME|CHMOD)
  -h, --help             display this message
  -i, --ignore glob      ignore pathname glob pattern
  -p, --pattern glob     trigger pathname glob pattern (default "**")
  -r, --restart          restart the command on exit
  -s, --signal signal    signal used to stop the command (default "SIGTERM")
  -t, --target path      observation target path (default "./")
  -v, --verbose          verbose output
  -V, --version          display version
unknown flag: --templ
exit status 2
make[1]: *** [Makefile:55: sync_assets] Error 1
make[1]: *** Waiting for unfinished jobs....

  __    _   ___
 / /\  | | | |_)
/_/--\ |_| |_| \_ v1.51.0, built with Go go1.22.4

Det g�r inte att hitta s�kv�gen.

As you can see there is an error from arelo that the --templ flag doesn't exist. There is also the warning from node about the modules but it still seems to work so that's not that important.