Content
View differences
Updated by Aziz Sharipov about 7 years ago
I'm using v 8.3.0, I can't compile the frontend using `RAILS_ENV="production" bundle exec rake assets:precompile.`
As a guide for deployment I'm using [https://github.com/opf/openproject/blob/stable/8/docs/installation/manual/README.md](https://github.com/opf/openproject/blob/stable/8/docs/installation/manual/README.md)
Also I tried everything from this topic and it's still doesn't work [https://community.openproject.com/topics/10645?r=10661](https://community.openproject.com/topics/10645?r=10661)
I checked memory and I have 3+ gb free memory.
These are the errors I have:
```text
WARNING in Invalid font values at 652:668. Ignoring.
ERROR in src/app/modules/hal/helpers/hal-resource-builder.ts(139,26): error TS7017: Element implicitly has an 'any' type because type '{}' has no index signature.
src/app/modules/hal/helpers/hal-resource-builder.ts(166,46): error TS2345: Argument of type 'object' is not assignable to parameter of type 'HalResource'.
Type '{}' is missing the following properties from type 'HalResource': _type, $halType, states, I18n, and 24 more.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! openproject-frontend@0.1.0 build: `ng build --prod && npm run legacy-webpack`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the openproject-frontend@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kapstroy/.npm/_logs/2019-04-03T04_59_16_231Z-debug.log
```
As a guide for deployment I'm using [https://github.com/opf/openproject/blob/stable/8/docs/installation/manual/README.md](https://github.com/opf/openproject/blob/stable/8/docs/installation/manual/README.md)
Also I tried everything from this topic and it's still doesn't work [https://community.openproject.com/topics/10645?r=10661](https://community.openproject.com/topics/10645?r=10661)
I checked memory and I have 3+ gb free memory.
These are the errors I have:
```text
WARNING in Invalid font values at 652:668. Ignoring.
ERROR in src/app/modules/hal/helpers/hal-resource-builder.ts(139,26): error TS7017: Element implicitly has an 'any' type because type '{}' has no index signature.
src/app/modules/hal/helpers/hal-resource-builder.ts(166,46): error TS2345: Argument of type 'object' is not assignable to parameter of type 'HalResource'.
Type '{}' is missing the following properties from type 'HalResource': _type, $halType, states, I18n, and 24 more.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! openproject-frontend@0.1.0 build: `ng build --prod && npm run legacy-webpack`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the openproject-frontend@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kapstroy/.npm/_logs/2019-04-03T04_59_16_231Z-debug.log
```