React-Bootstrap with Webpack not working from react-starter-kit

Please I need some help as I'm having a hard time trying to use bootstrap and react-bootstrap in my new project created from a react-starter-kit template...

Docker build image - glob error { Error: EPERM: operation not permitted, scandir

I'm attempting to build a Docker image of a React+TypeScript+NodeJS application built with Webpack 2.0, but I get the following error > [email protected] build / > webpack -p --config...

Could not find module "@angular-devkit/build-angular"

After updating to Angular 6.0.1, I get the following error on ng serve: Could not find module "@angular-devkit/build-angular" from "/home/Projects/myProjectName". Error: Could not find module...

config stylelint file in Nuxt js project

I'm new using Nuxt js therefore same with nuxt.config.js file . I'm trying to get how can I set stylelint file on my Nuxt js project and run it everytime I press save, so the stylelint rules will...

How to fix webpacker webpack-dev-server not recompiling on scss changes

I am using webpacker for managing javascript, scss and assets in my rails project. I have used following command to run webpack-dev-server. bin/webpack-dev-server when ever I am changing...

Yarn - Node Sass does not yet support my current environment

I'm using Sage WordPress starter theme - https://github.com/roots/sage. From today when I run yarn build (webpack --progress --config /webpack.config.js) appears this error: Module build failed:...

Babel-Loader Error Plugin/Preset files are not allowed to export objects, only functions

After updating all my outdated npm packages to @latest, my electron app fails to start, giving the error ERROR in ./src/index.js [0] Module build failed (from...

no-descending-specificity error reported on two different classes

I'm using stylelint with the standard format stylelint-config-standard and I'm encountering this error a lot with my stylesheets: no-descending-specificity An example of where it's happening is...

Coverage Reports with Instanbul JS, Vue JS, Vue CLI, Cypress e2e tests, and Typescript only showing a few files

I'm running a VueJS app written in Typescript and am testing it with Cypress e2e tests. I'd like to get coverage reports setup to see how much of my code I've covered with the tests so I attempted...

Webpack intermittent react Jenkins build with javascript errors

My project environment is , React with redux and redux-saga , webpack Jenkins is used for CI/CD since a month , we are getting a strange issue, the Jenkins (webpack) build & deployment is...

React Development and Build version not working in IE 11 and Edge - Webpack/Babel

Development and build version not working in IE 11 and Edge. Here are my webpack config and package json file. I have used below repo. https://github.com/kriasoft/react-starter-kit I have been...

How do I change the entry point in a package.json?

everyone. I'm new to node.js and front development and I'm working with this template: https://github.com/coreui/coreui-free-bootstrap-admin-template and I have a silly question that no one seems...

Exclude imported vendor files from linting with stylelint

I want to properly exclude imported vendor files from linting with stylelint. I have this app.scss: @import '~bootstrap'; @import '~bootstrap-vue'; body { background: gray; } and this...

Monaco Editor: Cannot find module 'monaco-editor' but it's installed

I'm making a desktop application using electron and I decided to use Monaco Editor and install it using npm install monaco-editor but when I run the application it says Cannot find module...

Stylelint output does not show the name of the file where warnings occur

When running stylelint the output of warnings does not show the name of the file where the error occurs (with errors it does work fine). My files look like this: app.scss @import...

Switching to babel 7 causes jest to show 'unexpected token'

I am struggling with this jest error and have no idea how to fix it. Basically I ran the following commands to switch to new babel 7: npx babel-upgrade --write --install npm install --save-dev...

Stylelint rule to value-keyword-case to ignore camelCase variables

I am using stylelint and I have a custom color variables used in several properties such as border, background, color. Example: border: 1px solid t(lightGray); background-color:...

How to resolve jest error when attempting to run test suite?

I am receiving the following error when attempting to run a test suite using jest: ● Test suite failed to run TypeError: Cannot read property '1' of undefined at...

Corrupted Javascript bundle in Production but running fine in Development mode

I've a React app with node server and I had perfectly fine production bundle a few days ago but recently my production bundle is corrupted. However my dev bundle is working perfectly fine. Can...

Failing npm update and npm install

I feel like I've tried just about everything to get sass up and running with projects using npm but have had no luck. When running both npm install and npm update I get the following error. >...

Webpack Error in terminal when starting Reactjs App

I am getting following errors in node terminal when I try to start my react-app [at-loader] ./node_modules/@types/webpack/index.d.ts:23:16 TS2665: Invalid module name in augmentation. Module...

How to configure the stylelint extension in vscode?

I created a project using the create-react-app --template typescript. Now I wanted to try out the css linter stylelint. And, so I have installed the npm packages stylelint and ...

Error: Cannot find module 'stylelint' - Angular Project

I'm trying to run this command to validate all the .scss (and even the .css files I tried too) and now it's presenting me with this error. $ stylelint "apps/**/*.scss" 1 time it worked and no...

How to lint ".sass" (tab style) with stylelint?

I use recommend stylelint setting: // .stylelint.config.js (I use Nuxt.js to build project) module.exports = { extends: [ 'stylelint-config-standard' ], rules: {} } And I write simple SASS...

stylelint-scss - Is there a way to disable double-slash-comments?

Im using style-lint for linting Scss files and styled-components (by using different styleint.config files). Stylint seems to have an open issue when valid css is commentted out...

Jest encountered an unexpected token for NUXT typescript

have been searching for two days, tried many answers, but couldn't find a solution. any clue? below are my config files. please any help? jest.config.js module.exports = { moduleNameMapper: { ...

stylelint giving error on iOs - Error: Could not find "stylelint-config-standard". Do you need a `configBasedir`?

It works ok on ubuntu I installed stylelint on iOS but when I run it I get Error: Could not find "stylelint-config-standard". Do you need a configBasedir? My config file is: $ cat...

Vue 3 - Vite app missing some CSS rules after build

So, I've been struggling really hard on this, been working for a long time on a big update for my app, everything runs smooth and great on development, but once I build for production some of the...

Lot of errors after upgrading stylelint to 14.0.0

I was upgrading stylelint to V14 according to this this migration guide.So I ran stylelint-config-standard-scss and have also added to stylelint config file. Since we are also using...

How config Stylelint in vue3 app(vscode) to lint on save

I want to lint my scss files and scss scope in .vue components. my config in stylelint.config: module.exports = { extends: [ 'stylelint-config-standard', ...