Picture of Ben Simons
Kineo Components
by Ben Simons - Monday, 9 November 2015, 3:20 PM
 

Do any of the CGKineo components work with the adapt 2.0 framework? I tried to install the hotgrid which stated it was V2 ready and it gave me an error warning stating that is not compatible with this version.... 

Kind Regards

Picture of Matt Leathes
Re: Kineo Components
by Matt Leathes - Monday, 9 November 2015, 5:23 PM
 

Hi Ben

I presume you're using $ adapt install to install it?

If so, the error message it presents is slightly wrong. If you select 'y' to go ahead and install the plugin anyway you get the correct error message which is 'Oh dear, something went wrong. Package adapt-hotgrid not found'

This is because we haven't formally registered the plugin yet, on account of having not quite yet set it up to work with the authoring tool.

You can install it manually by clicking the 'Download ZIP' link on the repository homepage, then extracting the folder contained therein to src/components, renaming the extracted folder to 'adapt-hotgrid', updating your components.json as per the example.json then running $ grunt build or $ grunt dev.

Picture of Ben Simons
Re: Kineo Components
by Ben Simons - Tuesday, 10 November 2015, 8:10 AM
 

Cheers Matt, 

Worked perfectly!

Picture of Ben Simons
Re: Kineo Components
by Ben Simons - Thursday, 12 November 2015, 10:19 AM
 

Hi Matt, 

I just tried using the Quicknav component and installed it the way you said above by extracting it to the components folder and then re-building it and I got this back from the CMD prompt. 

Running "requirejs:compile" (requirejs) task
Error: ENOENT, no such file or directory 'C:\Users\simbe\Documents\Adapt Modules
\Component test\src\extensions\adapt-quicknav\js\adapt-quicknav-view.js'
In module tree:
core/js/app
components/components
components/adapt-quicknav-master/js/adapt-quicknav

{ [Error: Error: ENOENT, no such file or directory 'C:\Users\simbe\Documents\Ada
pt Modules\Component test\src\extensions\adapt-quicknav\js\adapt-quicknav-view.j
s'
In module tree:
core/js/app
components/components
components/adapt-quicknav-master/js/adapt-quicknav

at Error (native)
]
originalError:
{ [Error: ENOENT, no such file or directory 'C:\Users\simbe\Documents\Adapt M
odules\Component test\src\extensions\adapt-quicknav\js\adapt-quicknav-view.js']
errno: -4058,
code: 'ENOENT',
path: 'C:\\Users\\simbe\\Documents\\Adapt Modules\\Component test\\src\\ext
ensions\\adapt-quicknav\\js\\adapt-quicknav-view.js',
syscall: 'open',
fileName: 'C:/Users/simbe/Documents/Adapt Modules/Component test/src/extens
ions/adapt-quicknav/js/adapt-quicknav-view.js',
moduleTree:
[ 'components/adapt-quicknav-master/js/adapt-quicknav',
'components/components',
'core/js/app' ] } }

 

Any idea why?

Picture of Matt Leathes
Re: Kineo Components
by Matt Leathes - Thursday, 12 November 2015, 11:09 AM
 

you need to rename the folder you extracted from the zip to remove '-master' from the end of the folder name

Picture of Ben Simons
Re: Kineo Components
by Ben Simons - Thursday, 12 November 2015, 11:54 AM
 

I removed the Master from the end of the file name and im still getting the same problem, it only happens on a select few though. Very strange

 

 

Running "requirejs:compile" (requirejs) task
Error: ENOENT, no such file or directory 'C:\Users\simbe\Documents\Adapt Modules
\Component test\src\extensions\adapt-quicknav\js\adapt-quicknav-view.js'
In module tree:
core/js/app
components/components
components/adapt-quicknav/js/adapt-quicknav

{ [Error: Error: ENOENT, no such file or directory 'C:\Users\simbe\Documents\Ada
pt Modules\Component test\src\extensions\adapt-quicknav\js\adapt-quicknav-view.j
s'
In module tree:
core/js/app
components/components
components/adapt-quicknav/js/adapt-quicknav

at Error (native)
]
originalError:
{ [Error: ENOENT, no such file or directory 'C:\Users\simbe\Documents\Adapt M
odules\Component test\src\extensions\adapt-quicknav\js\adapt-quicknav-view.js']
errno: -4058,
code: 'ENOENT',
path: 'C:\\Users\\simbe\\Documents\\Adapt Modules\\Component test\\src\\ext
ensions\\adapt-quicknav\\js\\adapt-quicknav-view.js',
syscall: 'open',
fileName: 'C:/Users/simbe/Documents/Adapt Modules/Component test/src/extens
ions/adapt-quicknav/js/adapt-quicknav-view.js',
moduleTree:
[ 'components/adapt-quicknav/js/adapt-quicknav',
'components/components',
'core/js/app' ] } }

Picture of Matt Leathes
Re: Kineo Components
by Matt Leathes - Thursday, 12 November 2015, 12:47 PM
 

Ah OK - I see from your previous post you said 'by extracting it to the components folder'... adapt-quicknav is an extension (see line 11 of bower.json) so needs to be extracted to src/extensions

Picture of Ben Simons
Re: Kineo Components
by Ben Simons - Thursday, 12 November 2015, 1:36 PM
 

Your a Gent! Thank you very much!