Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Build Angular Nw.Js App #145

Open
kriefsacha opened this issue Jun 17, 2019 · 2 comments
Open

Build Angular Nw.Js App #145

kriefsacha opened this issue Jun 17, 2019 · 2 comments

Comments

@kriefsacha
Copy link

kriefsacha commented Jun 17, 2019

Hi ,
I followed this tutorial to build an angular with nw.js application :
link

I finished with it and i wanted to build for windows it so i used your package.
The problem is when i was running it i was running npm start from the script :

"scripts": {
    "ng": "ng",
    "start": "concurrently \"ng serve --port=8964\" \"nw .\"",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e",
    "windowsbuild": "build --tasks win-x86,win-x64 --mirror https://dl.nwjs.io/ .",
  }

But when i try to run the x86 output i have this screen :

image

I think it's not running the command , but i'm quite new in this and i don't know what i'm supposed to do , what's recommanded ..

Thank you !!

@TheJaredWilcurt
Copy link

@victoroliveira
Copy link

@kriefsacha I had the same problem. Probably you are missing the server.js file. Don't forget to install express package as dependency and set "node-main": "" in package.json.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants