Module not found: Error: Can't resolve '../../../public/ueditor/lang/zh-cn/zh-cn.js'

ERROR  Failed to compile with 4 errors                                                                                                                                                                

These relative modules were not found:

* ../../../public/ueditor/lang/zh-cn/zh-cn.js in ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/UEditor.vue?vue&type=script&lang=js&

* ../../../public/ueditor/ueditor.all.js in ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/UEditor.vue?vue&type=script&lang=js&      

* ../../../public/ueditor/ueditor.config.js in ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/UEditor.vue?vue&type=script&lang=js&   

* ../../../public/ueditor/ueditor.parse.min.js in ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/UEditor.vue?vue&type=script&lang=js&

 Module not found: Error: Can't resolve '../../../public/ueditor/lang/zh-cn/zh-cn.js'

 

 

解决方案:

  UEditor 第三方库的缺失,搜索 zh-cn.js ,找到关于ueditor的所有引用,然后把第三方库的相应的库文件全部拷贝进去

 

Module not found: Error: Can't resolve '../../../public/ueditor/lang/zh-cn/zh-cn.js'

上一篇:JDK1.7安装和配置及注意事项


下一篇:js+php分片上传大文件技术