Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: React NPM Porlet deployed but it is not available in applications panel
Hello all,
I'm new to LifeRay development still learning the ropes so please bear with me.
I created only the shell of an npm react portlet using the blade cli template, I'm using LifeRay CE 7.0.4 GA5 with mySql database.
After doing a few tries getting the right dependencies i was able to deploy it. And i get this message back from the console:
04:20:26,149 INFO
[com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:252]
Processing com.st.npm.react-1.0.0.jar
04:20:33,151 INFO
[fileinstall-C:/liferay-ce-portal-7.0-ga5/osgi/modules][BundleStartStopLogger:38]
STOPPED com.st.npm.react_1.0.0 [520]
04:20:33,858 INFO [Refresh
Thread: Equinox Container:
706ebb15-e5df-0018-1059-8ffb03af5e89][BundleStartStopLogger:35]
STARTED com.st.npm.react_1.0.0 [520]
And just to be safe i ran diag on the new bundle deployed in gogo shell and looks good, no errors showing up.
My problem is that i don't see it displayed under applications > sample category to add it to a page. Is there anything I'm missing here?
Here is my project:
https://github.com/JAlonsoHdz/NPM_React.git
Hi Alonso:
Please consider using the new yeoman generator instead of blade as it leverages bundler 2.x which is better suited to Angular than bundler 1.x
See the docs here -> https://github.com/liferay/liferay-npm-build-tools/wiki/How-to-use-generator-liferay-bundle
Cheers,
Ivan
Thanks for the reply Ivan. I'm working on LifeRay 7.0 GA 5, is Yeoman available for that version?
The documentation says it only works for 7.1+.
Powered by Liferay™