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

@feathersjs/transport-commons/src/client.ts is missing from the TypeScript compilation #2283

Closed
eduardoRoth opened this issue Apr 1, 2021 · 5 comments · Fixed by #2284
Closed

Comments

@eduardoRoth
Copy link

I'm building an app with FeathersJS 5.0.0-beta.0 inside an Nx repo and I'm getting the following error when running an Angular app:

Error: ./node_modules/@feathersjs/transport-commons/src/client.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: /node_modules/@feathersjs/transport-commons/src/client.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
    at /Users/eduardoroth/trabajo/projects/apps/sensa-seguridad/node_modules/@ngtools/webpack/src/ivy/loader.js:42:26

@eduardoRoth eduardoRoth changed the title @feathersjs/transport-commons/src/client.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. @feathersjs/transport-commons/src/client.ts is missing from the TypeScript compilation Apr 1, 2021
@daffl
Copy link
Member

daffl commented Apr 1, 2021

This seems to be similar to #2282 but I'm still trying to understand what code is causing this error and what is trying to load this because all modules are being published in their transpiled version and should never point to the actual src files.

@eduardoRoth
Copy link
Author

Weird thing is that my FeathersJS API server is running:
image

Which is failing for me is the frontend app (Ionic project inside Nx repo).

@eduardoRoth
Copy link
Author

"@feathersjs/transport-commons": "^5.0.0-pre.0",

Maybe there's a mismatch between versions?
image

@daffl
Copy link
Member

daffl commented Apr 1, 2021

Yep, I think that's exactly it 😃 Fix incoming.

@daffl
Copy link
Member

daffl commented Apr 1, 2021

Strange that it appears to install that version even though it was a devDependency

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