[GH-ISSUE #104] Error when trying npm run start #64

Closed
opened 2026-05-05 11:36:46 -06:00 by gitea-mirror · 13 comments
Owner

Originally created by @appsdevpk on GitHub (May 4, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/104

Attached is the output of the console. And i just installed the proton-native and everything went well except when i try to start the app i got this error.

proton-native-error

Originally created by @appsdevpk on GitHub (May 4, 2018). Original GitHub issue: https://github.com/kusti8/proton-native/issues/104 Attached is the output of the console. And i just installed the proton-native and everything went well except when i try to start the app i got this error. ![proton-native-error](https://user-images.githubusercontent.com/516860/39652385-c76ed0c2-5006-11e8-9576-bf309360c430.png)
Author
Owner

@mischnic commented on GitHub (May 6, 2018):

Somehow the dependencies weren't installed correctly. Could you please run npm install (maybe after deleting the node_modules folder).

<!-- gh-comment-id:386893831 --> @mischnic commented on GitHub (May 6, 2018): Somehow the dependencies weren't installed correctly. Could you please run `npm install` (maybe after deleting the `node_modules` folder).
Author
Owner

@appsdevpk commented on GitHub (May 6, 2018):

Here is the out put of npm install and then npm run start
proton native error 2

<!-- gh-comment-id:386897270 --> @appsdevpk commented on GitHub (May 6, 2018): Here is the out put of npm install and then npm run start ![proton native error 2](https://user-images.githubusercontent.com/516860/39676125-97c4d7a8-517e-11e8-9540-faadfae4c924.png)
Author
Owner

@mischnic commented on GitHub (May 6, 2018):

Please the node_modules folder and then run "npm install".

<!-- gh-comment-id:386897452 --> @mischnic commented on GitHub (May 6, 2018): Please the node_modules folder and then run "npm install".
Author
Owner

@Iakow commented on GitHub (May 8, 2018):

Hi! I have the same trouble. Removing node_modules and running "npm install" does not help.

<!-- gh-comment-id:387484120 --> @Iakow commented on GitHub (May 8, 2018): Hi! I have the same trouble. Removing node_modules and running "npm install" does not help.
Author
Owner

@mischnic commented on GitHub (May 8, 2018):

Is windows-build-tools installed? -> npm install --global --production windows-build-tools


@parro-it

<!-- gh-comment-id:387484883 --> @mischnic commented on GitHub (May 8, 2018): Is `windows-build-tools` installed? -> `npm install --global --production windows-build-tools` --- @parro-it
Author
Owner

@Iakow commented on GitHub (May 8, 2018):

Yes.

<!-- gh-comment-id:387486415 --> @Iakow commented on GitHub (May 8, 2018): Yes.
Author
Owner

@mischnic commented on GitHub (May 8, 2018):

Could you please post a list of all files in the "myapp\node_modules\libui-node" folder?

<!-- gh-comment-id:387486937 --> @mischnic commented on GitHub (May 8, 2018): Could you please post a list of all files in the "myapp\node_modules\libui-node" folder?
Author
Owner

@parro-it commented on GitHub (May 8, 2018):

From the logs, it seems @appsdevpk is using windows 32bit. @Iakow are you running on the same platform?

If so, could you please both manually download this file https://github.com/parro-it/libui/releases/download/alpha3.5-004/libui-shared-windows-ia32-alpha3.5-004.tar.gz zip, and decompress it in "myapp\node_modules\libui-node" folder?

<!-- gh-comment-id:387487580 --> @parro-it commented on GitHub (May 8, 2018): From the logs, it seems @appsdevpk is using windows 32bit. @Iakow are you running on the same platform? If so, could you please both manually download this file https://github.com/parro-it/libui/releases/download/alpha3.5-004/libui-shared-windows-ia32-alpha3.5-004.tar.gz zip, and decompress it in "myapp\node_modules\libui-node" folder?
Author
Owner

@parro-it commented on GitHub (May 8, 2018):

Is the file myapp\node_modules\libui-node\nbind.node present?

<!-- gh-comment-id:387488561 --> @parro-it commented on GitHub (May 8, 2018): Is the file `myapp\node_modules\libui-node\nbind.node` present?
Author
Owner

@parro-it commented on GitHub (May 8, 2018):

Also, if you are using windows-build-tools to compile, please make sure you have Visual C++ Redistributable Package per Visual Studio 2013 installed.

<!-- gh-comment-id:387489233 --> @parro-it commented on GitHub (May 8, 2018): Also, if you are using `windows-build-tools` to compile, please make sure you have [Visual C++ Redistributable Package per Visual Studio 2013](https://www.microsoft.com/it-it/download/details.aspx?id=40784) installed.
Author
Owner

@Iakow commented on GitHub (May 8, 2018):

C++ 2013 installation helped.
Thank you!

<!-- gh-comment-id:387491591 --> @Iakow commented on GitHub (May 8, 2018): C++ 2013 installation helped. Thank you!
Author
Owner

@parro-it commented on GitHub (May 8, 2018):

Inatalling C++ 2013 installation helped.

We should add a note somewhere... @msink is doing a beautiful work with CI building on libui: https://github.com/andlabs/libui/pull/358, this problem will be probably solved soon by using Visual Studio 2015 to build prepublished libui binaries

<!-- gh-comment-id:387492879 --> @parro-it commented on GitHub (May 8, 2018): > Inatalling C++ 2013 installation helped. We should add a note somewhere... @msink is doing a beautiful work with CI building on libui: https://github.com/andlabs/libui/pull/358, this problem will be probably solved soon by using Visual Studio 2015 to build prepublished libui binaries
Author
Owner

@appsdevpk commented on GitHub (May 8, 2018):

Installing C++ 2013 Redistributable package resolved the issue

<!-- gh-comment-id:387499024 --> @appsdevpk commented on GitHub (May 8, 2018): Installing C++ 2013 Redistributable package resolved the issue
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#64
No description provided.