This isn’t working at the moment though, so I’ve also tried using the +amd helper in steal-tools. This results in a call stack exceeded error. So I’m not sure what’s going on here.
You probably also need to update it to use the AMD version of normalize instead of return baseNormalize.call(. I’m not sure this will solve your problem though.
I tried setting that to the amd’s normalize, but there were still errors. From what I read in the docs, using the +amd tag should set up the output object to use the correct functions, but it results in this error message…do you know why this would happen? A steal-tools bug?
C:\www\gis\static_apps\cmv-app\viewer\js\bower\canjs>node build
added helpers: amd
OPENING: can/all
-local+ npm
..........
-local+ can-fixture@1.0.11#helpers/getid
OUTPUT: +amd
Transpiling...
Output Modules:
+ can@3.3.0#all
> C:\www\gis\static_apps\cmv-app\viewer\js\bower\canjs\dist\amd\all.js
Transpiling...
Output Modules:
+ can@3.3.0#can
> C:\www\gis\static_apps\cmv-app\viewer\js\bower\canjs\dist\amd\can.js
Transpiling...
Output Modules:
+ can@3.3.0#ecosystem
> C:\www\gis\static_apps\cmv-app\viewer\js\bower\canjs\dist\amd\ecosystem.js
Potentially unhandled rejection [1] RangeError: Maximum call stack size exceeded
at visit (C:\www\gis\static_apps\cmv-app\viewer\js\bower\canjs\node_modules\
steal-tools\lib\graph\each_dependencies.js:19:22)
at C:\www\gis\static_apps\cmv-app\viewer\js\bower\canjs\node_modules\steal-t
ools\lib\graph\each_dependencies.js:20:5
at Array.forEach (native)
at visit (C:\www\gis\static_apps\cmv-app\viewer\js\bower\canjs\node_modules\
steal-tools\lib\graph\each_dependencies.js:19:22)
at C:\www\gis\static_apps\cmv-app\viewer\js\bower\canjs\node_modules\steal-t
ools\lib\graph\each_dependencies.js:20:5
at Array.forEach (native)
at visit (C:\www\gis\static_apps\cmv-app\viewer\js\bower\canjs\node_modules\
steal-tools\lib\graph\each_dependencies.js:19:22)
at C:\www\gis\static_apps\cmv-app\viewer\js\bower\canjs\node_modules\steal-t
ools\lib\graph\each_dependencies.js:20:5
at Array.forEach (native)
at visit (C:\www\gis\static_apps\cmv-app\viewer\js\bower\canjs\node_modules\
steal-tools\lib\graph\each_dependencies.js:19:22)
at C:\www\gis\static_apps\cmv-app\viewer\js\bower\canjs\node_modules\steal-t
ools\lib\graph\each_dependencies.js:20:5