When a Node.js module import causes the Module … has no default exportorInternal server error: [vite] The requested module ‘…’ does not provide an export named ‘default’ error message, change the import statement, update the function name, and enclose the function name with curly braces: This table contains the old and new function names Old …
Author Archives: Laszlo Pinter
Error: Dev server origin not set
We can set up a new Remix web application based on the Getting Started guide at Remix Quick Start We will encounter a few surprises during the setup: We need to allow legacy dependencies during the command:npm i -D @remix-run/dev vite –legacy-peer-deps When we try to run the application, we get the error message: Error: …
sh: remix: command not found
When I tried to refresh Node.js packages, I have received the following error message: sh: remix: command not found The steps described at ERESOLVE could not resolve While resolving: remix-utils@8.1.0 cleared the cache and reinstalled all package versions to satisfy the package dependency requirements.
ETIMEDOUT: connection timed out, read [plugin browser-route-module]
When NPM, the Node Package Manager finds dependency version conflicts, we can help it to solve those by executing the steps described at ERESOLVE could not resolve While resolving: remix-utils@8.1.0 After the package reinstallation, when I tried to run my application, I have received the error message: ETIMEDOUT: connection timed out, read [plugin browser-route-module] I …
Continue reading “ETIMEDOUT: connection timed out, read [plugin browser-route-module]”
ERESOLVE could not resolve While resolving: remix-utils@8.1.0
NPM, the Node Package Manager for Node.js applications and web sites, always tries to find the latest versions of all packages your application can use. If some packages require different versions of the same dependency, an error is displayed, for example: ERESOLVE could not resolve While resolving: remix-utils@8.1.0 To resolve the conflict we will try …
Continue reading “ERESOLVE could not resolve While resolving: remix-utils@8.1.0”
Using the Visual Studio Code Debug Console
When we activate the Debug feature of Visual Studio Code, the Terminal displays the console output. To find the correct location of data among the objects and variables, we can use the Debug Console. Start the application in debug mode Explore the object and variable values in the Debug Console
TypeError: (0 , _styledEngine.internal_processStyles) is not a function
Node.js packages are constantly updated, and the developers usually test those against the latest versions of other packages. When our application uses older packages, a single package update can cause errors and the application will stop with an error, like TypeError: (0 , _styledEngine.internal_processStyles) is not a function Usually a global update of all Node.js …
Continue reading “TypeError: (0 , _styledEngine.internal_processStyles) is not a function”
Electric Car Owner’s Thoughts
Electric cars are awesome. We still have an older gasoline car for road trips, the EV is for a long daily commute to save money on gasoline, and maintenance. To protect the environment, we have selected 100% renewable energy source at our local electric company, and the plan which is available for EV owners (and …
How to downgrade Steam Games
Steam keeps all versions of all games in an online storage location. You can get any version of your games using the Steam Console. The entire process is explained by Jason Currie at How to downgrade Steam Games.
The Apply button is disabled in CKAN
If you use CKAN, the Comprehensive Kerbal Archive Network to manage your Kerbal Space Program 2 (KSP2) mods, you may select the new version of a mod,but the Apply button stays disabled. This happens, when the “max game version” of the mod is lower, than the version of the installed game. As the development of …