contentacms / contenta_ionic Goto Github PK
View Code? Open in Web Editor NEWAn example Ionic Framework demo using Contenta CMS as a backend.
License: GNU General Public License v2.0
An example Ionic Framework demo using Contenta CMS as a backend.
License: GNU General Public License v2.0
I just installed new local Contenta install and this repo and run both. Got error when loading the app.
Checking the network tab I found out that apparently image.field_image
is not correct.
in home.ts I saw the comment
// @todo Remove image.field_image when JSON API bug is fixed.
and removed image.field_image
from the line below so that it now is:
include: 'image,category,tags,image.imageFile'
The error went away, but now there is no images.
looking at the home.html image URL should come from {{ recipe.image.imageFile.url }}
but no url field is returned, in my recent Contenta install.
How to fix this? Not familiar with Drupal as a api backend yet, even if Drupal is quite familiar.
Hi.
I followed the instructions to install contenta_ionic and I got an error trying to install ionic in step 4:
npm ERR! Linux 4.4.0-83-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "ionic@latest"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! path /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /opt/drupal/contenta_ionic/npm-debug.log
The error could be fixed using
sudo npm install -g ionic@latest
I suggest update README.md.
I don't know if I can ask this using something like a pull request, so I opened this issue.
After that, it installed perfectly... And it is beautiful!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.