Packaging Nodejs to the snap store

Hi
I am trying to package my nodes app to the snap store and everything is going well till the step of the my-app.node-service, when I run this command I got the error, command not found.
I have installed nodejs version10
npm version6.5

any ideas what could cause this error.
Thanks in advance
Seham

Check the value of the apps._app_name_.command key.

after snapcraft init, I have editted the file as follows:
name: vortex-server # you probably want to 'snapcraft register ’
version: ‘0.1’ # just for humans, typically ‘1.2+git’ or ‘1.3.2’
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
This is my-snap’s description. You have a paragraph or two to tell the
most important story about your snap. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the snap
store.

grade: stable # must be ‘stable’ to release into candidate/stable channels
confinement: strict # use ‘strict’ once you have the right plugs and slots

parts:
my-part:
source: .
plugin: nodejs
node-packages:
- python
- make
- build-essential

and after adding the apps section that has the command part as follows:
apps:
node-service:
command: bin/VortexEdge
now when I go back to run snapcraft prime, i goe the following errors:

Sorry, an error occurred in Snapcraft:
Traceback (most recent call last):
File “/usr/bin/snapcraft”, line 11, in
load_entry_point(‘snapcraft==2.43.1+18.4’, ‘console_scripts’, ‘snapcraft’)()
File “/usr/lib/python3/dist-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/lib/python3/dist-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/lib/python3/dist-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/lib/python3/dist-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/lib/python3/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py”, line 115, in prime
_execute(steps.PRIME, parts, **kwargs)
File “/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py”, line 34, in _execute
project_config = project_loader.load_config(project)
File “/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/init.py”, line 36, in load_config
return Config(project)
File “/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/_config.py”, line 210, in init
snapcraft_yaml = apply_extensions(project.info.get_raw_snapcraft())
File “/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/_extensions/_utils.py”, line 55, in apply_extensions
extension_names = app_definition.get(“extensions”)
AttributeError: ‘NoneType’ object has no attribute ‘get’
We would appreciate it if you created a bug report at
https://launchpad.net/snapcraft/+filebug with the above text included.
seham@seham-VirtualBox:~/VortexEdge$ snapcraft prime
Sorry, an error occurred in Snapcraft:
Traceback (most recent call last):
File “/usr/bin/snapcraft”, line 11, in
load_entry_point(‘snapcraft==2.43.1+18.4’, ‘console_scripts’, ‘snapcraft’)()
File “/usr/lib/python3/dist-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/lib/python3/dist-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/lib/python3/dist-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/lib/python3/dist-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/lib/python3/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py”, line 115, in prime
_execute(steps.PRIME, parts, **kwargs)
File “/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py”, line 34, in _execute
project_config = project_loader.load_config(project)
File “/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/init.py”, line 36, in load_config
return Config(project)
File “/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/_config.py”, line 210, in init
snapcraft_yaml = apply_extensions(project.info.get_raw_snapcraft())
File “/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/_extensions/_utils.py”, line 55, in apply_extensions
extension_names = app_definition.get(“extensions”)
AttributeError: ‘NoneType’ object has no attribute ‘get’
We would appreciate it if you created a bug report at
https://launchpad.net/snapcraft/+filebug with the above text included.

Thanks