fix/ remove yarn because of error with module dep in prod builds
This commit is contained in:
@@ -36,12 +36,14 @@ Clone this repository locally :
|
|||||||
git clone https://github.com/maximegris/angular-electron.git
|
git clone https://github.com/maximegris/angular-electron.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Install dependencies with your favorite dependencies manager (npm or yarn) :
|
Install dependencies with npm :
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
There is an issue with `yarn` and `node_modules` that are only used in electron on the backend when the application is built by the packager. Please use `npm` as dependencies manager.
|
||||||
|
|
||||||
If you want to generate Angular components with Angular-cli , you **MUST** install `@angular/cli` in npm global context.
|
If you want to generate Angular components with Angular-cli , you **MUST** install `@angular/cli` in npm global context.
|
||||||
Please follow [Angular-cli documentation](https://github.com/angular/angular-cli) if you had installed a previous version of `angular-cli`.
|
Please follow [Angular-cli documentation](https://github.com/angular/angular-cli) if you had installed a previous version of `angular-cli`.
|
||||||
|
|
||||||
|
|||||||
7121
package-lock.json
generated
Normal file
7121
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "angular-electron",
|
"name": "angular-electron",
|
||||||
"version": "1.4.4",
|
"version": "1.5.0",
|
||||||
"description": "Angular 4 with Electron (Typescript + SASS + Hot Reload)",
|
"description": "Angular 4 with Electron (Typescript + SASS + Hot Reload)",
|
||||||
"homepage": "https://github.com/maximegris/angular-electron",
|
"homepage": "https://github.com/maximegris/angular-electron",
|
||||||
"author": {
|
"author": {
|
||||||
|
|||||||
Reference in New Issue
Block a user