Trying to get to grips with StealJS and following your example in stealjs website at guides - continuous builds’
Everything works fine UPTO
var can = require(‘can’); (in Develop your application, about half way down the page)
All I get when I try to run it is a browser error that 'require is not a function.
I have run ‘npm install require --save’ and it is included in the node_modules in the subdir as expected.
‘npm run build’ does not complain so I have NO F** CLUE what is going on.
Help much appreciated.
I’m fairly experienced in the use of CanJS for complex applications but have not yet used steal/require/module loaders as my legacy technology restrictions make it very hard to integrate (js ‘files’ etc are in IDE binary blobs …) but I’m breaking out of the legacy into a trad file based setup, and smack into this.