RE: React NPM Porlet deployed but it is not available in applications panel

Alonso Hernandez, modified 6 Years ago. New Member Posts: 7 Join Date: 11/17/15 Recent Posts

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

 

thumbnail
Ivan Zaera, modified 6 Years ago. Regular Member Posts: 119 Join Date: 10/1/13 Recent Posts

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

Alonso Hernandez, modified 6 Years ago. New Member Posts: 7 Join Date: 11/17/15 Recent Posts

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+.