-
Notifications
You must be signed in to change notification settings - Fork 1
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
directive build error #1
Comments
Hi @YaroslavG , you can provide an example of your code? |
Yep, in my project
|
🤔 |
just saw this information: |
Yes Did you add the link to the file? |
No, I didn't do it! |
I can see your gulp configuration file? |
Hi @anteriovieira, thanks for your support.
var gutil = require('gulp-util'); /**
/**
/**
return function(err) { |
No, sorry, I meant the file where you put your bower dependencies. |
Try https://www.npmjs.com/package/bower-npm-resolver for npm packages {
"dependencies": {
... ,
"angular-drop-image": "npm:angular-drop-image",
}
} |
This my package.json |
1 - Install the package to resolve npm's package npm install bower-npm-resolver 2 - Add the resolver in your {
"resolvers": [
"bower-npm-resolver"
]
} 3 - Once configured, your {
"dependencies": {
"angular-drop-image": "npm:angular-drop-image",
}
} References |
Hi @anteriovieira, |
🤔 Let me see your .bowerrc file. |
and |
.bowerrc |
bower.json |
You have installed the angular-drop-image package with npm? and bower-npm-resolver |
Hi guys,
I added your directive to my project, also added ngStorage, but I all the same got this error:
Failed to instantiate module *** due to:
Error: [$injector:modulerr] Failed to instantiate module ngDropImage due to:
Error: [$injector:nomod] Module 'ngDropImage' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
any suggestion?
The text was updated successfully, but these errors were encountered: