import {useUrlState} from "state-in-url/react-router";
import {useUrlState} from "state-in-url/react-router";
Error:
[ Wasp ] page.tsx(9,27): error TS2307: Cannot find module 'state-in-url/react-router' or its corresponding type declarations.[ Wasp ] There are types at 'app/node_modules/state-in-url/dist/react-router/index.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.
[ Wasp ] page.tsx(9,27): error TS2307: Cannot find module 'state-in-url/react-router' or its corresponding type declarations.[ Wasp ] There are types at 'app/node_modules/state-in-url/dist/react-router/index.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.
tsconfig has moduleResolution set to bundler. Using the TS Spec, if that makes a difference.
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.