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

Error: Cannot find module 'chalk' #142

Open
lixianglong3210 opened this issue May 9, 2024 · 0 comments
Open

Error: Cannot find module 'chalk' #142

lixianglong3210 opened this issue May 9, 2024 · 0 comments

Comments

@lixianglong3210
Copy link

执行 npm run init异常。

$ npm run init

> [email protected] init
> node config/install.js

internal/modules/cjs/loader.js:905
  throw err;
  ^

Error: Cannot find module 'chalk'
Require stack:
- E:\tmp\qiankun\wl-mfe\config\utils\utils.js
- E:\tmp\qiankun\wl-mfe\config\install.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:92:18)
    at Object.<anonymous> (E:\tmp\qiankun\wl-mfe\config\utils\utils.js:1:15)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:14)
    at Module.require (internal/modules/cjs/loader.js:974:19) {
  code: 'MODULE_NOT_FOUND',
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