angular-split-pane icon indicating copy to clipboard operation
angular-split-pane copied to clipboard

jQuery missing as dependency

Open nevesnunes opened this issue 9 years ago • 3 comments

In addition to #7, installing with npm doesn't fetch jQuery. This will cause the examples to fail, since they expect jQuery to be in the same directory as the other dependencies. Maybe this could be related to the AngularJS error in #5?

nevesnunes avatar Jul 23 '16 16:07 nevesnunes

I'm not sure if it's related to your issue but I have pushed a npm fix in v1.3.1. The examples in the angular-split-pane repo are using bower. I npm example can be found here https://github.com/shagstrom/angular-split-pane-npm-example .

shagstrom avatar Aug 15 '16 12:08 shagstrom

That one has a different issue. The fetched dependencies are put in node_modules/@shagstrom/angular-split-pane/node_modules instead of node_modules where the html file expects them. I'm using npm 2.15.8.

The workaround I did to fix the original issue was simply adding jquery as a dependency in the base package.json.

nevesnunes avatar Aug 22 '16 11:08 nevesnunes

Try upgrading to npm >= 3.4

shagstrom avatar Aug 24 '16 17:08 shagstrom