Software Archive
Read-only legacy content
17061 Discussions

Intel XDK 3900 Problem (Failed to apply theme)

Adam_Suchi_Hafizulla
342 Views

Hi, i just updated my Intel XDK 3759 to 3900 version. But when i run project in the Simulate tab, i found an error like this:

xdk:client:[2017-03-19T10:20:23.160Z]: (1489918823160): NW: 0.18.9
xdk:client:[2017-03-19T10:20:23.328Z]: (1489918823328): Created new theme: base
xdk:client:[2017-03-19T10:20:23.328Z]: (1489918823328): Registered new theme: base
xdk:client:[2017-03-19T10:20:23.329Z]: (1489918823329): Failed to apply theme: Missing CoreStyle.g in context.
xdk:client:[2017-03-19T10:20:23.329Z]: (1489918823329): Current theme is now: base
xdk:client:[2017-03-19T10:20:23.329Z]: (1489918823329): Loading theme from: ../../public/themes/xdk.json
xdk:client:[2017-03-19T10:20:23.330Z]: (1489918823330): Failed to load theme: xdk { Error: Cannot find module '../../public/themes/xdk.json'
    at Function.Module._resolveFilename (module.js:494:15)
    at Function.Module._load (module.js:437:25)
    at Module.require (module.js:522:17)
    at require (internal/module.js:20:19)
    at importThemeByName (C:\Users\adams\AppData\Local\Intel\XDK\XDK\xdk\core-modules\public\theme.js:17:1049)
    at Object.init (C:\Users\adams\AppData\Local\Intel\XDK\XDK\xdk\core-modules\public\theme.js:17:758) code: 'MODULE_NOT_FOUND' }

So, my project preview is not complate, the CSS i was coding is not working.

Thank for your help.

0 Kudos
3 Replies
PaulF_IntelCorp
Employee
342 Views

Are you referring to a Brackets theme file? If so, the update to node-webkit within the 3900 release (and the update to Brackets) moved the location of such files. Unfortunately, I am not familiar with what you have done so I cannot advise on how to fix it.

0 Kudos
Jino_C_
Beginner
342 Views

have similar issue, if you find anything please help.

xdk:client:[2017-09-01T10:44:07.577Z]: (1504262647578): memlim: 2181038080
xdk:client:[2017-09-01T10:44:08.009Z]: (1504262648009): Intel XDK: 3987
xdk:client:[2017-09-01T10:44:08.009Z]: (1504262648009): Platform: darwin-x64 (16.6.0)
xdk:client:[2017-09-01T10:44:08.010Z]: (1504262648010): System Info:  CPU: 4 X Intel(R) Core(TM) i5-4260U CPU @ 1.40GHz Physical Memory: 4294967296
xdk:client:[2017-09-01T10:44:08.010Z]: (1504262648010): NW: 0.21.3
xdk:client:[2017-09-01T10:44:08.135Z]: (1504262648135): Created new theme: base
xdk:client:[2017-09-01T10:44:08.135Z]: (1504262648135): Registered new theme: base
xdk:client:[2017-09-01T10:44:08.136Z]: (1504262648136): Failed to apply theme: Missing CoreStyle.g in context.
xdk:client:[2017-09-01T10:44:08.136Z]: (1504262648136): Current theme is now: base
xdk:client:[2017-09-01T10:44:08.136Z]: (1504262648136): Loading theme from: ../../public/themes/xdk.json
xdk:client:[2017-09-01T10:44:08.136Z]: (1504262648136): Failed to load theme: xdk { Error: Cannot find module '../../public/themes/xdk.json'
    at Function.Module._resolveFilename (module.js:494:15)
    at Function.Module._load (module.js:437:25)
    at Module.require (module.js:522:17)
    at require (internal/module.js:20:19)
    at importThemeByName (/Applications/Intel XDK/Intel XDK.app/Contents/Resources/app.nw/core-modules/public/theme.js:17:1049)
    at Object.init (/Applications/Intel XDK/Intel XDK.app/Contents/Resources/app.nw/core-modules/public/theme.js:17:758) code: 'MODULE_NOT_FOUND' }

 

0 Kudos
PaulF_IntelCorp
Employee
342 Views

If I understand correctly, you are seeing this error when you try to run your app inside the Simulate tab. Does this happen when you try to run ANY app in the Simulate tab, or only YOUR app? What happens if you create a project based on the "hello cordova" sample app, do you see the same problems or does that project work?

If this is unique to your app, are you able to share a sample app that causes this problem? If so, please ZIP the ENTIRE project folder and attach it to a new post using the "attach files to post" link below the forum edit window.

0 Kudos
Reply