Skip to content
This repository has been archived by the owner on Jun 9, 2019. It is now read-only.

TypeError: Expected a value of type undefined for dist but received `"dist-play" #82

Open
oktamapangestu opened this issue Jan 9, 2019 · 1 comment

Comments

@oktamapangestu
Copy link

i have something error when i run 'yarn play', this is the error i have

TypeError: Expected a value of type undefinedfordistbut received"dist-play". at Function.Struct.validate.value [as validate] (/home/oktama-kantor/Documents/RESEARCH/vue-play/node_modules/superstruct/lib/index.js:1196:17) at module.exports (/home/oktama-kantor/Documents/RESEARCH/vue-play/node_modules/poi/lib/utils/validateConfig.js:154:34) at PoiCore.run (/home/oktama-kantor/Documents/RESEARCH/vue-play/node_modules/poi/lib/index.js:276:19) at main (/home/oktama-kantor/Documents/RESEARCH/vue-play/node_modules/poi/bin/cli.js:14:15) at Object.<anonymous> (/home/oktama-kantor/Documents/RESEARCH/vue-play/node_modules/poi/bin/cli.js:28:1) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3)

help me for solved this problem, thank you !

@LeeChar
Copy link

LeeChar commented Jun 9, 2019

i have something error when i run 'yarn play', this is the error i have

TypeError: Expected a value of type undefinedfordistbut received"dist-play". at Function.Struct.validate.value [as validate] (/home/oktama-kantor/Documents/RESEARCH/vue-play/node_modules/superstruct/lib/index.js:1196:17) at module.exports (/home/oktama-kantor/Documents/RESEARCH/vue-play/node_modules/poi/lib/utils/validateConfig.js:154:34) at PoiCore.run (/home/oktama-kantor/Documents/RESEARCH/vue-play/node_modules/poi/lib/index.js:276:19) at main (/home/oktama-kantor/Documents/RESEARCH/vue-play/node_modules/poi/bin/cli.js:14:15) at Object.<anonymous> (/home/oktama-kantor/Documents/RESEARCH/vue-play/node_modules/poi/bin/cli.js:28:1) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3)

help me for solved this problem, thank you !

docute/node_modules/poi-load-config/index.js line28

babel(buildConfigChain) { // Check direct and parent directory return new Promise(resolve => resolve(babelLoadConfig(this.options.cwd, buildConfigChain) || {})) }

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