You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following development setup and running into this issue. Working on M1 with Monterey and nvm with node 20.12.2.
Modifying packages/editor-ext/tsconfig.json seems to fix it and it makes sense to me, but it feels like I shouldn't be the only one with this issue and I might be missing some obvious config setting 🤔
- "baseUrl": "./",+ "baseUrl": "../../apps/",
pnpm nx run @docmost/editor-ext:build log
pnpm nx run @docmost/editor-ext:build
> nx run @docmost/editor-ext:build
> @docmost/editor-ext@ build /Users/omartin/development/docmost/packages/editor-ext
> tsc --build
src/lib/image/image-upload.ts:3:29 - error TS2307: Cannot find module 'client/src/lib/types' or its corresponding type declarations.
3 import { IAttachment } from "client/src/lib/types";
~~~~~~~~~~~~~~~~~~~~~~
src/lib/video/video-upload.ts:3:29 - error TS2307: Cannot find module 'client/src/lib/types' or its corresponding type declarations.
3 import { IAttachment } from "client/src/lib/types";
~~~~~~~~~~~~~~~~~~~~~~
Found 2 errors.
ELIFECYCLE Command failed with exit code 1.
WARN Local package.json exists, but node_modules missing, did you mean to install?
——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
NX Ran target build for project @docmost/editor-ext (1s)
✖ 1/1 failed
✔ 0/1 succeeded [0 read from cache]
Activity
Philipinho commentedon Jul 20, 2024
On M1 myself, I tried it on Node 20.12.2 with no issues.
It's quite strange how the mono-repo behaves differently on different systems.
I should give more attention to it.
olivierIllogika commentedon Jul 20, 2024
Got me thinking was could be different and the only thing might be the pnpm version installed.
I have 8.6.5 ; what's yours?
Philipinho commentedon Jul 20, 2024
My pnpm version is 9.5.0.
fix: localize attachment type
Squashed 'vendor/app/' changes from 5adf5ab..7e6f77a
fix: localize attachment type
Merge pull request docmost#86 from Vito0912/feat/iframe
test(docmost#172): harden fork-independence fitness functions per review