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
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
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
.
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?
you need to rename the folder you extracted from the zip to remove '-master' from the end of the folder name
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' ] } }