Custom output and srcDir dirs. Build and Generate commands failed
See original GitHub issueEnvironment
- Operating System:
Linux
- Node Version:
v16.14.0
- Nuxt Version:
3.0.0-rc.8
- Package Manager:
yarn@1.22.17
- Builder:
vite
- User Config:
modules
,vite
,css
,tailwindcss
,nitro
,root
- Runtime Modules:
@nuxtjs/tailwindcss@5.3.2
,@vueuse/nuxt@9.1.0
- Build Modules:
-
Describe the bug
I’m trying to use the changed project structure, but after a series of recent updates, the build
and generate
commands stopped running
Project structure
nuxt.config.ts
import { defineNuxtConfig } from 'nuxt';
import modulesConfig from './configs/nuxt.modules.config';
export default defineNuxtConfig({
...modulesConfig,
nitro: {
output: {
dir: '~~/build',
},
},
srcDir: './src',
});
in dev mode all works fine, but when i’m trying to build or generate i get this errors:
yarn generate
yarn build
i’m working at private project but if u need i can give u access to repository…
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Unable to add include paths to headers generated ... - GitHub
My use case is to include generated headers from mavgen.py (mavlink generator) script. It generates headers on subdirectories and I can ...
Read more >How to write a Makefile with separate source and header ...
List your source and build output directories: ... When you got this error" ... all source files SOURCES := $(wildcard $(SRCDIR)/*.cpp) # list...
Read more >Installing GCC: Configuration - GNU Project
First, we highly recommend that GCC be built into a separate directory from the sources which does not reside within the source tree....
Read more >makepkg - ArchWiki
To build a package, one must first create a PKGBUILD, or build script, ... files and directories, such as files extracted to the...
Read more >Command-line commands - The Meson Build system
Meson is invoked using the following syntax: meson [COMMAND] [COMMAND_OPTIONS] ... --errorlogs Whether to print the logs from failing tests --install-umask ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ok… then i dont know what a problem… maybe my OS? sorry
i just move my project to
home/supp/Dev/adrenaline-swap
and enough