When I create a new vue application, and I run the server I get an error, after the compilation failed. Does anyone have where the problem comes from? Here is
I have a project with the following structure ./ ├── README.md ├── babel.config.js ├── package.json ├
I type: npm test and I get: It's interesting to note that the import statement works inside the BootScene.test.js file but it doesn't work in the imported fil
The title pretty much explains what I'm facing. I'm trying to test a React component that has some state, and I attempt to provide my store to the component in
I am wrecking my head trying to deploy the app to Heroku. The problem is that I am using ES6 with Babel. I've found many articles about that but none of them
I m getting the error " Cannot find module '@babel/plugin-transform-runtime' from ...". I have tried every solution on the internet but nothing really works. Ho
I am new to webpack and I got the babel loader and css loader to work and project compiles successfully but when I try to access via browser I get the below err
I'm writing my first JavaScript library and I'm testing it locally with a React project. I'm not seeing any Typescript errors when I'm writing my code but when
When navigating to certain screens on my React Native app (using expo), I am getting the following error: TypeError: undefined is not an object (evaluating 'pro
I got "Class private methods are not enabled." error when running npm start on a project using leading # to indicate private methods. I followed this answer: ht
I'm using browserify with babelify to transpile a JS file. The JS file require()s a component in node_modules, which I also want transpiled. As per the FAQ on
I have been encountering this error on every single new Next.js project that I create. The page can be compiled without any problem, it just keeps on showing as
I have used <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> </head> <body> <button type="button" id="button"&
I have kind of a weird problem with babel. When I use a simple generator function in one of my classes, babel creates a function out of it containing a call to
I started newly writing unit test cases using Jest and Enzyme for the react application and when try to run test cases using jest like "test": "jest --watch" ra
I'm using Babel and Webpack to generate ES5 code from ES6. There are some validations that is used to reduce the mistakes i do while coding. class Logger {
When I try to run a JS file by babel command it is showing: "babel-node is not recognized as an internal or external command, operable program or batch file
I am using NightWatch for my e2e testing and want to move towards ES6 way of writing tests. I was able to do it with Babel and it worked fine but I want to use
In ES6, is it possible to shorten the following code. I have an App.js file and an index.js. index.js import App from './App'; export default App; Somethin
I get this error when I start my react project with npm start. Doesnt let me move forward at all. ERROR in ./node_modules/react-csv/src/components/Download.js