升级到OJet 5.0.0问题:找不到ojcorebundle.js [英] Upgrade to OJet 5.0.0 issue: ojcorebundle.js not found

查看:104
本文介绍了升级到OJet 5.0.0问题:找不到ojcorebundle.js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

遵循从4.x.x到5.0.0的迁移路径后,我遇到了一个问题,当运行迁移应用程序(使用ojet serve)时,我在浏览器控制台中遇到一些与库有关的错误: -ojcorebundle.js -ojcommoncomponentsbundle.js -oj3rdpartybundle.js

After following the migration path from 4.x.x to 5.0.0, I've came to the issue that when runnig the migrate application (with ojet serve) I get some errors in the browser console, related to the libraries: - ojcorebundle.js - ojcommoncomponentsbundle.js - oj3rdpartybundle.js

检查网络,我发现找不到这些.我还检查了生成的libs文件夹和node_modules,@ oracle文件夹,没有运气.

Checking the network i see that those are not found. I've checked also the generated libs folder and the node_modules, @oracle folder and no luck.

推荐答案

似乎这些文件未包含在v5.0.0中.有一个解决方法.您可以将这些文件手动添加到关联的node_module文件夹中.但是您需要先获取这些文件:

It seems that those files are not included in v5.0.0. There's a workaround. You can add those files manually to the associated node_module folder. But you need to get those files first:

  1. 转到 JET食谱.
  2. 打开开发工具,然后打开网络"面板.
  3. 如果没有列出文件,请重新加载页面.
  4. 由于文件很多,请按"JS"进行过滤.
  5. 找到并下载上述三个文件.
  6. 将它们添加到\ node_modules \ @oracle \ oraclejet \ dist \ js \ libs \ oj \ debug
  7. 运行$ ojet serve
  1. Go to JET Cookbook.
  2. Open dev tools, then the Network panel.
  3. Reload page if there are no files listed.
  4. Filter by "JS" since there are lots of files.
  5. Find and download the mentioned three files.
  6. Add them to \node_modules\@oracle\oraclejet\dist\js\libs\oj\debug
  7. Run $ ojet serve

这篇关于升级到OJet 5.0.0问题:找不到ojcorebundle.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