How to solve this error: Undefined symbol - freepascal

I'm trying to do a simple thing that requires a new package. I write my code basically following a tutorial online, just two things to understand how it works. But when I try to compile it, Lazarus show me this error:
Error: Undefined symbol: RESSTR_$FPWEB_$$_START$indirect
I suppose it's because I have to rebuilt Lazarus. If so, how do I rebuild it? And if it's because of another thing, can anybody help me? I'm pretty new with Lazarus.

I solved this error! The error was some error during the installation of the package. I just delete it and reinstalled and I solved it.

Related

Webpack 5 - ERROR in Error: Child compilation failed: Module parse failed: Unexpected character '�' (1:4)

I don't understand what is the problem? Webpack does not compile the project and shows the following error:
ERROR in Error: Child compilation failed: Module parse failed: Unexpected character '�' (1:4)
But I can't figure out where the error derives from, in which module or file, where to look for it? This is the error from my IDE.
At the moment, it gives only 1 error when compiling, before that there were 22 errors. Actions that could lead to this - trying to solve the problem through CSS.
After I removed everything in the code (-webkit-min-device-pixel-ratio: 2), the number of errors was reduced to 1, but I don’t understand what to do next.
My webpack 5 config: webpack.config
If someone knows how to solve this problem, or where to look for the root of evil, please help.
Problem solved! It turned out that in my webpack.config in the image processor, I did not add webp support. And when I added it on the fly, the already assembled project did not take this moment into account. As a result, after restarting the build with the npm run dev command, the updated webpack config file started working as it should! Thank you all for your attention to the issue and the desire to help figure it out! enter image description here

Package error IOS_13 on Windows platform only

I just updated the project to 5.0 from 5.0EA. While in editor everything runs fine but I tried to package it for some testing, and I’m getting the following error, even tho in Project Settings I only have checked Windows as platform. I wasn’t getting this error before, is there something I’m missing?
LogClass: Warning: In asset ‘None’, there is an enum property of type ‘EIOSVersion’ with an invalid value of ‘IOS_13’
LogObj: Error: LoadConfig (/Script/IOSRuntimeSettings.Default__IOSRuntimeSettings): import failed for MinimumiOSVersion in: IOS_13
I uninstalled UE5 and then removed all of it's files from AppData, reinstalled it and the problem is gone. I don't know why it was trying to use IOS too even tho it wasn't checked but at least that was the solution for me. Just uninstalling are reinstalling wasn't enough.

Exception: Error with message "Class yii\codeception\TestCase not found"

So I am just getting started with Codeception (I know, I am late to the game) and Yii2. There is a error I am running into that I don't seem to get fixed.
Problem
When I run 'codecept run', I get the error 'Error with message "Class yii\codeception\TestCase not found". Which is strange to me, because when I look for TestCases, I can find multiple TestCases! F.e. in the folders "backend", "console", ..
Information
Codeception has been installed Globally
The CodeCeption version I am using is the version 4.1.12
When I run any command, the console is giving me the message, "Redirecting to Composer-installed version in vendor/codeception".
What am I doing wrong?
If you guys need any information, hit me up!
Thanks!
Why do you use yii\codeception\TestCase class in your tests?
Have you found it in old tutorial?
yii\codeception\TestCase class was provided by yiisoft/yii2-codeception package which was abandoned back in 2016.
Use Cest format as documented in https://codeception.com/docs/02-GettingStarted#Writing-a-Sample-Test

how to resolve ResolveLibraryProjectImports" task failed unexpectedly Exception

ResolveLibraryProjectImports" task failed unexpectedly
System.IO.FileNotFoundException Could not load assembly
I have tried to resolve it like clean bin, obj rebuild again said in the previous results of this issue but it doesn't work for me. Does anyone have a solution for this issue, please help me.
Note: I am having an error in Mono.Android in the References of portable code is this the problem and how to resolve this also?
This is the error I get:
Error The "ResolveLibraryProjectImports" task failed unexpectedly. System.IO.FileNotFoundException: Could not load assembly 'SampleProject, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'SampleProject.dll'
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(String fullName)
at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Extract(DirectoryAssemblyResolver res, ICollection1 jars, ICollection1 resolvedResourceDirectories, ICollection1 resolvedAssetDirectories, ICollection1 resolvedEnvironments)
at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() SampleProject.Android Build
=> delete all from C:\Users\username\AppData\Local\Xamarin
=> delete .vs folder
=> restart visual studio in run as admin(if not).
=> clean and rebuild.
Mono.Android is purely a native Android dll for Xamarin.Android
using this in your portable project will throw an error (Of Course.)
This might be the issue if the error still persists after removing the dll then I would suggest you remove the bin obj folders and clean build and in case it still persists you should upload the output window for the debug build as well as error list explanation for this particular error.

Telescope Error when I run "meteor add my-custom-package" command

I get this error below when I run "meteor add my-custom-package" command, and I am not sure what the problem is.
=> Errors while parsing arguments:
While adding package my-custom-package:
error: no such package
I experienced the same problem while trying to create a private package. I was following guides online and creating all the file manually, a better way is running:
meteor create --package example
and then adding the package will work:
meteor add example