jrburke/requirejs — Issue #145: problem with r.js 1.0.2 and node?
Author: Integralist
Created: 2011-11-26 17:25:10+00:00
State: open

Hi,

I was getting the error `Cannot find module 'vm'` when trying to run a build script (you'll find my entire set-up here: https://github.com/Integralist/RequireJs-Example/ and the build script itself here: https://github.com/Integralist/RequireJs-Example/blob/master/Assets/Scripts/Build/app.build.js - the only thing to be aware of is locally I've changed the r.js version to 1.0.2)

I then tried `node r.js -v` to see what version of r.js node thought was being used and again I got the error `Cannot find module 'vm'`which seems to suggest there is something wrong with r.js?

Any ideas or suggestions.

Kind regards,
Mark