aimananees
(Aiman Abdullah Anees)
December 17, 2016, 8:43pm
1
Hi!
I am interested in the Javascript Plone Client and would like to work on it. I am familiar with Angular2 and working on the Plone Client would help me to contribute to Plone.
I have cloned the plone_client repository: "https://github.com/plone/plone_client " and have some errors when "npm start" is typed.Can someone help me get started?
1 Like
tkimnguyen
(T. Kim Nguyen)
December 17, 2016, 9:29pm
2
@aimananees it's great that you're interested in this!
It's important to give as much detail as possible when you run into a problem. http://docs.plone.org/askforhelp.html
e.g., the version of Plone, your buildout.cfg, the exact command you typed, what was the full error message.
aimananees
(Aiman Abdullah Anees)
December 18, 2016, 8:27am
3
When I type "npm install" for installing this plone project, npm install fails with unmet dependencies:
"npm WARN webpack-dev-server@2.1.0-beta.12 requires a peer of webpack@^2.1.0-beta.26 but none was installed."
The following output is produced"
├─┬ @angular /platform-server@2.0.0
│ └── parse5@1.3.2
├─┬ preboot@2.1.2
│ └─┬ typings@0.8.1
│ ├── minimist@1.2.0
│ ├─┬ typings-core@0.3.1
│ │ ├─┬ popsicle@5.0.1
│ │ │ └─┬ form-data@0.2.0
│ │ │ ├── async@0.9.2
│ │ │ ├─┬ combined-stream@0.0.7
│ │ │ │ └── delayed-stream@0.0.5
│ │ │ └─┬ mime-types@2.0.14
│ │ │ └── mime-db@1.12.0
│ │ ├── popsicle-proxy-agent@1.0.0
│ │ ├── popsicle-retry@2.0.0
│ │ ├── popsicle-status@1.0.2
│ │ ├── throat@2.0.2
│ │ └── typescript@1.8.10
│ └── wordwrap@1.0.0
└── UNMET PEER DEPENDENCY webpack@2.1.0-beta.22
gforcada
(gforcada)
December 18, 2016, 9:09am
4
webpack has made quite some releases, so you might try a newer version of it, for that see the latest releases of webpack: https://github.com/webpack/webpack/releases
And update it here:
"source-map-loader": "^0.1.5",
"style-loader": "^0.13.1",
"ts-helpers": "1.1.1",
"ts-node": "^0.7.3",
"tslint": "^3.15.1",
"tslint-loader": "^2.1.3",
"typedoc": "^0.3.12",
"typescript": "2.0.2",
"typings": "~1.0.3",
"url-loader": "^0.5.7",
"webpack": "2.1.0-beta.22",
"webpack-dev-server": "^2.1.0-beta.4",
"webpack-md5-hash": "^0.0.5",
"webpack-merge": "^0.14.1",
"zone.js": "^0.6.25"
}
}
I hope this helps!
aimananees
(Aiman Abdullah Anees)
December 18, 2016, 10:11am
5
I have updated it. But still I get same warning:
"npm WARN webpack-dev-server@2.1.0-beta.12 requires a peer of webpack@^2.1.0-beta.26 but none was installed."
aimananees
(Aiman Abdullah Anees)
December 18, 2016, 6:02pm
6
1 Like
tisto
(Tisto)
December 23, 2016, 1:41pm
7
Hi @aimananees ,
as a sidenote, we also started with an Angular 2 tutorial for the REST API:
This will be never as sophisticated as the plone_client, but it might be easier to get started with it. We are still looking for people that give it a try and that might be willing to write tutorials for other people.
1 Like
aimananees
(Aiman Abdullah Anees)
December 23, 2016, 7:35pm
8
Hi @tisto ,
Thanks for letting me know