23,814 questions
0
votes
1
answer
16
views
How to fix Window is not defined in Angular 17?
I recently upgraded to Angular 17 and the new Verse builder. After running ng build I get:
An unhandled exception occurred: window is not defined
See "/private/var/folders/gv/...
0
votes
1
answer
24
views
Duplicate Symbols while Linking CMake Project [duplicate]
I'm using CMake to build a project following this template.
The linking stage fails with duplicate symbols found my header files.
...
[100%] Linking CXX executable ../bin/user
duplicate symbol '...
0
votes
2
answers
43
views
Conditionally updating a target in a Makefile
I have a tool that I use to generate C++ header files as part of the build. I only want to write out the generated headers if they changed from what is already on disk so that I don't trigger a ...
1
vote
1
answer
94
views
There was a problem building the apk and appbundle projects
I tried using the flutter_tflite: ^1.0.1 package to build a real-time object detection app. Everything worked fine when I tested it on the emulator. However, when I tried to build it into an APK and ...
0
votes
0
answers
29
views
getting error after using docker build command "docker file not found" [closed]
[+] Building 0.1s (1/1) FINISHED docker:default
=> [internal] load build definition from Dockerfile ...
0
votes
0
answers
59
views
Can't load sql drivers when configuring and building Qt 6.8.1 from source on linux/Ubuntu 24.04.1
The Problem
In a fresh Ubuntu installation, I successfully built & installed PostgreSQL, Qt & Qt Creator from source. When I run my app and try to connect to the database, I get the following ...
0
votes
0
answers
23
views
FileNotFoundError: [Errno 2] No such file or directory: 'patchelf' while building TensorFlow from source
Description:
I am trying to build TensorFlow 2.18 from source on CentOS 8 with the following environment:
Python Version: 3.10,
Bazel Version: 6.5.0,
CUDA/cuDNN Version: CUDA 12.5 / cuDNN 9.3,
GCC/...
1
vote
1
answer
29
views
How to exclude a Folder in AdvancedSecurity in Azure in a Java project
We use Azure Devops and build our Java project there. We also use the AdvancedSecurity. Now i try to exclude a folder from the Scanner.
I have found in AdvancedSecurity-Codeql-Init@1 the parameter &...
0
votes
0
answers
23
views
Build failed with these following exceptions
Execution failed for task ':camera_android_camerax:compileDebugJavaWithJavac'.
Could not resolve all files for configuration ':camera_android_camerax:androidJdkImage'.
Failed to transform core-for-...
0
votes
2
answers
31
views
Can't make uberjar with deps.edn and build.clj
It seems to compile it just fine, but when I try to run it I get
Error: Could not find or load main class _main
Caused by: java.lang.ClassNotFoundException: _main
I've boiled it down to these files:
...
0
votes
0
answers
24
views
SvelteKit + Capacitor: Images and Audio Not Loading in iOS Simulator
I'm working on a SvelteKit project with Capacitor to build a mobile app. The app should display images and play audio files. Everything works fine in the browser, but when I run the app in the iOS ...
1
vote
1
answer
38
views
eas build failed with Namespace 'androidx.versionedparcelable' is used in multiple modules
In react native expo app.
I run eas build --platform android.
The build went through but started to fail in run gradlew step after i upgraded expo to 52:
Task :app:processReleaseMainManifest FAILED
[...
0
votes
0
answers
26
views
React Vite: Blank Screen After New Build Deployment on AWS Until Manual Refresh
I am facing an issue with my React application built using Vite. When a new build is deployed, users who have the application open encounter a blank screen when they try to navigate. Refreshing the ...
1
vote
1
answer
31
views
Secret env vars break the NextJS build on Netlify
My NextJS build on Netlify is failing because of secret environment variables.
My app interacts with the Spotify API. I need to set secrets for both Spotify and NextAuth.
Those vars were created on ...
0
votes
0
answers
13
views
How can I execute build.gradle by running another .gradle file without modifying the build.gradle file?
ano.gradle:
apply from: 'build.gradle'
tasks.register('afterBuild') {
doLast {
println 'another gradle'
}
}
I expect to execute build.gradle -> execute afterBuild by running .\...
0
votes
0
answers
32
views
Why is my application reading outdated JSON settings and class library changes in Visual Studio?
I'm relatively new to C# and Visual Studio, so I appreciate any guidance.
I have a solution with multiple projects, including:
A WPF project
An ASP.NET project
Several Class Library projects
Several ...
1
vote
0
answers
26
views
Updating from 5.96.1 to 5.97.0 stops build at 70%: 70% sealing finish module graph FlagDependencyExportsPlugin
When updating to 5.97.0 my build stops at 70%.
The terminal stops here:
70% sealing finish module graph FlagDependencyExportsPlugin
Looking at the changelog, seems nothing was extremely changed, so ...
0
votes
1
answer
26
views
Unable to exclude folder in tsconfig
I have a folder that is generated by OpenAPI Generator and has some unused variables in it. I would like to exclude this folder because I get many warnings about "unused variables" that ...
0
votes
1
answer
38
views
Compiling PHP from source and bzip2 is failing
I am compiling PHP from source and am running into issues when compiling with --with-bz2 . See below.
/usr/bin/ld: /usr/local/lib/libbz2.a(bzlib.o): relocation R_X86_64_32S against symbol `...
0
votes
0
answers
37
views
+200
What's the purpose of Telerik's OpenAccess enhancer?
Last year, I had a problem concerning Telerik OpenAccess enhancer. That was a very unstable situation: once it worked, sometimes not, ...
Now I have another problem, also about Telerik OpenAccess ...
0
votes
0
answers
15
views
How to capture logs during Xtend compilation
I’m trying to debug an issue in the Xtend compilation process and want to capture detailed logs to see:
Which classes are being compiled after the xtend:compile step.
How long each class takes to ...
0
votes
0
answers
97
views
Flutter Windows Build Fails: std::variant Error in encodable_value.h When Using firebase_auth
I'm trying to build a Flutter Windows application with the firebase_auth plugin, but the build fails consistently with the following error:
C:\Users\Gabriel\Downloads\Projects\mcpark-update\mcpark\...
1
vote
1
answer
345
views
canonicalize_version(version, strip_trailing_zero=False) while doing colcon build
I am using Ubuntu 22.04 with ros2-humble and got the following error while building the workspace
I tried colcon build and colcon build --symlink-install I build same turtlebot3_msgs on another ...
0
votes
0
answers
15
views
How to make a SIMPLE build of VSCode - Open Source
I want to build VSCode from source. I've forked the repo and got it on my desktop. Now I want to build VSCode and run it with the MINIMAL requirements. I don't need an executable and I only need it ...
0
votes
0
answers
36
views
Flutter and Aandroid Studio build error, how can i solve this?
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':flutter_plugin_android_lifecycle:compileDebugJavaWithJavac'.
Could not resolve all files for configuration ':...
0
votes
0
answers
20
views
Using ANT to copy a list of files
I'd like to deploy a subset of my classes in /src-core/classes/*
copying them to another folder src-partial where I have a package.xml declaration of the subset
<types>
<members>...
0
votes
0
answers
57
views
Build failed - Unknown Kotlin JVM target: 21 + flutter
I am using jvmTarget as 1.8 in build.gradle
android {
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['...
-3
votes
0
answers
26
views
Bug appeared after upgrading from 2022.3.30 to 2022.3.53 with plugins in Unity. launcher:mapReleaseSourceSePaths. launcher:releaseRuntimeClasspath
After Unity update, bugs related to plugins available on project started appearing in Android builds
WHAT I TRIED TO DO
I tried making an empty project and installing 2 pairs of different plugin ...
4
votes
0
answers
75
views
Angular SSG Prerendering gives timeout when rendering big numb of urls (V17+)
I have angular v19 app and I'm using SSG with following angular.json settings
{
...
"prerender":{
"routesFile": "prerender-urls.txt",
...
1
vote
0
answers
45
views
Building C++ with Ninja not parsing file
I'm using sublime text with ubuntu. My build.ninja file looks perfect to me but I get this error when I try build:
ninja
ninja: error: build.ninja:6: expected 'command =' line
Here is my build.ninja ...
0
votes
1
answer
43
views
Module not found: Error while trying to build application
I am upgrading my application dependencies and I am stuck on the below error when I am trying to build my react application (npm run build):
Failed to compile.
Module not found: Error: You attempted ...
-1
votes
0
answers
26
views
'parent.relativePath' of POM points at taas.person:Source instead of taas.common:taas-parent,
'parent.relativePath' of POM taas.person.framework:taas-person-feedback:2024.13.00 (C:\Users\darurs0\Downloads\Taas\taas-person-feedback\pom.xml) points at taas.person:Source instead of taas.common:...
0
votes
0
answers
6
views
Prevent build events from running multiple times across referenced projects in Visual Studio 2019
I am using Visual Studio 2019, and I have a solution where a project references other projects.
Each project has custom build events defined that run an external .exe file. For example, in the Post-...
2
votes
1
answer
35
views
How to print my library's or executable's build path?
I'm trying to print in my shell my library's or executable's build path using xmake. After build my library or executable file is located in build/linux/x86_64/release directory, I would like to print ...
0
votes
1
answer
54
views
Error building the aplication (Linting and checkin validity of types .Failed to compile)
I have created an Next.js Aplication, it doesn't present any error on next dev nor in next lint but when i run the next build, the error occurs:
.next/types/app/api/queries/[id]/route.ts:49:7
<...
0
votes
1
answer
21
views
What is the Purpose of configurePreset within buildPreset and testPreset Entries?
In CMakePresets.json, I can specify the configurePreset in both buildPreset and testPreset, but I'm not entirely sure what it actually does.
For instance:
{
...
"configurePreset": {
&...
1
vote
1
answer
77
views
NextJs - Error running "npm run build": ./node_modules/next/dist/server/lib/router-utils/filesystem.d.ts:65:72 Type error: '>' expected
i ran into an error on my Nextjs project and i don't know how to fix it since it's not my fault.
Main problem
This error: ./node_modules/next/dist/server/lib/router-utils/filesystem.d.ts:65:72 Type ...
1
vote
0
answers
29
views
How to create and use SCSS files module-wise in an Angular NX application?
I am building a theme-based Angular application using the Nx Framework, and I am trying to organize styles in a modular fashion for better scalability and maintainability.
Here’s my scenario:
I have ...
0
votes
0
answers
16
views
React Netlify Error Wants Me To Install Nonexistent Vm-Browserify Package?
I have a react app that I recently scaffolded with create-react-app.
When I run npm run build locally on node v20.18.0 it works fine with no erros.
When I connect my repo to netlify and let it build ...
0
votes
1
answer
80
views
How can I compile with only llvm?
I'm trying to compile things using llvm only, but came into many problems.
In order not to miss a single feature of LLVM, I tried to compile the whold llvm-project according to the commands in this ...
0
votes
1
answer
44
views
Inconsistent build behavior
I have a pipeline for an onprem agent. This is a .Net 8 web application.
I'm getting very inconsistent results. Every once in a while I get a completed build. Most of the time I'm getting a message ...
0
votes
0
answers
9
views
How to fix invalid ELF header in bcrypt docker [duplicate]
FROM node:18 AS build
WORKDIR /app
Copy only package.json and package-lock.json first
COPY package*.json ./
Install system dependencies for bcrypt to compile
RUN apt-get update && apt-get ...
0
votes
1
answer
55
views
Flutter Build Console showing this - Font asset "MaterialIcons-Regular.otf" was tree-shaken
I am encountering an error in the console while creating the APK.
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 3336 bytes (99.8% reduction). Tree-...
0
votes
0
answers
12
views
Gradle dsl ruby gems build fails
I am using gradle 3.0 to build this but it fails no matter what I try. I cannot upgrade to a newer version of gradle or any of the plugins and 3rd party jar files since this is part of a larger ...
1
vote
1
answer
76
views
Can I utilize conditional compilation without creating a bunch of files in Go? [closed]
I have recently started programming in Go but have quite a bit of experience in other low-level languages such as C/C++, Rust, and Zig. These languages provide conditional compilation such as C/C++ #...
0
votes
0
answers
46
views
Could not resolve "ZIP_Open": /Applications/Android Studio.app/Contents/jbr/Contents/Home/lib/libzip.dylib
I am trying to run android studio on Mac M1, but getting the following error :
The daemon has terminated unexpectedly on startup attempt #1 with error code: 1. The daemon process output:
1. Error ...
0
votes
1
answer
49
views
Why is the project file name (only) sometimes prepended to the MSBuild intermediate directory?
In my builds, I need to ensure a specific intermediate directory. Now, I have noticed that building a .vcxproj file uses a different intermediate directory than building the same project as part of an ...
0
votes
1
answer
180
views
"Next.js Production Build Error: '.next' Directory Not Found"
Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-...
0
votes
0
answers
53
views
Ionic/Angular upgrade to SDK 34. Error during build: Could not find com.android.volley:volley:1.1.1
My project was building fine until I changed android-targetSdkVersion to 34 from 33. I am getting below error during the build.
Advise.
WARNING:Using flatDir should be avoided because it doesn't ...
0
votes
0
answers
24
views
Expo problem with keystore (React Native)
I have problem when I build a project for production using expo.
When I have added a different keystore I got the problem, but when I removed the keystore and used the default the problem solved. I ...