node js version - NodeJS Microservices

When asked what version of NodeJS we are using, you reported 4.When creating our manifest.json in section 3.3, we put "majorVersion": "4" When deploying our application to the Oracle Application Container Cloud Service, on the dialog box, we leftNode Version:4 When we ran this at the command line:node --version  your command line showed: v6.11.0 and mine showed:  v6.11.3 Is the answer that version 4 is high enough? Thanks, Ann

yup, code and library compatibility is version 4 or later. no new features were used or required to build the project.

Related

Not Getting Build Option in NetBeans IDE for Hybrid Mobile Application Development for Oracle JET as per Lesson2-Mooc 10 of the course

HiI am following Oracle JET MOOC Lesson2 part 10 for Hybrid mobile application development.Using that mooc i am able to create Hybrid application project and in message log i got below message."Oracle JET: Your app is ready! Change to your new app directory navdrawer-androidHybridOracleJETApp and try grunt build and serve..." But as per MOOC i am not able to Build my application in "NetBeansIDE-8.1" in "Windows" platform. When i am right clicking on my project i am getting only close option. Do i need to install Andriod -SDK and set it's path in NetBeans-IDE for Building this project??
I had similar issue. I tried on command line and it worked finally.Yes, Android SDK Build 23 is needed. You can see the details of the conversation on the post from me on: MOOC: Lesson 2 Part 10 - Grunt Build fails due to Connection Timed Out . I think once you have sorted it out on command line it should work from Netbeans just the same.  I too will try the same project in Netbeans and see if I run into issues.
I am still getting the same issue.I installed sdk for android and set's it path in Netbeans but still not getting build option in our project.I am geeting only one option as close.
Not sure why you are getting only Close option. Did you create using the template ? I created my project using the template and i have all the options on right-click. 
I had created using "NavDrawer Template(Hybrid Android Oracle JET)" as per Lesson2 MOOC 10 instructions.Do i need to use creating template?go to the message on Oracle Community
I assumed you created the project using the template. How else did you create it ? 
Yes i had followed the above way for creating the application template. But it looks issue is becoz ,My  android SDK platform is "android-24". I followed your previous posttheir it is mentioned only "android-23" is supported.I am installing the update-23 now.If it will work i will update here. Suggest if issue is because of that.
Yes, I had lots of issues because the latest Android Studio for Windows is latest and installs android-24 SDK under platforms by default and if you search for list of SDK's, android-23 is partially installed. So something is wrong. Install android-23 version and it should be ok. 
#pj-thomas, I had installed android update 23 but it's still not working.I am getting only one option for project as ("Close") in my NetBeans IDE. Please suggest where is the issue.I tried compiling using Command line as well there i got below issue. I am using net-beans on my Windows7  environment.  #

Oracle JET 4.0.0 and NetBeans

Hello, With the recent release of JET 4.0.0, we are looking at upgrading a 3.1.0 app that is currently in development.  I was able to follow the steps outlined on the Oracle JET v4.0.0 Tooling Migration page with little trouble and I now have a functional 4.0.0 app.  While working on this, and trying out some of the new syntax/features, I had a couple questions related to using NetBeans come up. First, NetBeans automatically runs HTML error checking on all HTML files.  It doesn't seem to recognize the new oj-* tags as being valid.  I keep getting this error showing up in the IDE:Element "oj-button" not allowed as child of element "div" in this context. (Suppressing further errors from this subtree.)Is there anything I should be doing with NetBeans to recognize the oj-* tags as being valid and stop reporting them?  It looks like there are a few options for managing this by opening the hints menu (Alt+Enter), but I'm not sure what the proper action should be: Second question.  Since the 3.x.0 versions of JET used grunt for building and serving apps, I was able to configure grunt tasks such that I could Run(serve) and Build the app using the options directly in NetBeans.  Now that 4.0.0 moves to the ojet CLI instead of grunt, is there anything we can do to configure NetBeans to use ojet to Run and Build, or are we limited to running the CLI commands directly in a command window?  Zac
Hi Zac, We are working on addressing both issues actually.  With NetBeans IDE moving to the Apache Foundation, it's in a bit of a flux at the moment and not in the place that we can make easy changes or updates to it.  We are working on a new plugin however, that will update the current features and add a few more in the area of CCA support.  We hope to release this plugin so that it will work with the existing NetBeans 8.2, but also with the new Apache NetBeans 9.x going forward. It will be awhile before we get this completed however.  Unfortunately there isn't much we can do with the IDE not recognizing the oj-* syntax at this time. As you show in your screenshot, NetBeans does allow you to add the custom element to it's list so that over time you will get less and less of the annoying errors/warnings showing up. --jb

OJET4.0 with netbeans

