SunTzu
SunTzu
NNuxt
Created by SunTzu on 8/24/2024 in #❓・help
Nuxt-electron
Hi, i am trying to use nuxt-electron. I followed the tutorial however when I run the command
yarn main
yarn main
it doesn't seem to work? I get this error;
yarn main
yarn run v1.22.22
$ dist-electron/main.js
/bin/sh: dist-electron/main.js: Permission denied
error Command failed with exit code 126.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn main
yarn run v1.22.22
$ dist-electron/main.js
/bin/sh: dist-electron/main.js: Permission denied
error Command failed with exit code 126.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I also changed yarn build to this;
"build": "nuxt build --prerender && electron-builder",
"build": "nuxt build --prerender && electron-builder",
and this results in the pasted error here; any ideas?
3 replies
NNuxt
Created by SunTzu on 4/26/2023 in #❓・help
Server Watchers
Is it possible similar to how you have the server running with NodeJS to have some code on the server side waiting for sockets/data etc. My intention is on the server side, is to listen to Supabase table Realtime, and when data is inserted in, on the server side then do something about it.
1 replies
NNuxt
Created by SunTzu on 4/19/2023 in #❓・help
Call Middleware dynamically
I know how middlewares work by setting them in the definePageMeta. However is it possible to call a middleware file check based on a javascript event changing? For example a project environment within a user has changed from project A to project B. Is it possible that in the change there via JavaScript, that I can then call the middleware file so that it does it's checks?
1 replies
NNuxt
Created by SunTzu on 4/12/2023 in #❓・help
Failed to resolve import Vite
I'm getting the following errors whenever running nuxt site now.
ERROR Failed to resolve import "#head" from "node_modules/nuxt-jsonld/dist/runtime/plugin.mjs?v=67e98e82". Does the file exist? 12:44:51 PM


ERROR Failed to resolve import "@formkit/addons/css/floatingLabels" from "configs/formkit.config.mjs". Does the file exist? 12:44:51 PM


ERROR Failed to resolve import "#head" from "node_modules/nuxt-jsonld/dist/runtime/composable.mjs?v=67e98e82". Does the file exist?
ERROR Failed to resolve import "#head" from "node_modules/nuxt-jsonld/dist/runtime/plugin.mjs?v=67e98e82". Does the file exist? 12:44:51 PM


ERROR Failed to resolve import "@formkit/addons/css/floatingLabels" from "configs/formkit.config.mjs". Does the file exist? 12:44:51 PM


ERROR Failed to resolve import "#head" from "node_modules/nuxt-jsonld/dist/runtime/composable.mjs?v=67e98e82". Does the file exist?
any ideas?
1 replies
NNuxt
Created by SunTzu on 3/3/2023 in #❓・help
Generate Sitemap on server side of nuxt
Is it possible to generate the sitemap for the public directory on the server side of nuxt?
3 replies
NNuxt
Created by SunTzu on 3/2/2023 in #❓・help
Nuxt 3 Sitemap Generate Dynamic Routes with Supabase
I've seen examples of generating routes with fetch etc. However is it possible within the nuxt config to create dynamic routes by using the supabase module? I have tried however the config does not allow for import unlike nuxt 2 did
1 replies
NNuxt
Created by SunTzu on 2/22/2023 in #❓・help
Idle-js with Nuxt 3
Anyone had luck with implementing idle-js in Nuxt 3?
10 replies