Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

I had a trouble with getting JET application to be built with CDN and `text` plugin.

2884843Feb 18 2019 — edited Feb 21 2019

Changed "use" to "cdn" in path_mapping.json and getting error

Error: Error: TypeError: Cannot read property 'normalize' of undefined

In module tree:

    main-temp

      app

        viewModels/new-order-screen

    at Object.<anonymous> (..invmgmtplugin\node_modules\requirejs\bin\r.js:1218:35)

new-order-screen.js looks like

"use strict";

define([

    'ojs/ojcore',

    'knockout',

    './abstract-screen-view-model',

    'app-constants',

    'models/order-collection',

    'models/order-model',

    'models/order-item-model',

    'storage/persistent-storage',

   'text!icons/new-order-screen-icon.svg',

    'ojs/ojarraydataprovider',

The question is what am I doing wrong and how to use text and css plugins with use=cdn?

JET 6.1.0

This post has been answered by 2884843 on Feb 21 2019
Jump to Answer
Comments
Post Details
Added on Feb 18 2019
3 comments
346 views