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
Looking at the logs it says my build is marked as “Complete”, but when I visit the deployed site I see the following message
This function has crashed
An unhandled error in the function code triggered the following message:
TypeError - (0 , import_slicedToArray2.default) is not a function
Stack trace
TypeError: (0 , import_slicedToArray2.default) is not a function
at setTwoToneColor (/var/task/.netlify/functions-internal/server.js:1490:128)
at Object.<anonymous> (/var/task/.netlify/functions-internal/server.js:1501:1)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (/var/task/server.js:1:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Connection details
Netlify internal ID: 01HEYB4Z9T4ZBRKC5GK7SRBZ0F
@kevinreber We're sorry you never got a response here. I hope you were able to resolve your issue. Since this is quite old, I'm going to close it. @mbsyaswanth@malik991 Please feel free to open new issues or (even better) post at https://answers.netlify.com/ if you're still having issues.
FYI: Originally started this thread in the Netlify Community: https://answers.netlify.com/t/remix-this-function-has-crashed-typeerror-0-import-slicedtoarray2-default-is-not-a-function/106308
Summary
I recently upgraded a Remix app I have deployed on Netlify from
v1
tov2
by following the directions listed here:You can see my related PRs here:
v2
by kevinreber · Pull Request #72 · kevinreber/ai-icon-generator · GitHubReferences
Looking at the logs it says my build is marked as “Complete”, but when I visit the deployed site I see the following message
Build Logs
Files setup
netlify.toml
package.json
remix.config.js
The text was updated successfully, but these errors were encountered: