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: Cannot read property 'customInspect' of undefined?why? #2

Closed
zhanggenyuan opened this issue Jun 27, 2017 · 8 comments
Closed

Comments

@zhanggenyuan
Copy link

                                  ^

TypeError: Cannot read property 'customInspect' of undefined
at Object. (..\fuse-box-npm-package-seed\node_modules\fuse-box\node_modules\fliplog\modules\inspector-gadget\index.js:9:39)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object. (..\fuse-box-npm-package-seed\node_modules\fuse-box\node_modules\fliplog\plugins\inspect.js:1:75)
at Module._compile (module.js:541:32)

@nchanged
Copy link
Contributor

Please, your config, and the offending line. But before that:

  1. Clear the cache (remove .fuse-box folder

@zhanggenyuan
Copy link
Author

i try ,thanks

@zhanggenyuan
Copy link
Author

when i run cnpm cache clean ,but it's invalid .

@nchanged
Copy link
Contributor

Sorry? you need to remove '.fuse-box' folder.

@zhanggenyuan
Copy link
Author

thanks

@jpike88
Copy link

jpike88 commented Apr 27, 2018

@nchanged this needs to be reopened, having this issue as well on a fresh build image, node 6.3.1 using the fusebox/es6 module. Fliplog seems to have a problem here.

@jpike88
Copy link

jpike88 commented Apr 27, 2018

  custom = util.inspect.defaultOptions.customInspect
                                      ^

TypeError: Cannot read property 'customInspect' of undefined
    at Object.<anonymous> (/Users/joshua/Projects/plantguard/client/node_modules/fliplog/modules/inspector-gadget/index.js:9:39)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/joshua/Projects/plantguard/client/node_modules/fliplog/plugins/inspect.js:1:75)
    at Module._compile (module.js:541:32)

@jpike88
Copy link

jpike88 commented Apr 27, 2018

installing a moden version of node on the build server as a workaround

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

4 participants