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
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!
The text was updated successfully, but these errors were encountered:
I want to use jquery.cookie in my ember-tools managed project.
I added
require("../vendor/jquery.cookie")
toapp.js
and builds started failing with the following message (/path/to/project
is here as an example, the real path is in fact correct):If I remove the
require("../vendor/jquery.cookie")
fromapp.js
, the build works as expected.Any idea what might be wrong?
Tanks a bunch in advance!
The text was updated successfully, but these errors were encountered: