Comments (2)
2.1 升级到 babel6 了,需要做一些修改。具体可以看这里:
https://thinkjs.org/zh-cn/doc/2.1/upgrade.html#toc-cc6
from firekylin.
master分支上 运行gulp还是会出错。 目前暂时使用2.0分支进行学习
**备注:**已配置.babelrc,下载对应的plugins
版本信息:
node: v5.5.0
npm: 3.6.0
gulp-babel: [email protected]
错误如下:
[18:57:31] Requiring external module babel-core/register
/Users/jiangtao/Places/Code/Github_Code/development/imjiangtao.com/firekylin/node_modules/babel-core/lib/transformation/file/options/option-manager.js:327
throw new Error("Couldn't find preset " + JSON.stringify(val) + " relative to directory " + JSON.stringify(dirname));
^
Error: Couldn't find preset "es2015" relative to directory "/Users/jiangtao/Places/Code/Github_Code/development/imjiangtao.com/firekylin"
at OptionManager.mergePresets (/Users/jiangtao/Places/Code/Github_Code/development/imjiangtao.com/firekylin/node_modules/babel-core/lib/transformation/file/options/option-manager.js:327:17)
at OptionManager.mergeOptions (/Users/jiangtao/Places/Code/Github_Code/development/imjiangtao.com/firekylin/node_modules/babel-core/lib/transformation/file/options/option-manager.js:287:12)
at OptionManager.addConfig (/Users/jiangtao/Places/Code/Github_Code/development/imjiangtao.com/firekylin/node_modules/babel-core/lib/transformation/file/options/option-manager.js:221:10)
at OptionManager.findConfigs (/Users/jiangtao/Places/Code/Github_Code/development/imjiangtao.com/firekylin/node_modules/babel-core/lib/transformation/file/options/option-manager.js:364:16)
at OptionManager.init (/Users/jiangtao/Places/Code/Github_Code/development/imjiangtao.com/firekylin/node_modules/babel-core/lib/transformation/file/options/option-manager.js:412:12)
at compile (/Users/jiangtao/Places/Code/Github_Code/development/imjiangtao.com/firekylin/node_modules/babel-register/lib/node.js:87:26)
at loader (/Users/jiangtao/Places/Code/Github_Code/development/imjiangtao.com/firekylin/node_modules/babel-register/lib/node.js:130:14)
at Object.require.extensions.(anonymous function) [as .js] (/Users/jiangtao/Places/Code/Github_Code/development/imjiangtao.com/firekylin/node_modules/babel-register/lib/node.js:140:7)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
from firekylin.
Related Issues (20)
- 目前还不支持Mysql 8.X HOT 1
- sitemap 问题 HOT 9
- 张博博客
- Gitalk评论集成认证更新方式 HOT 2
- 代码块不能按指定的格式高亮 HOT 1
- 请问一下这个项目可以部署到GitHub Pages上吗 HOT 7
- 如何在公安部备案号前加上备案图标 HOT 4
- 如何获取网站的所有文章的地址呢? HOT 2
- 请问哪里有更多的主题列表,或者有什么投稿渠道吗 HOT 5
- 分享一个自己写的主题 HOT 3
- TypeError: Cannot read property 'children' of undefined HOT 2
- RSS订阅路径错误导致404 HOT 4
- 文本编辑器能支持更多的输入形式吗 HOT 2
- [BUG]标题包含 markdown 代码语法时 TOC 链接错误
- 提一个可能不算bug的BUg HOT 2
- 主题管理,颜色设置,透明度调节条无法移动 HOT 1
- Hi buddy
- post cate lost.
- 请问现在适配vercel了么? HOT 2
- 主题编辑功能不可用 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firekylin.