-
Notifications
You must be signed in to change notification settings - Fork 38
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
Cannot find namespace #189
Comments
This is my package.json:
|
anyone? |
Check your tsconfig.json, need exclude 'api/node_modules':
and the same in "src/tsconfig.app.json":
and in "src/tsconfig.spec.json":
Hope this helpfull for you. |
You need add to tsconfig.json section types like that:
node - optional |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting the following errors, any idea how to resolve it?
ERROR in api/node_modules/meteor-rxjs/dist/MeteorObservable.d.ts(123,34): error TS2503: Cannot find namespace 'Tracker'.
api/node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(3,19): error TS2503: Cannot find namespace 'Mongo'.
api/node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(4,19): error TS2503: Cannot find namespace 'Mongo'.
api/node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(5,24): error TS2503: Cannot find namespace 'Mongo'.
api/node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(6,25): error TS2503: Cannot find namespace 'Mongo'.
api/node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(7,19): error TS2503: Cannot find namespace 'Mongo'.
api/node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(28,42): error TS2503: Cannot find namespace 'Mongo'.
api/node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(47,46): error TS2503: Cannot find namespace 'Mongo'.
api/node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(52,30): error TS2503: Cannot find namespace 'Mongo'.
api/node_modules/meteor-rxjs/dist/ObservableCursor.d.ts(19,30): error TS2503: Cannot find namespace 'Mongo'.
api/node_modules/meteor-rxjs/dist/ObservableCursor.d.ts(25,25): error TS2503: Cannot find namespace 'Mongo'.
api/node_modules/meteor-rxjs/dist/ObservableCursor.d.ts(30,22): error TS2503: Cannot find namespace 'Mongo'.
api/node_modules/meteor-rxjs/dist/ObservableCursor.d.ts(59,33): error TS2503: Cannot find namespace 'Meteor'.
api/node_modules/meteor-rxjs/dist/ObservableCursor.d.ts(66,40): error TS2503: Cannot find namespace 'Meteor'.
api/node_modules/meteor-rxjs/dist/ObservableCursor.d.ts(74,28): error TS2503: Cannot find namespace 'Mongo'.
api/server/models/job.ts(28,9): error TS2503: Cannot find namespace 'Mongo'.
node_modules/meteor-rxjs/dist/MeteorObservable.d.ts(123,34): error TS2503: Cannot find namespace 'Tracker'.
node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(3,19): error TS2503: Cannot find namespace 'Mongo'.
node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(4,19): error TS2503: Cannot find namespace 'Mongo'.
node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(5,24): error TS2503: Cannot find namespace 'Mongo'.
node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(6,25): error TS2503: Cannot find namespace 'Mongo'.
node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(7,19): error TS2503: Cannot find namespace 'Mongo'.
node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(28,42): error TS2503: Cannot find namespace 'Mongo'.
node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(47,46): error TS2503: Cannot find namespace 'Mongo'.
node_modules/meteor-rxjs/dist/ObservableCollection.d.ts(52,30): error TS2503: Cannot find namespace 'Mongo'.
node_modules/meteor-rxjs/dist/ObservableCursor.d.ts(19,30): error TS2503: Cannot find namespace 'Mongo'.
node_modules/meteor-rxjs/dist/ObservableCursor.d.ts(25,25): error TS2503: Cannot find namespace 'Mongo'.
node_modules/meteor-rxjs/dist/ObservableCursor.d.ts(30,22): error TS2503: Cannot find namespace 'Mongo'.
node_modules/meteor-rxjs/dist/ObservableCursor.d.ts(59,33): error TS2503: Cannot find namespace 'Meteor'.
node_modules/meteor-rxjs/dist/ObservableCursor.d.ts(66,40): error TS2503: Cannot find namespace 'Meteor'.
node_modules/meteor-rxjs/dist/ObservableCursor.d.ts(74,28): error TS2503: Cannot find namespace 'Mongo'.
The text was updated successfully, but these errors were encountered: