keystonejs / keystonejs/keystone

Framework Remix example server error

Open
#9,340 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10k
Forks
1.3k
Avg merge
19h 14m
Merged PRs (30d)
19

Description

Following the steps in the framework-remix example, I get to the part where you go to localhost:3000 and get the following server error

```
Unexpected Server Error

TypeError: (0 , import_isbot.default) is not a function
```

Using node version v20.17.0 on firefox for ubuntu.

Here is the console output

```
Remix App Server started at http://localhost:3000 (http://192.168.0.8:3000)
TypeError: (0 , import_isbot.default) is not a function
at handleRequest (/home/alex/Projects/keystone/node_modules/.pnpm/@remix-run+dev@1.19.3_@remix-run+serve@1.19.3_@types+node@20.16.5_babel-plugin-macros@3.1.0_terser@5.31.6/node_modules/@remix-run/dev/dist/config/defaults/node/entry.server.react-stream.tsx:18:10)
at handleDocumentRequestRR (/home/alex/Projects/keystone/node_modules/.pnpm/@remix-run+server-runtime@1.19.3/node_modules/@remix-run/server-runtime/dist/server.js:216:18)
at requestHandler (/home/alex/Projects/keystone/node_modules/.pnpm/@remix-run+server-runtime@1.19.3/node_modules/@remix-run/server-runtime/dist/server.js:61:18)
at /home/alex/Projects/keystone/node_modules/.pnpm/@remix-run+express@1.19.3_express@4.19.2/node_modules/@remix-run/express/dist/server.js:39:22

```

Contributor guide

Open the contributing guide

Research direction

Follow the framework-remix example with Node v20.17.0 and reproduce the error when opening localhost:3000. Start by investigating the reported import_isbot.default failure in the Remix server path and its dependency versions; the issue is done when the example server renders successfully without the TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, react
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.