Skip to content

cannot install or run npx blitz commands - "route is not a function" error. #3

@laurencefass

Description

@laurencefass

What is the problem?

When I try to install blitz I see an error.

bash-5.1# npx --yes blitz -v
TypeError: route is not a function
at /root/.npm/_npx/f8d2cc529b1ae519/node_modules/color-convert/index.js:67:15
at Array.forEach ()
at Object. (/root/.npm/_npx/f8d2cc529b1ae519/node_modules/color-convert/index.js:61:8)
at Module._compile (/root/.npm/_npx/f8d2cc529b1ae519/node_modules/@blitzjs/cli/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Module._load (node:internal/modules/cjs/loader:822:12)
at LazyLoader.loadModule (/root/.npm/_npx/f8d2cc529b1ae519/node_modules/@blitzjs/cli/node_modules/@salesforce/lazy-require/lib/LazyLoader.js:149:21)
at Function._load (/root/.npm/_npx/f8d2cc529b1ae519/node_modules/@blitzjs/cli/node_modules/@salesforce/lazy-require/lib/LazyLoader.js:125:29)
at Module.require (node:internal/modules/cjs/loader:1005:19)

Paste all your error logs here:

see above

Paste all relevant code snippets here:

no code just command line:

npx --yes blitz -v

What are detailed steps to reproduce this?

  1. see above.

Run blitz -v and paste the output here:

see above

Please include below any other applicable logs and screenshots that show your problem:

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions