Comments (3)
i think this is because the line:
"main": "./lib/server/index.js",
which used to be in the package.json on 0.17.4
no longer exists on 1.0
versions.
which was pointing to the main script, but the 1.0
versions seem to only support the CLI variant.
and thus since this package has become no longer usable like that.
npm install --save-dev [email protected]
should be the fix for now,
while asking the maintainers what their plans are surrounding support for running this as express middleware.
from json-server.
from json-server.
Same issue as above +1
from json-server.
Related Issues (20)
- SyntaxError: Unexpected token '||=' HOT 1
- Please, bring back the `--delay` option HOT 2
- CORS Issue (Access-Control-Allow-Headers)
- _sort=id&_order=desc do not work (--version 1.0.0-beta.0) HOT 1
- paginate should return empty data when there have a bigger `_page`, but return last page data now
- `_like` doesn't work anymore? HOT 2
- _dependent value error
- Licensing HOT 1
- Compressed Uploads
- Getting nested resources doesn't work HOT 1
- delay [ms] is not working for me...... HOT 2
- I can not not increased by 1 for id HOT 1
- Newly added data is not recognized when trying to update it seconds later HOT 2
- multiple files with beta 1.0.0v1 HOT 1
- How to access multiple layers, for example /system/user system/menu HOT 3
- Pagination fetches all Objects instead of just one page HOT 3
- Implicit foreign key mapping not working
- Logs not logging in terminal HOT 3
- File not found HOT 1
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 json-server.