All Questions
930
questions
0
votes
1
answer
618
views
Webpack command in node brings /config/webpack/development.js not found
I have written my webpack.config file but when i run webpack from terminal i get back an error saying:
ERROR: Webpack config
/home/likono/learn/yak-yik/config/webpack/development.js not found,
...
0
votes
1
answer
1k
views
Cant use css modules in React with Bootstrap4
I want to use React CSS modules with Bootstrap.
First, I created a project with the create-react-app command. Then, I installed Bootstrap 4 with NPM and included it in my app.js like:
import '...
0
votes
2
answers
238
views
Can't get rid of Uncaught Error: _registerComponent(...): Target container is not a DOM element
This is not a new issue, have been reported by other users too, the problem is I have tried many solutions but I am not able to get rid of this error, and strangely it doesn't cause any problem in ...
0
votes
1
answer
536
views
rails web pack react - sprocket couldn't find file react-server
I am trying to install react through webpack using rails 4.2.7
I followed this one https://github.com/rails/webpacker and stuck with the error
Sprockets::FileNotFound at /
couldn't find file 'react-...
0
votes
1
answer
3k
views
Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin,
ERROR in ./client/styles/main.scss
Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-...
0
votes
2
answers
488
views
How to use the proposed ECMAscript class syntax with React and Webpack?
I am trying to learn the proposed class syntax for ecmascript and using it with React, i have successfully rendered components with es6 using babel with webpack. Now i want to use instance properties ...
-1
votes
1
answer
638
views
Html Doesnt read my js functions
Im using react to create a slideshow, the problem is that my html doesnt find the function to change the slide.
It goes like this:
<!DOCTYPE html>
<html>
<body>
<header Access-...
-1
votes
2
answers
376
views
very poor performance react js [closed]
I have a web application on a Reactjs, and it has very low performance even with production build
What will help me raise my perfomance? and what could I have done so that performance was so low?
-1
votes
1
answer
1k
views
Module build failed (from ./node_modules/babel-loader/lib/index.js):
I am trying to create a build file for my React application using the webpack command, but I am encountering a module error. The traceback for this error is provided below. I am using the simple-...
-1
votes
1
answer
281
views
Upgrading from Babel 5.8.35 to 6.0.0 will not compile app.js with a SyntaxError and unexpected token
I am in the process of upgrading all my ReactJS components with webpack.
In the process I have not been able to upgrade from babel 5 to 6. When I do so I get the following stack trace within my app....
-1
votes
1
answer
331
views
React-share. Throws error TypeError: Super expression must either be null or a function, not undefined when trying to use it in require
I am new in ReactJs and trying to learn it. I installed a package of react-share. Since i am trying to edit someone else's code i am not able to import the package due to webpack I believe. Every time ...
-1
votes
1
answer
3k
views
Require path for src image as variable
I'm working on a react project created with the create-react-app.
I've got an array of data objects. One of the properties in the object is an image path. If I put the path directly in the src tag ...
-1
votes
2
answers
3k
views
Why does isomorphic-style-loader throw a TypeError: Cannot read property 'apply' of undefined when being used in unison with CSS-Modules
I'm currently trying to render the application on the server, which works for the HTML and JS, but found that my styles (.less | .scss) would not load. I did some research and figured, not sure, that ...
-2
votes
1
answer
4k
views
Error in installing firebase through npm while working in react project
> npm install firebase
added 13 packages, changed 1 package, and audited 2276 packages in 7s
148 packages are looking for funding
run `npm fund` for details
70 vulnerabilities (24 ...
-3
votes
2
answers
4k
views
I need run create-react-app with file index.php instead of index.html because I have logic php that I will send to Javascript
Execute npm run eject and rename index.php to index.html, but it does not work. I need to include a class inside index.php to use a function that converts data encrypt to send toward React.