Open eugenehiggins opened 4 years ago
The instructions on training.plone.org works for Angular 4. To install plone/restapi-angular on Angular 8, you cannot use the NPM package. You have to install missdev:
npm install -g mrs-developer
Then create a mrs.developer.json file containing:
{
"angular-traversal": {
"path": "/projects/traversal/src/lib",
"url": "git@github.com:guillotinaweb/angular-traversal.git",
"https": "https://github.com/guillotinaweb/angular-traversal.git",
"branch": "master"
},
"plone.restapi-angular": {
"package": "@plone/restapi-angular",
"path": "/projects/plone-restapi-angular/src/lib",
"url": "git@github.com:plone/plone.restapi-angular.git",
"https": "https://github.com/plone/plone.restapi-angular.git",
"branch": "master"
}
}
then run:
missdev
It will checkout the master branch of plone/restapi-angular in your src/develop folder, and you should be good.
Note: we will update the plone/restapi-angular npm package soon I hope
Sorry, I created another issue while logged in as the wrong account. I realized I would not be receiving email notifications, and wasn't sure who would be receiving them, so I closed that and opened another. Apologies.
Following the instructions at https://training.plone.org/5/angular/using.html I cannot run the example app. The angular app does compile but displays an error in the browser console:
My
package.json