Composer error "TypeError: Object.getOwnPropertyNames called on non-object" - cloudify

When trying to get started with Cloudify, importing the "Cloudify Hello World Example", I get an error:
TypeError: Object.getOwnPropertyNames called on non-object
I get the same error for any blueprint I try to import. I've searched, but found no help on this error.
The example is being imported from a local clone of cloudify-hello-world-example.git on GitHub. I'm using the Composer UI "Blueprint Settings" tool "Import" option, and selecting the local file "blueprint.yaml" from the cloned repo.
I'm running this on CentOS 7, and installed the Composer as described at thank_you_composer.htm on getcloudify.org. Logging into the Composer at localhost port 3000, using Chrome or Firefox, same result.
What is the reason for this TypeError when importing Cloudify blueprints, and how do I correct/avoid it?

The composer philosophy is to model and design applications.
You can use it to create new blueprints and add new stencils.
For the moment (version 3.3.1) there is a problem importing blueprints that are using external imports (https://cloudifysource.atlassian.net/browse/CFY-4325), you can bypass it by importing the blueprint without those plugins and then add lifecycle operations that will add the functions of those plugins.

Related

mizzao:sharejs-codemirror throwing error in my meteor app

I just created a basic project using meteor create CodeCollab. Then I installed the "mizzao:sharejs-codemirror" package using meteor add mizzao:sharejs-codemirror command. The installation works fine without any errors. But when I start the app I get the following error -
I am not able to find a solution for this error. I have not edited any file inside the project. I just created the project, installed package and hit run.
Try running this command
meteor add edemaine:sharejs-codemirror

"Type Error: semver is not a constructor" when running new Meteor project?

I was following the "simple-todos" tutorial provided by Meteor but when I came to running the "meteor" command within my newly created project on my Desktop using the "meteor create simple-todos" command in the terminal, it comes up with; Type Error: semver is not a constructor.
I have tried re-installing meteor completing and it comes up with the same error, as well as creating the project within my User directory and not in my desktop.
I cannot move forward with the tutorial as it instructs you to visit localhost:3000, but when I go there, it says cannot load page or similar.
Any help will be greatly appreciated.

Adding aldeed:autoform causes error in Meteor 1.4.4.2

I created a new app using below command;
meteor create --full test
The link application works fine. But then, I added aldeed:autoform to the project and re-run meteor.
the browser console shows error
Error : There is no route for the path: /
and the entire UI is blank.
NOTE: When I remove the package, the application works fine.
AutoForm 6.0 requires switching your app to using the SimpleSchema package from 'NPM' and aldeed:collection2-core package.
I encountered the same problem as yours, so when I ran command npm install simpl-schema, the error in the console went away.
Note: The aldeed:autoform was also looking for mongo-object which is present in simpl-schema from NPM. For better understanding, follow the below image attached.
Hope this helps.

Error while installing natural node in meteor project

I am working on a meteor project. Have to use natural package for natural language facility. I installed that using 'npm install natural'. But when ran the project, got error as 'ReferenceError: require is not defined'.
Added this line: var abc=Meteor.require('natural'); in the file in which have to use it. But when I am running the project, it is showing error as:=> Started proxy.
=> Meteor 0.8.1.3 is available. Update this project with 'meteor update'.
=> Started MongoDB.
=> Errors prevented startup:
While building package `router`:
error: no such package: 'page-js-ie-support'
error: no such package: 'HTML5-History-API'
-- When tried to install the above listed missing packages, showing error as:
smart.json changed.. installing from smart.json, I got the following error after successfully installing various packages like natural, iron-router, paginated-subscription, router, accounts-ui-bootstrap-dropdown, spin. But after that showing following error. Why so?
/usr/local/lib/node_modules/meteorite/lib/dependencies/package.js:106
throw('Could not locate package.js within path ' + self.source.packagePa
^
Could not locate package.js within path /home/priya/.meteorite/packages/natural/NaturalNode/natural/d541ca394659521498ed36a7f6e03fef93163e53
-- The packages in my project are: I don't understand here as router package is already listed then why showing error while running the project.??
meteor list --using
standard-app-packages
bootstrap
router
accounts-ui-bootstrap-dropdown
accounts-password
spin
paginated-subscription
email
insecure
iron-router
npm
Please guide me in this direction. This error is becoming a recursive kind of error. Have broke my head in this problem but still stuck. Thanks in advance
You have a package called Natural (not sure which) which isn't built to the correct packages specifications or has been modified somehow.
This can't be fixed that easily, you would have to contact the author of the package to fix it or modify it yourself. I can't find NaturalNode on atmosphere so its likely a custom package.
You might want to make the rest of your app work to debug fixing it though. To do that you need to remove this package
Remove the files and folders in ~/.meteorite/packages
Look through your packages smart.json and remove the offending package (natural). and run mrt update. And remove the rest of the code in your app relating to natural that might stop your app booting up.
From what it looks like you've cloned https://github.com/NaturalNode/natural into meteorite somehow. You would have to look at how to build a package for meteor.
The files you have used are an npm module and don't just work with meteor if you copy the files in. You have to make a compatible meteorite package for it to work. Or use meteor-npm to use the npm module in your app directly.
This project may also help you get started as an example of how to make a wrapper for an npm module to use with meteor

symfony can't build schema (propel)

I've been trying symfony 1.2.12, using xampp 3.1.0 over windows XP (the jobeet tutorial). When I try to run php symfony propel:build-schema I've got the following error (over and over):
Propel Running "reverse" phing task
[taskdef] Error importing propel/phing/PropelDataModelTemplateTask.php
[phing] Error reading project file [Wrapped: Error importing propel/phing/PropelDataModelTemplateTask.php]
Some problems ocurred when executing the task: If the exception is not clear enough read the output.
(I've checked the phing version and it's 2.5.0, the latest available.)
I've searched for the PropelDataModelTemplateTask.php and is not in the project (the entire path doesn't exists!). I've created another symfony project and the file isn't there either. It looks like it's not included whit the symfony-1.2.12.tgz.
Is there something wrong within this version or should I install or update any extra component?
Thanks in advance!

Resources