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

Module build failed: Error: Couldn't find preset "es2015" relative to directory #33

Closed
unclekitty opened this issue Nov 15, 2016 · 2 comments

Comments

@unclekitty
Copy link

Module build failed: Error: Couldn't find preset "es2015" relative to directory "/Users/wujun/workspace/weex"
at /Users/wujun/workspace/weex/wxapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:299:19
at Array.map (native)
at OptionManager.resolvePresets (/Users/wujun/workspace/weex/wxapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:270:20)
at OptionManager.mergePresets (/Users/wujun/workspace/weex/wxapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:259:10)
at OptionManager.mergeOptions (/Users/wujun/workspace/weex/wxapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:244:14)
at OptionManager.init (/Users/wujun/workspace/weex/wxapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:374:12)
at File.initOptions (/Users/wujun/workspace/weex/wxapp/node_modules/babel-core/lib/transformation/file/index.js:216:65)
at new File (/Users/wujun/workspace/weex/wxapp/node_modules/babel-core/lib/transformation/file/index.js:139:24)
at Pipeline.transform (/Users/wujun/workspace/weex/wxapp/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at transpile (/Users/wujun/workspace/weex/wxapp/node_modules/babel-loader/index.js:38:20)
at Object.module.exports (/Users/wujun/workspace/weex/wxapp/node_modules/babel-loader/index.js:131:12)
@ ./src/weex-bootstrap.we?entry=true 2:22-518

@Jinjiang
Copy link
Contributor

Jinjiang commented Nov 17, 2016

It this a empty project you generated with weex init? Could you please supply more details about your source code or environment? And which command does these error messages come from?
Thanks.

@Jinjiang
Copy link
Contributor

Sorry no response for such a long time. I will close it first util you give us more details about your problem.
Thanks.

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