Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r.js build error #12

Open
monobyte opened this issue Jun 3, 2013 · 4 comments
Open

r.js build error #12

monobyte opened this issue Jun 3, 2013 · 4 comments

Comments

@monobyte
Copy link

monobyte commented Jun 3, 2013

I'm getting an error running the build:

$ node vendor/r.js -o build.js

Error: Missing either a "name", "include" or "modules" option
at Function.build.createConfig (c:\Users\dcarte10\Dev\Libraries\requirejs-library-skeleton\vendor\r.js:14901:19)

Any ideas why this is happening?

@tkellen
Copy link
Owner

tkellen commented Jun 5, 2013

Sorry, I don't. I'm not actively supporting this repo right now. You're dealing directly with r.js when you do this though--you might have some luck asking @jrburke and linking him here.

@jrburke
Copy link

jrburke commented Jun 5, 2013

@monobyte sounds like build.js is missing a property that is needed to do the build. r.js tries to guess by saying "name", "include" or "modules", but if you list the contents of build.js, it would likely point to the problem.

@tkellen
Copy link
Owner

tkellen commented Jun 5, 2013

@jrburke those properties are actually listed in the build.js for this repo. It's running an older version of r.js / almond, though.

@jrburke
Copy link

jrburke commented Jun 5, 2013

Ah OK. Looks like the build.js actually calls requirejs.config() instead of just being an object literal with build config. So this may work better:

node vendor/r.js -o mainConfigFile=build.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants