Comments (8)
In your
tsconfig.json
, what ismoduleResolution
set to? It should be set to"node16"
or"nodenext"
(or"bundler"
if you're on TS >=5) for TypeScript to support import paths like@liveblocks/react-comments/primitives
.
Oh that worked like a charm. Thank you!
from liveblocks.
It's definitely not intentional, we're looking into it. Thanks for reporting!
from liveblocks.
In your tsconfig.json
, what is moduleResolution
set to? It should be set to "node16"
or "nodenext"
(or "bundler"
if you're on TS >=5) for TypeScript to support import paths like @liveblocks/react-comments/primitives
.
from liveblocks.
@marcbouchenoire: I got the same issue on my Next.js 14 app using typescript v4.x
I already tried to update moduleResolution
on tsconfig.json
using "node16"
or "nodenext"
but I got the same issue.
Any other solution? Thanks.
from liveblocks.
@ntourne Do you get the exact same error with "node16"
/"nodenext"
, or do you get a different one?
from liveblocks.
@ntourne Do you get the exact same error with
"node16"
/"nodenext"
, or do you get a different one?
@marcbouchenoire: Thanks for the reply.
Yes, same error using "node16"
/ "nodenext"
. Also, I'm using "next"
v13.4.16
(same as this example).
Any other thing to test?
from liveblocks.
@ntourne Not really sure since it seems to be pretty specific to your setup, would it be possible to make a public (GitHub, CodeSandbox, or similar) reproduction?
from liveblocks.
Re-closing this issue as the solution was already found (setting moduleResolution
to "node16"
/"nodenext"
, or "bundler"
if youβre on TS >=5) and added to multiple places in the docs.
from liveblocks.
Related Issues (20)
- Support comments mention containing `@` HOT 1
- Simplify `liveblocks.config.ts` generics for the common case HOT 1
- The Zustand middleware's `set` cannot safely be nested inside `batch`
- `Storage` type issue in `createRoomContext` in `liveblocks.config.ts` HOT 1
- Type error: Type `Storage` does not satisfy the constraint `LsonObject`. in `liveblocks.config.ts`
- Does `react-native-todo-list` need updating?
- Value changes many time in instantly when using the multiple move method of LiveList quickly HOT 3
- Removing thread metadata via `useThreadMetadata` results in metadata being removed followed by a quick flash of the old metadata
- Updating from v1.10.0 to v1.10.1 throws "process is not defined" error HOT 5
- process is undefined error on Vite project HOT 6
- EnsureJson is failing on a particular interface HOT 4
- Circular Reference in JSON HOT 2
- Using an async call in an event handler HOT 1
- RangeError: Maximum call stack size exceeded HOT 1
- Please explain how to update Yjs document from the backend with streaming AND keeping the formatting.
- Clients can crash in various ways if comment is deleted that an inbox notification still references
- Nested Rooms in React causing error HOT 8
- Add query regex filtering to metadata custom data
- liveblocksEnhancer does not mix in LiveblocksContext to the state HOT 1
- API endpoint for filtering threads by roomId prefix
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liveblocks.