-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
API Failure #1926
Comments
Hi there, SnailyCAD only supports NodeJS v18.x, as stated in the docs. Please make sure you're using the appropriate version. Source: https://docs.snailycad.org/docs/installations/methods/standalone |
It looks like Undici problem which fixed in newer versions. Check out Github issue >> getsentry/sentry-javascript#10936 . But, to be honest I never had that type of issue using SnailyCAD, so most likely your comment is fair |
I'm running the SnailyCAD with version 20 and I have not any issue. This issue is related to Sentry package not on SnailyCAD itself. I'm going to update and test the newest version of the package and I create a PR if working. |
Can you please send a screenshot or log file instead of the code it self. |
What's not really a SnailyCAD code problem I think, that is the problem in Node modules, exactly in Undici. Maybe switching versions can help |
What version of Node.js are you using?
20.13.1
What operating system are you using?
Windows 10
What version of SnailyCAD are you currently using?
1.79.1
Describe the Bug
API failure to start with a TypeError: request.headers.split is not a function
Expected Behavior
API should launch with no errors
To Reproduce
Line 248 is the culprit. the above is the line currently.
the file path to this is \snaily-cadv4\node_modules.pnpm@sentry+node@7.81.0\node_modules@sentry\node\cjs\integrations\undici\index.js
the fix I found is below. Taking out the ".split('\r\n')" fixed the issue for me.
The text was updated successfully, but these errors were encountered: