Skip to content
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

TypeError: route is not a function #1

Open
asiflhr opened this issue Jul 12, 2024 · 0 comments
Open

TypeError: route is not a function #1

asiflhr opened this issue Jul 12, 2024 · 0 comments

Comments

@asiflhr
Copy link

asiflhr commented Jul 12, 2024

Hi,
I have cloned and after installation of node_modules I'm getting this error:

`

[email protected] start
expo start

/Users/macbook/Documents/work/Health/react_native_scaffolding/node_modules/color-convert/index.js:67
var routes = route(fromModel);
^

TypeError: route is not a function
at /Users/macbook/Documents/work/Health/react_native_scaffolding/node_modules/color-convert/index.js:67:15
at Array.forEach ()
at Object. (/Users/macbook/Documents/work/Health/react_native_scaffolding/node_modules/color-convert/index.js:61:8)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object. (/Users/macbook/Documents/work/Health/react_native_scaffolding/node_modules/ansi-styles/index.js:2:22)

Node.js v20.11.0`

I tried the project with these commands:
npm start
npx expo prebuild --clean

Screenshot 2024-07-12 at 12 53 00 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant