Comments (1)
Sorry people. This was happening because I was using vagrant and trying to load the project into the synced folder. The problem here is that locking isn't supported when syncing files in this way and so npm install fails (and will fail) in weird places.
To get around this, for anyone else who runs into the same issue and wants both synced files and locally installed node modules, you should create a node modules folder outside of the synced folder and link to it. Something like:
$ mkdir ~/node_modules/
$ cd ~/your_new_app/
$ ln -s ~/node_modules/
from mern-cli.
Related Issues (20)
- error starting project HOT 1
- How to generate new Modules? HOT 1
- Still active? HOT 3
- Creating a new project UNMET PEER DEPENDENCY HOT 1
- Babel-plugin-webpack incorrect peer dependency with webpack > 3.0.0 HOT 1
- How to create a new route?
- React 16.0 HOT 2
- TypeError: cannot read properrty 'map' of undefined HOT 1
- Update Generators on Readme
- running merng produces an error HOT 4
- Can't install mern-cli using sudo
- How to access and display static images from the MERN app HOT 1
- npm install -g mern cli -> can't install HOT 3
- Add provision to create new components
- Add code-splitting feature as required HOT 2
- Warn users for firing commands that doesn't exist
- ProjectName should not include special characters
- Running mern init produces a lot of deprecation warnings
- Can not start the app on linux
- [Migration] The whole Code Base on Typescript HOT 2
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-cli.