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

Build fails when jquery.cookie is added to app.js #118

Open
nmk opened this issue Mar 24, 2014 · 0 comments
Open

Build fails when jquery.cookie is added to app.js #118

nmk opened this issue Mar 24, 2014 · 0 comments

Comments

@nmk
Copy link

nmk commented Mar 24, 2014

I want to use jquery.cookie in my ember-tools managed project.

I added require("../vendor/jquery.cookie") to app.js and builds started failing with the following message (/path/to/project is here as an example, the real path is in fact correct):

Error: Cannot find module 'jquery' from '/path/to/project/vendor'

/usr/local/lib/node_modules/ember-tools/src/commands/build.js:102
    if (error && !env.watch) throw new Error(error);
                               ^
Error: Error: Command failed: Error: Cannot find module 'jquery' from '/path/to/project/vendor'

If I remove the require("../vendor/jquery.cookie") from app.js, the build works as expected.

Any idea what might be wrong?

Tanks a bunch in advance!

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

1 participant