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

failed to resolve "extends":"../../tsconfig.json" in /app/tsconfig.json #79

Open
JanSafronov opened this issue May 10, 2024 · 2 comments

Comments

@JanSafronov
Copy link

JanSafronov commented May 10, 2024

I have tried to run the application in a codespace using Docker compose, this throws an error for the ui packages, for example a portion of the logs when trying to start lensup.galleryservice.ui is as follows

➜  Local:   http://localhost:5001/
  ➜  Network: http://172.22.0.7:5001/
TSConfckParseError:   Failed to scan for dependencies from entries:
  /app/index.html

  failed to resolve "extends":"../../tsconfig.json" in /app/tsconfig.json
    at resolveExtends (file:///app/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:14376:8)
    at parseExtends (file:///app/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:14311:24)
    at parse$f (file:///app/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:14171:23)
    at async loadTsconfigJsonForFile (file:///app/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:15032:24)
    at async prepareEsbuildScanner (file:///app/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:51330:32)
    at async file:///app/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:52004:38
node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Failed to load PostCSS config: Failed to load PostCSS config (searchPath: /app): [Error] Loading PostCSS Plugin failed: Cannot find module 'tailwindcss'
Require stack:
- /app/postcss.config.js

(@/app/postcss.config.js)
Error: Loading PostCSS Plugin failed: Cannot find module 'tailwindcss'
Require stack:
- /app/postcss.config.js

(@/app/postcss.config.js)
    at load (file:///app/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:29093:11)
    at file:///app/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:29118:16
    at Array.map (<anonymous>)
    at plugins (file:///app/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:29117:8)
    at processResult (file:///app/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:29187:14)
    at file:///app/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:29317:14]
@JanSafronov
Copy link
Author

And regarding the latest commits made by @Olszewskidev the issue is still present in a slightly different way.
I have tried running docker compose in a codespace and similar or related errors were raised

@Olszewskidev
Copy link
Owner

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

No branches or pull requests

2 participants