Comments (4)
@vinyll. You're right, I just fixed the issue: now if you run cms-json without --schema / --data parameters, the program will run with a pair of default sample files (<install_dir>/cms-json/default/schema.json and <install_dir>/cms-json/default/data.json).
Thanks for the report
from cms-json.
My guess would be the node version.
This project was updated a year ago, it may be abandoned and node has evolved.
Try a node version that was stable in mid 2017
from cms-json.
@ziyafenn @vinyll sorry for the late answer. Do you have a more detailed stack?
I tried to run cms-json and I got an error saying 'express' was missing. I just published a new version that fixes this issue. I'm with node 10.12.0 and npm 6.4.1, and everything seems to work fine on my side. Please let me know if you get a chance to try it again.
from cms-json.
Running v10.5.0
now works fine with me.
However I had to run the following prior to run the server:
mkdir default
touch index.html default/{data.json,schema.json}
from cms-json.
Related Issues (18)
- in Page item: 'Search enabled' keeps resetting to unchecked after pressing save
- Creating different pages with components HOT 1
- Reuse types across nodes
- Define a field as a complex object
- Support polymorphism in arrays and maps HOT 1
- Playground link expired HOT 1
- Looks promising, but a few questions HOT 1
- Populating an array into data.json from user input HOT 1
- Allow item ordering through drag an drop HOT 1
- Export data button HOT 1
- Number type doesn't appear/function
- Cannot add a top level node HOT 7
- Access of data via API
- Deep linking does not persist on reload
- Save action is broken HOT 1
- Better handling of blank state
- Merge 'Add node' buttons
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 cms-json.