Hello All, We are trying to migrate the existing hybrid application from 3.2 to 4.0 and we are able to successfully do that using the steps provided by the OJET  (Oracle JET v4.0.0 Tooling Migration ) but we are facing two uses  1) In the new OJET4.0 we are building the app using OJET command but if I want to use the same using netbeans  what are the steps I need to follow currently it looks only option is to use the command line and use OJET to build the app but if anybody has inputs like how to use the netbeans with OJET  that will be of great help. 2) The second issue is  when we migrate from 3.2 to 4.0 we still see the folder of css/libs/oj/3.2.0 and because of this we are not able to run the application on browser. ThanksSwetha
Swetha 1) There is some work happening to update the Netbeans integration as we speak, but for now it's quite workable to be running the ojet serve from the command prompt and still be editing the code in Netbeans. This is how I work.  If you are creating a new project then create that with ojet create and then open the resulting folder in Netbeans and you're good to go.  2) Provided that your package.json has an updated version to the jet reference:  "dependencies": {    "#oracle/oraclejet": "~4.0.0"  }, Then just doing ojet strip followed by ojet restore will clean up and then establish all of the correct library versions. 
Hi Duncan, I tried it, but doesn't work. It gives an error "No compatible version found: oraclejet#~4.0.0" -Vikram
Did you miss the #oracle/ scope prefix off #oracle/oraclejet": "~4.0.0" in your package.json? 
Yes, I was missing the scope prefix. Thanks

MOOC Adding components

[MOOC]I have been trying to add an oj-form-layout to a NavBar template project. However I am getting a: "Loading failed for the <script> with the source http;//localhost:8080/js/libs/oj/v4.0.0/debug/ojformlayout.js"How do I download ojformlayout.js?  Chris
Are you referencing this Cookbook demo?http://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=ojFormLayout&demo=form2colsdownofl  Which version of JET are you working with?To verify the version of JET that you are using, open the browser console window and type  oj.version
Hi John,Yes that is the Cookbook demo I am referring to.Oj.version returned 4.0.0 ChrisTo be sure I did try to upgrade to 4.2.0 to practice the new syntax however the release notes said that version is delayed
Hi Chris, In JET version 4.0 the form layout was controlled just through CSS classes rather than a component, this is the cookbook example in JET 4.0 http://www.oracle.com/webfolder/technetwork/jet-400/jetCookbook.html?component=forms&demo=form2colsdowncss where it uses the 'oj-form-layout' class. So you can either upgrade to version 4.2 or use the CSS example that they have given in the cookbook. Cheers,Andy
Hi Andy,Does Oracle JET have a migration page from 4.0.0 to 4.2.0. All I have found is:https://docs.oracle.com/en/middleware/jet/4.2.0/develop/oracle-jet-v4.1.0-tooling-migration.html#GUID-F4E07884-1C35-4B7C-84E3-60F6D949D344 Which covers migrating a v3.0.0 Application to v4.2.0and migrating a v4.0.0. to v4.1.0 As you know right now I am doing the 3 week MOOC and I am concerned that if I do the double jump without clear migration instructions; half my projects will no longer run and half the MOOC examples will not apply. Chris
oj-form-layout was introduced in 4.1.0 so you should have no issues using in in 4.1.0 or later.  
Hi Chris, You should just be able to follow that link for the most part but replace the references of 4.1.0 to 4.2.0 Step 2 is updating the version of the cli, so that next time you do ojet create..... It will be using version 4.2 of JET. If you want all future versions to remain on version 4.0 then you can just ignore this. Ojet build and ojet serve will work just fine without updating the cli. Running this step doesn't actually upgrade existing applications.  On step 3, run those commands with with version 4.2.0 instead of 4.0.0 Step 4, assuming you haven't done anything with themes if you're just following the MOOC, ignore this section.  Follow step 5+6 just replacing 4.1.0 with 4.2.0 You should then be able to build / serve the application as normal.  There isn't a lot of major changes between version 4.0.0 and 4.2.0, I'd saw you can safely update this without running into issues throughout the MOOC.  This is the documentation links for version 4.2.0 rather than 4.0.0http://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=home&demo=all http://www.oracle.com/webfolder/technetwork/jet/jsdocs/index.html  Apologies for typos, on my phone Cheers, Andy

Two Errors: No build tool and Current working directory does not seem to be the root of a JET app

Hi, I am using the file on github for MOOC. For few Of them When I load them into Netbeans, when I try to run/build I get error:  MacBook-Pro-7:Part-013 $ ojet serve Oracle JET CLI Error: Current working directory does not seem to be the root of a JET app. Please navigate there.Also another issue is that in netbeans when I try use "clean and build project", I get the error: No build tool (e.g. Grunt) used in project.What are the fixes to these? I hope these are not bugs. CS
Hi, What is the GitHub URL you're using? If it's https://github.com/GeertjanWielenga/OJETCourse/tree/master/Part-013 then it's worth point out that this uses the old Oracle JET syntax (Pre v4), the later MOOCs point to: https://github.com/geertjanw/OJETCourse4.x For Lesson 2 Part 3 (Data Collection Components) it points to the following (https://github.com/geertjanw/OJETCourse4.x/blob/master/lesson2/lesson2-part03.md ):Homework research:Cookbook: Data Collection componentsDeveloper Guide: Working with Collections  Regards,James
That is right. I used the pre v4. FOr OJETCourse4.x there is no code related to online MOOC course. There is a also a section for migration to new version of OJET that seems complecated. I guess, I go with the vides and OJET book. Thank you,CS
Watch this YouTube video: https://www.youtube.com/watch?v=VLS6lxrdGag

Categories

Resources