You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we please get a more explicit check on this issue? When the key is not defined as 'name' in the modules array object, the error is extremely mis-leading.
Installed npm
npm install -g r.js
r.js versions
r.js: 2.1.9, RequireJS: 2.1.9, UglifyJS2: 2.4.0, UglifyJS: 1.3.4
grunt-cli v0.1.11
grunt v0.4.2
node.js v0.10.21
Mac OSX 10.9
My Directory structure:
My
build.js
:Contents of
temp/js/main.js
:I see this error when I run
r.js
:$ r.js -o build.js Error: TypeError: Cannot call method 'charAt' of undefined at Object.exports.normalize (path.js:336:27)
Not sure what is wrong. Is it due to an issue in the way I have setup my project. If so, please help me with suggestions to fix it.
Thanks.
The text was updated successfully, but these errors were encountered: