Software Archive
Read-only legacy content
17061 ディスカッション

Unexpected call to process.exit()

Christian_K_
新規コントリビューター I
2,424件の閲覧回数

Hello,

 

i see this message in "App Preview" and when i add a new Third-Party Plugin, after update to 3900. System MAC OSX.

Unexpected call to process.exit()

 

Best regards

Christian

0 件の賞賛
10 返答(返信)
Alcides_A_
ビギナー
2,424件の閲覧回数

I have the same problem, can anyone help?    MacOX

Matheus_S_2
ビギナー
2,423件の閲覧回数

I have the same problem, can anyone help? macOS

PaulF_IntelCorp
従業員
2,423件の閲覧回数

Please provide more details. App Preview runs on your mobile device, so it should not have any impact on your XDK. Where are you seeing the "process.exit()" call? In App Preview or somewhere in the XDK?

The reason I'm confused is because you refer to adding a plugin in the XDK and reference App Preview, which are totally isolated from each other. Can you provide a specific example that would allow me to reproduce and understand precisely what is going on, I need that in order to figure out a workaround or direct engineering in order to find a solution.

Screenshots or a video are very helpful to help me understand the issue.

Christian_K_
新規コントリビューター I
2,423件の閲覧回数

I see this message everything after add a plugin, for example camera plugin (Screenshot). And i see this message once in app preview.

PaulF_IntelCorp
従業員
2,424件の閲覧回数

Is there a config.xml file in the root of your project folder? If so, rename it or delete it and let me know if that fixes the issue.

Christian_K_
新規コントリビューター I
2,424件の閲覧回数

I renamed the config.xml and the problem is the same.

PaulF_IntelCorp
従業員
2,423件の閲覧回数

Create a new project using the "hello cordova" sample. Can you simulate/test/build that project?

Christian_K_
新規コントリビューター I
2,424件の閲覧回数

I can`t create the hello world project. I see this error (Screenshot).

PaulF_IntelCorp
従業員
2,424件の閲覧回数

I see you are on a Mac. There was a change in how and where the XDK local files are installed that occasionally causes trouble. The simplest way to resolve it is to a) exit the XDK and b) open a terminal window and type the following at the prompt:

rm -rf ~/Library/Application\ Support/XDK

You will lose the list of projects in the XDK project list, but you can open your projects by going to the Projects tab and using the GREEN button at the lower left to "Open an Intel XDK Project." Then find the <project-name>.xdk file for the project of interest and open it to open your project.

But first, you might try creating the "hello world" project to be sure that fixed the issue.

Justin_W_3
ビギナー
2,424件の閲覧回数

Tried the above and doesn't make any difference for me except all my projects need to be added in manually

Has anyone got this working on Mac? I'm on MacOS Sierra 10.12.6 if that helps?

返信