Liu Jinyi

Results 10 comments of Liu Jinyi

大佬,想请教一下,怎样才能在这个简单配置下加点东西 然后支持在nodejs环境下使用import呀

> > 大佬,想请教一下,怎样才能在这个简单配置下加点东西 然后支持在nodejs环境下使用import呀 > > 你好,我理解你的需求应该是想在nodejs中处理es6模块,给你推荐一个文章,阮一峰大佬的[Node.js 如何处理 ES6 模块](https://www.ruanyifeng.com/blog/2020/08/how-nodejs-use-es6-module.html),讲得很通俗易懂,希望可以解决你的问题。 > > 以及[nodejs官方的说明](https://nodejs.org/api/esm.html#modules-ecmascript-modules),也可以看看。 好的,谢谢大佬,受教了!

> > > > 大佬,想请教一下,怎样才能在这个简单配置下加点东西 然后支持在nodejs环境下使用import呀 > > > > > > > > > 你好,我理解你的需求应该是想在nodejs中处理es6模块,给你推荐一个文章,阮一峰大佬的[Node.js 如何处理 ES6 模块](https://www.ruanyifeng.com/blog/2020/08/how-nodejs-use-es6-module.html),讲得很通俗易懂,希望可以解决你的问题。 > > > 以及[nodejs官方的说明](https://nodejs.org/api/esm.html#modules-ecmascript-modules),也可以看看。 > > > > > > 好的,谢谢大佬,受教了!...

大佬,能帮我看下我写的demo吗...(在main.js中引入自己写的文件时报错) 具体就是在background.ts中,第6行的require会报错,说can not find module XXX 我查了一晚上百度和谷歌也不知道为什么... 项目地址: https://github.com/KKKZOZ/system_infomation 报错的位置: https://github.com/KKKZOZ/system_infomation/blob/0a56e369ab65dea30f20fa6760a53aa0bd625243/background.ts#L6 SystemInfoStore内容: https://github.com/KKKZOZ/system_infomation/blob/0a56e369ab65dea30f20fa6760a53aa0bd625243/src/stores/SystemInfoStore.ts#L34 项目结构: ![image](https://user-images.githubusercontent.com/70520782/169705554-99724559-3527-4580-98ea-b955699ce935.png)

> 是的,kubeadm.k8s.io/v1beta1 1.22.5 版本中去掉了。 > > 这个地址 https://cdn.jsdelivr.net/gh/lework/kainstall/kainstall.sh 缓存的还是之前的老文件,可以通过 > > https://ghproxy.com/https://raw.githubusercontent.com/lework/kainstall/master/kainstall-centos.sh > > 下载最新的脚本文件 好的,我今晚再试试

> > I have this problem,too > > @KKKZOZ nihao (mean to hello in Chinese)!You might be able to try vue-cli 5.0.0. this works for me. 哈哈哈哈你好你好 我纠结这个问题好几天了,超级感谢!

> > > > I have this problem,too > > > > > > > > > @KKKZOZ nihao (mean to hello in Chinese)!You might be able to try vue-cli...

> > 同样的问题@vue/cli 4.5.15 webpack 5.65.0 > > ``` > > "dependencies": { > > "monaco-editor": "^0.32.1", > > "monaco-editor-webpack-plugin": "^7.0.1", > > ... > > } > > ```...