- 博客(6)
- 收藏
- 关注

原创 Javascript变量与函数的声明与提升
Javascript中变量、函数声明的一些情况总结js编译阶段: 预编译阶段 将代码中的变量声明与声明式函数提前(预编译), 执行阶段 此时变量的赋值等操作才会进行此时变量的赋值等操作才会进行 预编译阶段......
2017-02-13 21:21:15
403
原创 Yarn3 安装依赖没生成 node_modules 目录(Yarn3 install node packages but no generate node_modules directory)
Yarn3 安装依赖没生成 node_modules 目录(Yarn3 install node packages but no generate node_modules directory) 将 Yarn 从 v1 升级到 v3 后,使用 Yarn 3 执行 `yarn install` 安装项目依赖后,没有 `node_modules` 文件夹。
2022-10-31 17:59:13
4813
2
原创 Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime
背景运行一个 React 简历项目的时候,报错如下:Failed to compile../src/App.scss (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--6-oneOf-5-3!./node_modules/sass-loader/dist/cjs.js??r
2022-03-14 12:13:52
5895
原创 Failed to load plugin jsdoc: Cannot find module ‘eslint-plugin-jsdoc‘
在 egg 项目中,初次安装 npm包的时候,报错如下:Oops! Something went wrong! :(ESLint: 5.16.0.ESLint couldn't find the plugin "eslint-plugin-jsdoc". This can happen for a couple different reasons:1. If ESLint is installed globally, then make sure eslint-plugin-jsdoc i.
2021-11-04 20:58:24
1436
原创 Hibernate缓存
1.缓存概念并不是指计算机的CPU一二级缓存或者内存缓存是指为了降低应用程序访问物理数据源的频次,从而提高应用程序性能的一种策略2.为什么要使用缓存?ORM框架访问数据库的效率直接影响应用程序性能,通过使用缓存,优化ORM框架的执行效率显得尤为重要。3.缓存的一般工作原理应用程序-->缓存8命中:返回结果到应用程序中未命中:向数据库查询数据并添加到缓存中-->返回结
2021-02-01 15:12:37
135
原创 Hibernate 2.0--5.0.11各版本创建SessionFactory
在学习过程中,发现版本更替,创建会话工厂方式也不同,在这里稍微总结下; 欢迎评论,多多交流。Configuration conf = new Configuration().configure(); 默认读取hibernate.cfg.xml配置文件,有变动请自行修改。hibernate 2.x以及之前版本创建SessionFactorySessionFactory sessionFactor
2016-10-16 12:31:51
1668
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人