SvelteKit exposes $lib to eliminate the need of using '../../' while importing components into the routes. $lib is by default pointing to: src/lib As per Svelte default boilerplate, it places the components under this location. If you would like t...
If you are new to Svelte, its very likely that you might run into the following error: Error: failed to load module for ssr: /src/lib/song/SongMeta at instantiateModule (/home/jsbisht/workspace/github/jsbisht/rhythm-guitar-svelte/node_modules/vit...
This blog article assumes the following directory structure: - client\ - server\ - src - index.js - package.json - .git\ - README.md You can follow this documentation to deploy nodejs application on heroku cloud. Prerequisites package.j...
As a prerequisite to this we need to setup our database in MongoDB SaaS from https://account.mongodb.com/account/login. We need to have a Mongo DB server URL which we can build as MONGO_DB_URL here const MONGO_DATABASE_USER = 'common' const MONGO_DAT...
If you have recently started using the useNavigate hook from react-router v6, you might run into the following scenario. Say write the code as follows: import { createContext, useContext } from 'react' import { useNavigate } from 'react-router-dom' ...
If you start seeing the following error while using MongoDB using the connection URI (Database as-a service). MongoServerSelectionError: connection <monitor> to 15.xxx.xxx.xxx:27017 closed at Timeout._onTimeout (/home/jsbisht/workspace/bubbles-in...