-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having issues regarding running application on local machine #31
Comments
Strange. I don't see any errors. I've changed the line to
The app is just a client. It won't work without the server: https://github.com/tinode/chat |
Actually, you can check that right now in the webpack.config.js file, |
I compile it multiple times every day. I see no issues. I use exactly the same code you have on github. |
I don't know why it showed this on my local PC: |
No errors here:
I'm using webpack 4.29.3 vs 4.23.1 in your case. Maybe that the reason. |
Hi @or-else , While working on #30 , I was facing many problems when I cloned the app and ran the app. I found out that
@babel/core
and@babel.preset-env
modules are outdated and need to be updated for development purpose. Also, one more thing I want to discuss is in the webpack.config.js that test key has value which does not allow npm to transpile .js files (like index.js) which causes errors while running npm scripts (I rannpm run build:dev
and got error:You may need an appropriate loader to handle this file type
.In the present webpack config file, we have:rules: [ { test: /src\/.*\.jsx?$/, loaders: [ 'babel-loader', ], exclude: /node_modules/, }, ],
I changed test key value to
/\.(js|jsx)$/
and it worked. However, I am not able to run the application on my local machine and for that I installedwebpack-dev-server
in my devDependency but when I wanted to Sign In, it showed Error: 503.I know I am quite disturbing 😅 , but if possible, kindly help me figuring this out
The text was updated successfully, but these errors were encountered: