Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

nextjs 12.3.0 - Error: Cannot find module 'colors' #40

Open
jalmendhry opened this issue Sep 9, 2022 · 1 comment
Open

nextjs 12.3.0 - Error: Cannot find module 'colors' #40

jalmendhry opened this issue Sep 9, 2022 · 1 comment

Comments

@jalmendhry
Copy link

jalmendhry commented Sep 9, 2022

Followed installation correctly, using the latest version of next js.

Receiving the error

code: 'MODULE_NOT_FOUND'

node_modules/krabs/dist/utils/env/index.js
node_modules/krabs/dist/utils/tenants/findTenant.js',
node_modules/krabs/dist/express-krabs/index.js',
index.js'

Works with the example version of 9.5.5

Edit: I pulled another copy of the example and it works the first time. Not sure what the problem is now...

Edit 2: I had to run npm install colors to solve this...

@x0y-gt
Copy link

x0y-gt commented May 22, 2023

Having the same issue, thanks for the hint @jalmendhry

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants