Skip to content

Conversation

@agonbina
Copy link

@agonbina agonbina commented Aug 6, 2014

I simply changed how some of the core modules were being incorrectly required in 'main.js' and 'utils.js'. That resulted in errors when requiring Vue in Node.js because those dependencies were not being resolved correctly. Please see the commit messages.

@yyx990803
Copy link
Member

Are you sure it's not your setup's problem? require('./directives') falls back to require('./directives/index.js'), and require('./template-parser.js') will not fall back to js.js if the file exists.

@agonbina
Copy link
Author

agonbina commented Aug 6, 2014

Aha, I was using http://jspm.io to load Vue which fetches all the dependencies one by one but it seems like it does not resolve the deps the same way as Node. Appologies for raising a false flag!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants