Open sdrejkarz opened 6 months ago
After removing .nx
folder and run pnpm i & pnpm saas up
["ERROR" - 13:11:20] ENOENT: no such file or directory, open '*/saas-boilerplate/node_modules/.pnpm/@nx+react@19.0.1_@babel+traverse@7.24.6_@types+node@20.12.12_js-yaml@4.1.0_nx@19.0.1_patch_ha_ykodvdfyp4nrsthwu4xxvowcmy/node_modules/@nx/react/tailwind.js'
Error: ENOENT: no such file or directory, open '*/saas-boilerplate/node_modules/.pnpm/@nx+react@19.0.1_@babel+traverse@7.24.6_@types+node@20.12.12_js-yaml@4.1.0_nx@19.0.1_patch_ha_ykodvdfyp4nrsthwu4xxvowcmy/node_modules/@nx/react/tailwind.js'
at Object.openSync (node:fs:605:3)
at Object.func [as openSync] (node:electron/js2c/node_init:2:2214)
at readFileSync (node:fs:473:35)
at t.readFileSync (node:electron/js2c/node_init:2:9771)
at jiti (*/saas-boilerplate/node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/dist/jiti.js:1:254411)
at */saas-boilerplate/packages/webapp/tailwind.config.ts:3:17
at evalModule (*/saas-boilerplate/node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/dist/jiti.js:1:256443)
at jiti (*/saas-boilerplate/node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/dist/jiti.js:1:254371)
at */saas-boilerplate/node_modules/.pnpm/tailwindcss@3.4.3_ts-node@10.9.2_@types+node@20.12.12_typescript@5.4.5_/node_modules/tailwindcss/lib/lib/load-config.js:52:30
at loadConfig (*/saas-boilerplate/node_modules/.pnpm/tailwindcss@3.4.3_ts-node@10.9.2_@types+node@20.12.12_typescript@5.4.5_/node_modules/tailwindcss/lib/lib/load-config.js:54:6)
AFAIKS there is a problem with createGlobPatternsForDependencies
.
Somehow it's pointing to the wrong folder (./nx/cache), but I cannot find any logs while taiwind.config.ts
is executing.
Any update on this issue?
Describe the bug
VSCode has problem with formatting using prettier. The problem exists only in
webapp/*
folder.I have removed
prettier-plugin-tailwindcss
fromwebapp/.prettierrc
and formatting is working, but tailwind formatting not.As a side note:
webapp-core
has the same plugin, but there is no error with formatting. CLIprettier -w
working fine.Steps to reproduce
packages/webapp/src/shared/components/auth/validateOtpForm/validateOtpForm.component.tsx
System Info
Logs
Validations