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
I just started a new project with only boardgame.io using bun and upon running this simple file :
import{Server}from"boardgame.io/server";import{Origins}from"boardgame.io/server";constserver=Server({// Provide the definitions for your game(s).games: [],// Provide the database storage class to use.db: newDbConnector(),origins: [Origins.LOCALHOST_IN_DEVELOPMENT],});server.run(8000);
I get this error error: Cannot find package "react" from "/<project-folder>/node_modules/boardgame.io/dist/boardgameio.js"
The text was updated successfully, but these errors were encountered:
I'm not completely sure why or if this matters, but this is the import statement I use
import { Origins, Server } from 'boardgame.io/server';
Quickly scanning through my codebase, I've noticed that the only imports from boardgame.io are type imports. Everything else is imported using boardgame.io/<something>.
I just started a new project with only boardgame.io using bun and upon running this simple file :
I get this error
error: Cannot find package "react" from "/<project-folder>/node_modules/boardgame.io/dist/boardgameio.js"
The text was updated successfully, but these errors were encountered: