Category : javascript

I run my app in development mode (yarn run dev:server) and this error is shown immediately. I don’t know why or how to solve it. I’m beginner and started on this project recently. Someone can help me? The application is running on Docker with redis and peerjs. The error: Error: Cannot inject the dependency at ..

Read more

So I’m developing a web app using NestJS as its backend. Also I’m using docker to build all my backend. I’m having a problem that some installed packages logs as "undefined" and some other works properly. For example in my CreateUser class I have import bcrypt from ‘bcrypt’; @Injectable() export class CreateUser { constructor( @InjectRepository(User) ..

Read more

This is very bizarre as I have a mismatch in behaviour of highlight.js. This is how I install it: npm install highlight.js This is how I initialize it: import hljs from ‘highlight.js/lib/core’; // Particular languages import bash from ‘highlight.js/lib/languages/bash’; import css from ‘highlight.js/lib/languages/css’; import javascript from ‘highlight.js/lib/languages/javascript’; import php from ‘highlight.js/lib/languages/php’; import phpTemplate from ‘highlight.js/lib/languages/php-template’; ..

Read more

I created a Reactjs application with Docker setup. I am using Windows 10. After building, the container just keeps restarting producing errors on logs: Docker Image Logs Image Browser Image yarn run v1.22.5 error Command "installr" not found. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. : not foundotup.sh: line 3: /var/www/bootup.sh: line 11: syntax ..

Read more