GithubHelp home page GithubHelp logo

contentacms / contenta_ionic Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 5.0 3.5 MB

An example Ionic Framework demo using Contenta CMS as a backend.

License: GNU General Public License v2.0

TypeScript 35.40% HTML 35.51% CSS 24.08% JavaScript 5.01%

contenta_ionic's People

Contributors

e0ipso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

contenta_ionic's Issues

image.field_image is not needed anymore - and no images

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.

"npm install -g ionic@latest" required sudo

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.