-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected Server Error with JavaScript #4467
Comments
Hi @tempcoderr, I could not reproduce the issue, see complete installation log below. Did you run
|
I created a new Remix app and the issue still persists. Here is the process which I followed:
And now when I run the app, I get the error.
|
Could you check if you have isbot in your node_modules? What version got installed? What does console.log(isbot) right after its import in server entry yields? |
There is an isbot folder in the node_modules folder, and its version is 3.6.2. When I write the following statement,
It returns |
And what about:
Also, what node version are you running? 🙏 |
@machour Thanks for the reply. After changing |
Thank you for the feedback 🙌🏼 @MichaelDeBoey do you know what might be going wrong with the TS => JS conversion here? |
I also face this issue today. Remix Version: 1.7.5 Changing |
Can confirm similar behaviour. Remix v. 1.7.5 Node version 16.13.1 Selected "Just the basics", "Remix Server", "Javascript". As soon as I changed the |
I can confirm the same behavior is happening when choosing "Just the Basics" with "Remix Server" and "JavaScript". Remove the '.default;' from 'entry.server.jsx' on the 'const isbot = require("isbot")' line solves the problem. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@sannamalai176 this seems like another problem. Can you open a new discussion (Q&A category) please? 🙏🏼 |
This comment was marked as off-topic.
This comment was marked as off-topic.
@moutafatin1 Your error message have nothing to do with this issue. Please open a new question in the Discussions tab. |
+1 this is still happening with these exact options. |
We were able to narrow down this issue to be related to some weirdness with |
|
What version of Remix are you using?
1.7.4
Steps to Reproduce
I created a Remix app using the
npx create-remix@latest
command and then choosingJust the basics
and thenRemix App Server
and thenJavaScript
, But when I then run the server it gives me the following error:If instead of
Javascript
I chooseTypescript
, the app works fine.Expected Behavior
The app should load and run.
Actual Behavior
Gives an
Unexpected Server Error
error.The text was updated successfully, but these errors were encountered: