Open kavianba opened 6 years ago
Hi,
I was able to solve the above error by changing "npm" to "npm.cmd" in pom.xml. However, I am facing the getting the below issue when I try to start the io.wcm.handler bundle
09.01.2018 14:35:38.454 *ERROR* [qtp704672000-154] org.apache.felix.http.jetty %bundles.pluginTitle: Cannot start (org.osgi.framework.BundleException: Unable to resolve io.wcm.handler.link [475](R 475.0): missing requirement [io.wcm.handler.link [475](R 475.0)] osgi.wiring.package; (&(osgi.wiring.package=io.wcm.handler.url)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve io.wcm.handler.url [477](R 477.0): missing requirement [io.wcm.handler.url [477](R 477.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.caconfig)(version>=1.0.0)(!(version>=2.0.0)))] Unresolved requirements: [[io.wcm.handler.link [475](R 475.0)] osgi.wiring.package; (&(osgi.wiring.package=io.wcm.handler.url)(version>=1.0.0)(!(version>=2.0.0)))]) org.osgi.framework.BundleException: Unable to resolve io.wcm.handler.link [475](R 475.0): missing requirement [io.wcm.handler.link [475](R 475.0)] osgi.wiring.package; (&(osgi.wiring.package=io.wcm.handler.url)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve io.wcm.handler.url [477](R 477.0): missing requirement [io.wcm.handler.url [477](R 477.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.caconfig)(version>=1.0.0)(!(version>=2.0.0)))] Unresolved requirements: [[io.wcm.handler.link [475](R 475.0)] osgi.wiring.package; (&(osgi.wiring.package=io.wcm.handler.url)(version>=1.0.0)(!(version>=2.0.0)))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111) at org.apache.felix.framework.Felix.startBundle(Felix.java:2117) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
So I couldn't start the sample bundle as well. Let me know if I need to install any other dependency package.
Hi,
While installing the application, I am getting the below exception:
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (gulp-build) on project ng2-aem-sample.ui.apps: Command execution failed.: Cannot run program "C:\Program Files\nodejs\npm" (in directory "C:\AEM\aem-angular2-master\ui.apps"): CreateProcess error=193, %1 is not a valid Win32 application -> [Help 1]
I am having 64 bit Node in my system. I think the maven is taking the node path from the system variables. Is it possible to do the node 32 bit only for this application without affecting my sys config?