Skip to content
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

@uppy/angular: Module not found #3378

Closed
akshaybabloo opened this issue Dec 17, 2021 · 4 comments · Fixed by #3380
Closed

@uppy/angular: Module not found #3378

akshaybabloo opened this issue Dec 17, 2021 · 4 comments · Fixed by #3380

Comments

@akshaybabloo
Copy link

In my root component I have - import {UppyAngularDashboardModule} from '@uppy/angular';

And for some reason I get build errors with:

./src/app/accounts/accounts.module.ts:24:0-59 - Error: Module not found: Error: Can't resolve '@uppy/angular' in 'C:\Users\em8273\Documents\GitHub\accounting-ui\src\app\accounts'

./src/app/accounts/import-model/import-model.component.ts:6:0-36 - Error: Module not found: Error: Can't resolve '@uppy/angular' in 'C:\Users\em8273\Documents\GitHub\accounting-ui\src\app\accounts\import-model
'

Not sure why.

@aduh95
Copy link
Member

aduh95 commented Dec 18, 2021

What does your package.json look like? What is the package manager you are using to download your dependencies?

@akshaybabloo
Copy link
Author

I am using yarn and the package.json contains:

{
  "name": "accounting",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~13.1.1",
    "@angular/cdk": "^13.1.1",
    "@angular/common": "~13.1.1",
    "@angular/compiler": "~13.1.1",
    "@angular/core": "~13.1.1",
    "@angular/fire": "^7.2.0",
    "@angular/forms": "~13.1.1",
    "@angular/material": "^13.1.1",
    "@angular/platform-browser": "~13.1.1",
    "@angular/platform-browser-dynamic": "~13.1.1",
    "@angular/router": "~13.1.1",
    "@types/papaparse": "^5.3.1",
    "@uppy/angular": "^0.2.7",
    "bootstrap": "^5.1.1",
    "chart.js": "^3.6.2",
    "chartjs-plugin-annotation": "^1.2.0",
    "firebase": "^9.6.1",
    "install": "^0.13.0",
    "papaparse": "^5.3.0",
    "rxfire": "^6.0.3",
    "rxjs": "~7.4.0",
    "tslib": "^2.1.0",
    "uppy": "~2.3.1",
    "zone.js": "~0.11.4"
  },
  "devDependencies": {
    "@angular-devkit/architect": "^0.1301.2",
    "@angular-devkit/build-angular": "~13.1.2",
    "@angular/cli": "~13.1.2",
    "@angular/compiler-cli": "~13.1.1",
    "@angular/language-service": "~13.1.1",
    "@types/jasmine": "~3.10.2",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "^17.0.0",
    "codelyzer": "^6.0.0",
    "firebase-tools": "^10.0.0",
    "fuzzy": "^0.1.3",
    "gulp": "^4.0.2",
    "inquirer": "^8.2.0",
    "inquirer-autocomplete-prompt": "^1.0.1",
    "jasmine-core": "~3.10.1",
    "jasmine-spec-reporter": "~7.0.0",
    "jsonc-parser": "^3.0.0",
    "karma": "~6.3.8",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage-istanbul-reporter": "~3.0.2",
    "karma-jasmine": "~4.0.0",
    "karma-jasmine-html-reporter": "^1.5.0",
    "open": "^8.4.0",
    "protractor": "~7.0.0",
    "ts-node": "~10.4.0",
    "tslint": "~6.1.3",
    "typescript": "~4.4.4"
  }
}

@aduh95
Copy link
Member

aduh95 commented Dec 19, 2021

Everything looks good on your end, that does look like there's an error on our side. I'll investigate this week.

@aduh95
Copy link
Member

aduh95 commented Dec 21, 2021

Fix has been released with @uppy/angular@0.2.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants