<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007Yq66OCAROkta Identity EngineSingle Sign-OnAnswered2022-04-08T23:23:51.000Z2022-04-08T21:07:23.000Z2022-04-08T23:23:51.000Z

TaraD.32599 (Customer) asked a question.

Getting annoying react warnings when I run the app

I have discovered that the source of the errors is importing '@okta/okta-signin-widget/dist/css/okta-sign-in.min.css'. Using Identity Engine. Embedded app. Every time I run the app, I get 70 warnings that are very annoying but do not stop the app from working properly. I would like to make these warnings go away. They look like:

WARNING in ./node_modules/@okta/okta-signin-widget/dist/css/okta-sign-in.min.css (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./node_modules/@okta/okta-signin-widget/dist/css/okta-sign-in.min.css)

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):

Failed to parse source map from '/root/okta/okta-signin-widget/target/sass/widgets/_mega-drop-down.scss' file: Error: ENOENT: no such file or directory, open '/root/okta/okta-signin-widget/target/sass/widgets/_mega-drop-down.scss'

 @ ./node_modules/@okta/okta-signin-widget/dist/css/okta-sign-in.min.css 8:6-261 22:17-24 26:7-21 58:25-39 59:36-47 59:50-64 63:6-73:7 64:54-65 64:68-82 70:42-53 70:56-70 72:21-28 83:0-231 83:0-231 84:22-29 84:33-47 84:50-64 61:4-74:5

 @ ./src/OktaSignInWidget.js 14:0-64

 @ ./src/Login.js 9:0-50 48:35-51

 @ ./src/App.js 26:0-28 287:44-49

 @ ./src/index.js 10:0-24 33:7-10 36:29-40:3 36:2-40:4 37:18-42


  • Mihai N. (Okta, Inc.)

    Hi @TaraD.32599 (Customer)​ , Thank you for reaching out to the Okta Community!

     

    My advice would be to leverage https://devforum.okta.com/ and take advantage of their expertise. It's more likely to find someone there with knowledge on this subject.

     

     

    Expand Post
This question is closed.
Loading
Getting annoying react warnings when I run the app