watson-developer-cloud / tone-analyzer-nodejs

Sample Node.js Application for the IBM Tone Analyzer Service
https://tone-analyzer-demo.ng.bluemix.net/
Apache License 2.0
453 stars 273 forks source link

Getting the following error when I try to push - can anyone see what I'm doing wrong? #160

Closed marcz2007 closed 5 years ago

marcz2007 commented 5 years ago

When pushing from manifest to org, I get an error message: marcwatts$ ibmcloud app push songtone Invoking 'cf push songtone'...

Pushing from manifest to org marc.jwatts@gmail.com / space dev as marc.jwatts@gmail.com...
Using manifest file /Users/marcwatts/Desktop/mxw817/tone/tone-analyzer-nodejs-master/manifest.yml
Getting app info...
Service instance my-tone-analyzer-service not found
FAILED

Here is my manifest file:

declared-services:
  my-tone-analyzer-service:
    label: tone_analyzer
    plan: lite
applications:
- services:
  - my-tone-analyzer-service
  name: songtone
  command: npm start
  path: .
  instances: 2
  memory: 256MB

What is going wrong here?

germanattanasio commented 5 years ago

Remove the my-tone-analyzer-service from the manifest.yml

marcz2007 commented 5 years ago

Thank you, that solved that problem! Although now it is saying that I have a memory restriction? Any ideas how to solve that?

Creating app with these attributes...

Creating app songtone... Mapping routes... Comparing local files to remote cache... Packaging files to upload... Uploading files... 73.78 KiB / 73.78 KiB [============================================] 100.00% 2s

Waiting for API to complete processing files...

Staging app and tracing logs... You have exceeded your organization's memory limit: app requested more memory than available FAILED

cclauss commented 5 years ago

Jack up the memory in manifest.yml?

Or your organization might not have additional memory to use without shutting down other running apps.

marcz2007 commented 5 years ago

Ah amazing thank you for your help! I changed the memory in the manifest file and that seemed to work :)

marcz2007 commented 5 years ago

When I try to create a new free cluster it says that I cannot on my account and that I should upgrade to a pay-as-you go subscription - is this meant to happen when the cluster is supposedly free?

germanattanasio commented 5 years ago

Yes you need a pay-as-you-go account

watson-github-bot commented 5 years ago

:tada: This issue has been resolved in version 1.3.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: