Comments (6)
Yes indeed, bash commands do not work in Windows environment (even if you try GitBash, there is no luck), it is a common problem. I finally managed to resolve this by using cross-env. I have installed the module and then I have modified the package.json like this:
"dev": "node node_modules/cross-env/src/bin/cross-env.js NODE_ENV=development webpack --mode=development --config ./client/config/webpack.dev.config.js --watch",
It is not the most 'beautiful' or 'optimized' way, but it works.
from mern-boilerplate.
@manavpandya I am also facing similar issue. Were u able to resolve it?
from mern-boilerplate.
I have not been able to replicate this issue. Could you give me some information on your environment so I can fix it? My instinct is it has something to do with bash. My guess is you are using a non-unix system like windows. You likely need to use a linux bash shell to run the application.
from mern-boilerplate.
same issue
from mern-boilerplate.
I've added OS requirements. Haven't been able to replicate this issue on my environment so I'm pretty sure thats the issue. If this is still a problem, I'll come back to this.
from mern-boilerplate.
You can resolve this issue for windows by updating the scripts in your package.json with windows compatible scripts instead of the bash scripts.
from mern-boilerplate.
Related Issues (10)
- Same UserId Cookie For Every User HOT 2
- still using react 17 HOT 2
- Server Side Rendering - Google Can't Crawl HOT 2
- useKeypress != useKeyPress HOT 1
- Need to incorporate shortid for users HOT 1
- How are you shipping the server to build folder ? HOT 1
- Dependency issue - nom install HOT 1
- UnhandledPromiseRejection Error on Saving file HOT 5
- Dependency conflict: mongoose HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mern-boilerplate.