-
Notifications
You must be signed in to change notification settings - Fork 662
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
Unexpected value 'FileUploadModule' imported by the module 'UploaderModule' #426
Comments
UPDATE: Inspired by this reverse issue I copied node_module/ng2-file-upload to the directory that this component is in and changed my import to be ...
...and it worked! Is there a problem with the way you are exporting this module that it has to be relative? |
I tried importing it as a file rather than a module but leaving it in place, changed my import to this ...
...and I'm back to the error again. I then symlinked in my project root as ng2-file-upload to ../../../jspm_packages/npm/ng2-file-upload@1.1.0/ng2-file-upload and changed my import to...
...and it worked fine! So I think jspm/systemjs knows that the direct path is actually an npm package and must try to import it differently than straight up as a file. And as a file it loads the module correctly. Just for the record, since I didn't specify above, I am using a pure js solution (yes, I am bucking the trend, but not a Typescript fan). |
I am getting this error too when using ng-xi18n (Angular 2 final --this is the utility to perform internationalization). All Typescript here. |
I changed |
Getting the above error after moving from RC4 to release. Here is link to my stackoverflow incident
Any ideas?
The text was updated successfully, but these errors were encountered: