When you import a Phaser 3 module and run the Node.js web application the following error is displayed Uncaught TypeError: _helpers_formUtil__WEBPACK_IMPORTED_MODULE_6___default.a is not a constructor Make sure the imported module and all dependent modules imported by that module has the following class definition format
Author Archives: Laszlo Pinter
Node.js
Creating a multiplayer online card game with Node.js
Creating a multiplayer online card game with Node.js and Phaser 3
As the world is locked down due to the COVID-19 Corona Virus, we are quarantined at home. We miss the company of our families and friends, so online games are the only option to play together. We are going to create an online multiplayer game that can be used for any tabletop gameplay. The frontend …
Continue reading “Creating a multiplayer online card game with Node.js and Phaser 3”
Get the public IP address from the command line
To get the public IP address of the server from the command line, execute
Migrating from Chef Client version 13 to 15
Syntax changes There are breaking changes between Chef Client version 13 and the newer versions, make sure you update your Chef cookbooks to make them work with the new version of the Chef Client. Resource Since version Old syntax New syntax Notes logger Client 14.0 keyword, cannot use it as a variable or parameter name …
Continue reading “Migrating from Chef Client version 13 to 15”
Debugging Go programs in Visual Studio Code
Install Visual Studio Code Install Delve For up-to date info visit https://github.com/derekparker/delve/tree/master/Documentation/installation
Computer failed to join domain from its current workgroup ‘WORKGROUP’ with following error message: The system cannot open the device or file specified.
When you use PowerShell to join a Windows server to the domain make sure the -OUPath is correct. Computer failed to join domain from its current workgroup ‘WORKGROUP’ with following error message: The system cannot open the device or file specified. In this case we wanted to place the joined computers in the Computers folder, …
Computer ‘…’ failed to join domain. The value provided as the current password is incorrect.
Computer ‘…’ failed to join domain ‘…’ from its current workgroup ‘WORKGROUP’ with following error message: Unable to update the password. The value provided as the current password is incorrect. If you can join the computer to a domain using the UI, but the PowerShell script fails with the error message above, make sure you …
Form value count limit 1024 exceeded
By default dotnet core limits the form element count to 1024. To submit forms with more elements, increase the limit in the ConfigureServices() method of the Startup.cs file:
Set the environment name in Chef Test Kitchen
To specify the environment name in the .kitchen.yml file Create a JSON environment file. Chef Zero used by Test Kitchen does not understand YAML or Ruby, we need to use JSON. In your cookbook’s root directory create a directory for environment files Create the myenv.json environment file in the environments directory. Specify the environment name …
Continue reading “Set the environment name in Chef Test Kitchen”