Open aluanhaddad opened 8 years ago
+1 Same issue here with JSPM
+1 Same issue
It looks like this was recently fixed, however, I have also noticed that package.json
does not specify a dependency on angular. Also, the new version is not on npm yet so you need to install via github.
The following now works:
jspm install ng-mask=github:candreoliveira/ngMask -o "{ dependencies: { angular: '*' } }"
I opened https://github.com/candreoliveira/ngMask/pull/106 which, if merged, should remove the need for the override.
Greetings,
I am working on a fairly large application and we are in the process of migrating from bower to jspm.
Unfortunately, while jspm handles most module formats automatically, including "globals" such as ngMask, the main property in package.json has what I believe to be the incorrect value of "Gruntfile.js".
That main does not point at dist/ngMask.js would be annoying in it's own right, as it would require manual configuration, but the real problem is that, since Gruntfile.js is a valid CommonJS module, the loader thinks that the package is that module and configures itself to load it on installation.
This issue relates to #35 opened by @atwright147, and would be resolved by his/her associated pull request #36.