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

运行h5,报了错 #5

Closed
panwent opened this issue Jan 11, 2020 · 1 comment
Closed

运行h5,报了错 #5

panwent opened this issue Jan 11, 2020 · 1 comment

Comments

@panwent
Copy link

panwent commented Jan 11, 2020

λ npm install
D:\Node\node_modules\npm\node_modules\npmlog\log.js:57
log.progressEnabled = log.gauge.isEnabled()
^

TypeError: log.gauge.isEnabled is not a function
at Object. (D:\Node\node_modules\npm\node_modules\npmlog\log.js:57:33)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at D:\Node\node_modules\npm\bin\npm-cli.js:22:13
at Object. (D:\Node\node_modules\npm\bin\npm-cli.js:152:3)
D:\Node\node_modules\npm\node_modules\npmlog\log.js:57
log.progressEnabled = log.gauge.isEnabled()
^

TypeError: log.gauge.isEnabled is not a function
at Object. (D:\Node\node_modules\npm\node_modules\npmlog\log.js:57:33)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at D:\Node\node_modules\npm\bin\npm-cli.js:22:13
at Object. (D:\Node\node_modules\npm\bin\npm-cli.js:152:3)

这个该怎么解决呢?

@imndx
Copy link
Contributor

imndx commented Apr 27, 2020

请参考:npm/npmlog#48

@imndx imndx closed this as completed Apr 28, 2020
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

2 participants