Replies: 2 comments
|
I am using Microsoft windows 7. I was able to get past the errors above, by doing the following;
HOWEVER. Now when I try to run "package install" I get; CommandBox:todo> package install
CommandBox:todo> cat server.json Any Ideas what to try now? |
|
@dhgassoc @bpamiri I think I figured out the issue. The box.json for cfwheels-todomvc-htmx: The slug that is being sent due to this box.json to forgebox is "cfwheels-core" but I checked the forgebox entries and did not find such entry, instead "cfwheels" is present in forgebox entries. Maybe this was updated later on, but when I use "cfwheels" instead of "cfwheels-core" in box.json and run "package install", it successfully installs wheels dir in the app. Maybe changing this in the default box.json for cfwheels-todomvc-htmx will fix this. The forgebox search using forgebox show command: |





Uh oh!
There was an error while loading. Please reload this page.
I get errors trying to install cfwheels-todomvc-htmx. Below is my log. Any ideas how to fix?
CommandBox:CommandBox> install cfwheels-cli
CommandBox:CommandBox> mkdir dhgDb
Created D:\program_files\CommandBox\dhgDb
CommandBox:CommandBox> cd dhgDb
D:\program_files\CommandBox\dhgDb\
CommandBox:dhgDb> wheels g app name=dhgDb_todo datasourceName=gleneckguideto_dhgDb2_dsn template=cfwheels-todomvc-htmx --setupH2
Creating the target directory...
Currently working in D:\program_files\CommandBox\dhgDb
Installing the application template...
x | Installing package [forgebox:cfwheels-todomvc-htmx]
|------------------------------------------------------------------
| Verifying package 'cfwheels-todomvc-htmx' in forgebox, please wait...
| Installing version [1.0.16].
| Verified entry in forgebox: 'cfwheels-todomvc-htmx'
| Downloading entry from forgebox.
| Deferring to [https] endpoint for forgebox entry [cfwheels-todomvc-htmx]
| ..
| Downloading [HTTPS://ortus-forgebox-private.s3.us-east-1.amazonaws.com/b
| pamiri/cfwheels-todomvc-htmx/1.0.16.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256
| &X-Amz-Credential=AKIAJMDMWUSW7FUVMSFQ%2F20230130%2Fus-east-1%2Fs3%2Faws
| 4_request&X-Amz-Date=20230130T235843Z&X-Amz-Expires=300&X-Amz-SignedHead
| ers=host&X-Amz-Signature=9241e9399b9788b1b5aa1fb956f5762794d5504438c1ce2
| a0c259dce961d
| Decompressing...
| Storing download in artifact cache...
| Done.
| Installing to: D:/program_files/CommandBox/dhgDb/dhgDb_todo
| -> 95 File(s) Installed
| -> 0 File(s) ignored
| Eureka, 'cfwheels-todomvc-htmx' has been installed!
|------------------------------------------------------------------
| x | Installing package [forgebox:cfwheels-core@^2.2.0]
| | > Error getting ForgeBox entry [cfwheels-core]
| |-----------------------------------------------------------------
| | Verifying package 'cfwheels-core' in forgebox, please wait...
| | Error getting ForgeBox entry [cfwheels-core] The entry slug sent is
| | invalid or does not exis
| |-----------------------------------------------------------------
ERROR (5.7.0+00653)
Error getting ForgeBox entry [cfwheels-core]
The entry slug sent is invalid or does not exist
C:\Users\dan.CommandBox\cfml\system\endpoints\ForgeBox.cfc: line 576
574: if( e.detail contains 'The entry slug sent is invalid or
does not exist' ) {
575: job.addErrorLog( "#e.message# #e.detail#" );
576: throw( e.message, 'endpointException', e.detail
);
577: }
578:
called from C:\Users\dan.CommandBox\cfml\system\endpoints\ForgeBox.cfc: line 61
called from C:\Users\dan.CommandBox\cfml\system\services\PackageService.cfc: li
ne 109
called from C:\Users\dan.CommandBox\cfml\system\services\PackageService.cfc: li
ne 626
called from C:\Users\dan.CommandBox\cfml\modules\cfwheels-cli\commands\wheels\g
enerate\app.cfc: line 119
called from C:\Users\dan.CommandBox\cfml\system\services\CommandService.cfc: li
ne 443
called from C:\Users\dan.CommandBox\cfml\system\services\CommandService.cfc: li
ne 225
called from C:\Users\dan.CommandBox\cfml\system\Shell.cfc: line 820
called from C:\Users\dan.CommandBox\cfml\system\Shell.cfc: line 635
called from C:\Users\dan.CommandBox\cfml\system\Bootstrap.cfm: line 160
lucee.runtime.exp.CustomTypeException: Error getting ForgeBox entry [cfwheels-co
re]
at lucee.runtime.tag.Throw._doStartTag(Throw.java:212)
at lucee.runtime.tag.Throw.doStartTag(Throw.java:201)
at throw_cfm$cf.udfCall(/throw.cfm:11)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.functions.system.CFFunction.call(CFFunction.java:106)
at system.endpoints.forgebox_cfc$cf.udfCall3(/commandbox/system/endpoint
s/ForgeBox.cfc:576)
at system.endpoints.forgebox_cfc$cf.udfCall(/commandbox/system/endpoints
/ForgeBox.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:786)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(Va
riableUtilImpl.java:787)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1775)
at system.endpoints.forgebox_cfc$cf.udfCall1(/commandbox/system/endpoint
s/ForgeBox.cfc:61)
at system.endpoints.forgebox_cfc$cf.udfCall(/commandbox/system/endpoints
/ForgeBox.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:696)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1931)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(Va
riableUtilImpl.java:787)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1775)
at system.services.packageservice_cfc$cf.udfCall1(/commandbox/system/ser
vices/PackageService.cfc:109)
at system.services.packageservice_cfc$cf.udfCall(/commandbox/system/serv
ices/PackageService.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedI
mpl.java:804)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(Varia
bleUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextI
mpl.java:1794)
at system.services.packageservice_cfc$cf.udfCall1(/commandbox/system/ser
vices/PackageService.cfc:626)
at system.services.packageservice_cfc$cf.udfCall(/commandbox/system/serv
ices/PackageService.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:19
50)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(Varia
bleUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextI
mpl.java:1794)
at cfml.modules.cfwheels_cli405.commands.wheels.generate.app_cfc$cf.udfC
all(/C__Users_dan__CommandBox/cfml/modules/cfwheels-cli/commands/wheels/generate
/app.cfc:119)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:19
50)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(Varia
bleUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextI
mpl.java:1794)
at system.services.commandservice_cfc$cf.udfCall1(/commandbox/system/ser
vices/CommandService.cfc:443)
at system.services.commandservice_cfc$cf.udfCall(/commandbox/system/serv
ices/CommandService.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedI
mpl.java:804)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(Varia
bleUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextI
mpl.java:1794)
at system.services.commandservice_cfc$cf.udfCall1(/commandbox/system/ser
vices/CommandService.cfc:225)
at system.services.commandservice_cfc$cf.udfCall(/commandbox/system/serv
ices/CommandService.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:696)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1931)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(Va
riableUtilImpl.java:787)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1775)
at system.shell_cfc$cf.udfCall4(/commandbox/system/Shell.cfc:820)
at system.shell_cfc$cf.udfCall(/commandbox/system/Shell.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedI
mpl.java:804)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(Varia
bleUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextI
mpl.java:1794)
at system.shell_cfc$cf.udfCall3(/commandbox/system/Shell.cfc:635)
at system.shell_cfc$cf.udfCall(/commandbox/system/Shell.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:19
50)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(Varia
bleUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextI
mpl.java:1794)
at users.dan._commandbox46.cfml.system.bootstrap_cfm$cf.call(/Users/dan/
.CommandBox/cfml/system/Bootstrap.cfm:160)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1056)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:948)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:929)
at 1bqinns58d62n.call(Unknown Source)
at lucee.runtime.compiler.Renderer.tag(Renderer.java:107)
at lucee.runtime.compiler.Renderer.script(Renderer.java:97)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:65)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:220)
To disable full stack trace, run config set verboseErrors=false
CommandBox:dhgDb>
All reactions