Git Product home page Git Product logo

tania-core's People

Contributors

adhatama avatar bepitulaz avatar deepsource-autofix[bot] avatar dependabot[bot] avatar gkgranada avatar harkce avatar jhonatas-mendes avatar joelschutz avatar jokosu10 avatar kerwinjorbina avatar kosnick avatar lynxluna avatar pablojimpas avatar purwandi avatar retnoika avatar saosangmo avatar suciptoid avatar trendspotter avatar wotnak avatar yasintze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tania-core's Issues

Can't log in with default username & password

Hello, I've followed the installation steps exactly.

When I try the default user/pass of tania/tania, I cannot log in.

I've checked the database file, tania.db and it shows the default user account is in there.
It seems for some reason the login page is unable to read that file?

Any help would be much appreciated.

My conf.json looks like this:

"tania_persistence_engine": "sqlite",
"demo_mode": true,
"upload_path_area": "uploads/areas",
"upload_path_crop": "uploads/crops",
"sqlite_path": "db/sqlite/tania.db",
"mysql_host": "127.0.0.1",
"mysql_port": "3306",
"mysql_dbname": "tania",
"mysql_user": "root",
"mysql_password": "root",
"redirect_uri": "http://localhost:8080/",
"client_id": "f0ece679-3f53-463e-b624-73e83049d6ac"

Export all data from SQL to CSV.

Create a new menu to export all data from the SQL database to CSV, so that users can import that data to other software easily.

GLIBC_2.28' not found

Trying run the build for tania-v1.7-linux. When I do, I get the following error. As far as I can tell that is not something that is easy to fix on a system. I have tried the update commands but they do not update my version.

./tania-core: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28' not found (required by ./tania-core)`

Can't add new areas, crops, resevoirs, tasks.

Hello, after a fresh install of tania-core I'm unable to add anything via the UI. The initial add allows me to add a single Area, and a resevoir, but after that, any "Add" button I click on seems to do nothing, though I do see requests in the dev tools that look like this whenever I click Add x. For Example, on the Areas, page if I click the "Add Area" button, this is the request I see:

GET http://127.0.0.1:8080/api/farms/8094aef6-711e-4954-8548-732556f50ae7/reservoirs

And the response:

{"data":[{"uid":"0c2868e1-093a-463d-a6ea-39ce913188d4","name":"Etang","water_source":{"type":"TAP","capacity":0},"farm":{"uid":"8094aef6-711e-4954-8548-732556f50ae7","name":"Selby"},"notes":[{"uid":"b27d6dad-ef7d-4731-b8bd-ff2e8c2a4155","content":"This works. ","created_date":"2019-02-11T15:03:41-05:00"}],"created_date":"2019-02-11T11:33:30-05:00","installed_to_area":[{"uid":"a41a319c-a96c-40af-946a-930ca8575a38","name":"Potager"}]}]}

I also see log entires in the stdout of tania-core that look like this:

INFO[1710] Response Info                                 host="localhost:8080" ip="::1" method=GET request_id=hKQFj4KZhdTWqo9pJRHD7pchRj9Pzlzh roundtrip=246 roundtrip_human="246.556µs" status=200 uri=/api/farms/inventories/materials/available_plant_type user_agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"

I tried the about a month ago on 1.5.1 and am trying again now on 1.6. Here's info on my system:

[tania-core (v1.6.0)]$ pwd
/Users/gabriel.guzman/src/github.com/Tanibox/tania-core

[tania-core (v1.6.0)]$ go version
go version go1.12.1 darwin/amd64

[tania-core (v1.6.0)]$ node -v
v10.15.1

[tania-core (v1.6.0)]$ git status
On branch v1.6.0
nothing to commit, working tree clean

[tania-core (v1.6.0)]$ dep ensure

[tania-core (v1.6.0)]$ npm install
npm WARN [email protected] requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.

audited 14853 packages in 9.813s
found 16 vulnerabilities (5 low, 10 moderate, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

PDOException:

So close...

Took a good while to get the environment setup and running but go there! But now I am having a connection issue I cannot resolve.

this worked fine:

root@localhost:/var/www/vhosts/sweetwaterurbanfarms.com/farm.sweetwaterurbanfarms.com# ./tania-core INFO[0000] Using config file at /var/www/vhosts/sweetwaterurbanfarms.com/farm.sweetwaterurbanfarms.com/conf.json INFO[0000] Using mysql persistance engine INFO[0000] Using MySQL at localhost:3306/tania INFO[0000] DDL file executed INFO[0000] User created with default username and password

but then I get this error when I try to launch the site:

PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in lock_may_be_available() (line 167 of /homepages/30/d692292546/htdocs/sweetwaterfarm/includes/lock.inc).

thanks!

`nmp run dev` fails re: webpack.js

OK, so now on the step of npm run dev in the install process and have hit this error:

npm run dev

> @ dev /home/me/go/src/github.com/Tanibox/tania-core
> npm run development


> @ development /home/me/go/src/github.com/Tanibox/tania-core
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

/home/me/go/src/github.com/Tanibox/tania-core/node_modules/laravel-mix/setup/webpack.config.js:24
let WebpackConfig = require('../src/builder/WebpackConfig');
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at requireConfig (/home/me/go/src/github.com/Tanibox/tania-core/node_modules/webpack/bin/convert-argv.js:97:18)
    at /home/me/go/src/github.com/Tanibox/tania-core/node_modules/webpack/bin/convert-argv.js:104:17
    at Array.forEach (native)

npm ERR! Linux 4.13.0-36-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "development"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ development script 'cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the  package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs 
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls 
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

No error messages when farmer enters non numerical and non decimal points value into the price per unit textfield.

Hi, I have tried to enter non-numerical and non-decimal points value into price per unit textfield in areas page by enter ten into it. However, there is no error message shown below the price per unit text field. In order to alert farmer to enter numerical and decimal point value into the price per unit textfield, system should show an error message “the price per unit field must be numeric and may contain decimal points” below the Area Name text field.

403 Error

Decided to try to build again. Server started just fine.

root@localhost:/var/www/vhosts/sweetwaterurbanfarms.com/farm.sweetwaterurbanfarms.com# ./tania-core
INFO[0000] Using config file at /var/www/vhosts/sweetwaterurbanfarms.com/farm.sweetwaterurbanfarms.com/conf.json
INFO[0000] Using mysql persistance engine
INFO[0000] Using MySQL at 127.0.0.1:3306/tania
INFO[0000] DDL file executed
INFO[0000] User tania has already created

Now I get a 403 error on the server. I cleared browser cache etc.

Database file is overwritten after server restart

My steps when I got the bug:

  1. Built a binary from the source.
  2. Ran the binary as usual. I ran ./tania-core &. Then I filled Tania with data.
  3. Killed the pid.
  4. Changed redirect_uri in conf.json to another hostname.
  5. Ran the binary again with ./tania-core &.

Voiilaaa...the entire data was wiped out. I had to start from a clean slate again 😌

Problem release files

I am currently working on a localization for pt_BR, but unfortunately I can't install the software in my machine(MacOS). I tried running ubuntu in a virtual machine, but every time I try to run the program it "permission denied" error. Not even in root it works.

Any suggestions?

npm error "node build.js" nodent-runtime

npm ERR! Linux 4.13.0-36-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! [email protected] install: `node build.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nodent-runtime package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs nodent-runtime
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls nodent-runtime
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

here are a few lines above this from the debug log

389603 warn optional Skipping failed optional dependency /chokidar/fsevents:
389604 warn notsup Not compatible with your operating system or architecture: [email protected]
389605 warn optional Skipping failed optional dependency /watchpack/chokidar/fsevents:
389606 warn notsup Not compatible with your operating system or architecture: [email protected]
389607 warn optional Skipping failed optional dependency /webpack-dev-server/chokidar/fsevents:
389608 warn notsup Not compatible with your operating system or architecture: [email protected]
389609 warn [email protected] requires a peer of ajv@^6.0.0 but none was installed.
389610 verbose stack Error: [email protected] install: `node build.js`
389610 verbose stack spawn ENOENT
389610 verbose stack     at ChildProcess. (/usr/share/npm/lib/utils/spawn.js:17:16)
389610 verbose stack     at emitTwo (events.js:87:13)
389610 verbose stack     at ChildProcess.emit (events.js:172:7)
389610 verbose stack     at maybeClose (internal/child_process.js:821:16)
389610 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
389611 verbose pkgid [email protected]

MQTT gateway plans?

This seems like a really cool project!

I read on the road map that you are planning to add MQTT broker functionality or at least an interface to it?

Have you considered using Ejabberd for it? They recently added MQTT broker functionality to what is otherwise a really stable and scaleable XMPP server. It is also really low resource and runs without issues on a RasberryPI or similar.
See: https://blog.process-one.net/ejabberd-19-02-the-mqtt-edition/

This would also open Tania to all sorts of cool remote control and communication via XMPP.

There are some good XMPP libraries in Go:
https://github.com/FluuxIO/go-xmpp
https://github.com/mattn/go-xmpp

instructions, how to add livestock, employees, etc

In the menu I only have options to add Materials, Tasks and in Production I can only add Areas, Crops and Reservoirs. Also where could I edit the farm properties such as longitude/latitude after creating the farm? Also why does an Area have to be associated with a Reservoir (we do not irrigate our fields)?

here is a screenshot of what I see:

screenshot from 2018-04-14 10-49-11

Make `Reservoir` optional from `Area` domain.

In the current version of Tania, users must have a reservoir to create an area. This will become a problem for users who take their irrigation from unmeasurable (difficult to measure) sources such as a dam, tap water, and well.

This change will affect the backend and the front-end.

You can start the enhancement from Area domain https://github.com/Tanibox/tania-core/blob/master/src/assets/domain/area.go and the front-end https://github.com/Tanibox/tania-core/blob/master/resources/js/pages/intro/area.vue

FTBFS in "npm run"

Current "master" FTBFS in npm run dev as follows:

$ npm run dev

> dev                                                                                                                                                        
> npm run development                                                                                                                                        


> development                                                                                                                                                
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --mode development --progress --hide-modules                                            

clean-webpack-plugin: /mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/public has been removed.                                                                     
98% after emitting swPrecacheSkipping static resource "public/bundle.3e253c3292bbb4ddc89b.js" (5.4 MB) - max size is 2.1 MB
Total precache size is about 14.8 kB for 17 resources.
Webpack Bundle Analyzer saved report to /mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/public/report.html
Hash: 6f21b4b0330667912e6a
Version: webpack 4.44.2
Time: 6145ms
Built at: 01/12/2020 2:44:06 pm
                                                       Asset       Size  Chunks                         Chunk Names
  MaterialIcons-Regular.eot?e79bfd88537def476913f3ed52f4f4b3    140 KiB          [emitted]              
  MaterialIcons-Regular.ttf?a37b0c01c0baf1888ca812cc0508f6e2    125 KiB          [emitted]              
MaterialIcons-Regular.woff2?570eb83859dc23dd0eec423a49e147fe   43.3 KiB          [emitted]              
 MaterialIcons-Regular.woff?012cf6a10129e2275d79d6adac7f3b02   56.3 KiB          [emitted]              
                              bundle.3e253c3292bbb4ddc89b.js   5.15 MiB  bundle  [emitted] [immutable]  bundle
           fa-solid-900.eot?8ac3167427b1d5d2967646bd8f7a0587    200 KiB          [emitted]              
           fa-solid-900.svg?664de3932dd6291b4b8a8c0ddbcb4c61    896 KiB          [emitted]              
           fa-solid-900.ttf?205f07b3883c484f27f40d21a92950d4    200 KiB          [emitted]              
         fa-solid-900.woff2?8e1ed89b6ccb8ce41faf5cb672677105   78.4 KiB          [emitted]              
          fa-solid-900.woff?4451e1d86df7491dd874f2c41eee1053    102 KiB          [emitted]              
                                                  index.html   1.65 KiB          [emitted]              
                                js/0.59efc3372bbb5b2d74d6.js  809 bytes       0  [emitted] [immutable]  
                                js/1.a01707e0b88a99027a69.js  809 bytes       1  [emitted] [immutable]  
                               js/10.1eecac77c2d434baa17b.js  810 bytes      10  [emitted] [immutable]  
                               js/11.2d67b6265823ee5f3088.js  810 bytes      11  [emitted] [immutable]  
                               js/12.489f9bfa5f9192d98cfa.js  835 bytes      12  [emitted] [immutable]  
                               js/13.834f82d2cc7b6eb28f30.js  865 bytes      13  [emitted] [immutable]  
                               js/14.d27e92cfa7be688fc54c.js  840 bytes      14  [emitted] [immutable]  
                               js/15.c37769f7ca13890f165b.js  810 bytes      15  [emitted] [immutable]  
                                js/2.c23f76bac478a0653201.js  814 bytes       2  [emitted] [immutable]  
                                js/3.d94f186222cfbe43236f.js  819 bytes       3  [emitted] [immutable]  
                                js/4.fb1ecf4d8aaa4a039a44.js  839 bytes       4  [emitted] [immutable]  
                                js/5.367e1335d6a1a4806db2.js  809 bytes       5  [emitted] [immutable]  
                                js/6.a23c6f908dcb7f63b408.js  814 bytes       6  [emitted] [immutable]  
                                js/7.fc9cd6e259d56932871f.js  834 bytes       7  [emitted] [immutable]  
                                js/8.063d9b3f58697e360166.js  839 bytes       8  [emitted] [immutable]  
                                js/9.119dc5cc033b0ef18807.js  779 bytes       9  [emitted] [immutable]  
              layers-2x.png?4f0283c6ce28e888000e978e537a6a56   1.23 KiB          [emitted]              
                 layers.png?a6137456ed160d7606981aa57c559898  696 bytes          [emitted]              
            marker-icon.png?2273e3d8ad9264b7daa5bdbf8e6b47f8   1.43 KiB          [emitted]              
    sourcesanspro-bold.woff?1146f3f229f5a3d3c711f0922ea2eb87     26 KiB          [emitted]              
   sourcesanspro-light.woff?7951903bff82a82e7cde0396dfc9d80c   25.9 KiB          [emitted]              
         sourcesanspro.woff?c4f39c8cef7f1746da98c25e82b76f29   26.6 KiB          [emitted]              
Entrypoint bundle = bundle.3e253c3292bbb4ddc89b.js
ERROR in ./resources/js/pages/farms/reservoir.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 73:13-50
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/components/app.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/app.js 8:0-48 51:15-27
 @ multi ./resources/js/app.js

ERROR in ./resources/js/components/error.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/component.js 1:0-50 3:16-28 5:35-47
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/crop.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 109:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/home.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 13:13-39
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/settings/account.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 145:13-51
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/auth/login.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 19:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/inventories/materials.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 136:13-56
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/intro/farm.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 28:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/tasks/task.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 127:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/intro/reservoir.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 37:13-50
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/crop-notes.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 118:13-51
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/intro/area.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 46:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/crops.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 100:13-46
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/create.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 55:13-47
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/area.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 91:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/reservoirs.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 64:13-51
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/areas.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 82:13-46
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/crop-notes.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 118:13-51
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/components/app.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/app.js 8:0-48 51:15-27
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/reservoirs.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 64:13-51
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/areas.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 82:13-46
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/create.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 55:13-47
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/area.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 91:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/intro/area.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 46:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/crops.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 100:13-46
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/intro/reservoir.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 37:13-50
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/reservoir.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 73:13-50
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/intro/farm.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 28:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/tasks/task.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 127:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/auth/login.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 19:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/inventories/materials.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 136:13-56
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/home.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 13:13-39
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/settings/account.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 145:13-51
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/components/error.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/component.js 1:0-50 3:16-28 5:35-47
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/crop.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
    at Object.module.exports (/mnt/NVMe/src/PKG-GO/NEW.tania/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 109:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js
Child html-webpack-plugin for "index.html":
     1 asset
    Entrypoint undefined = index.html
npm ERR! code 2
npm ERR! path /mnt/NVMe/src/PKG-GO/NEW.tania/tania-core
npm ERR! command failed
npm ERR! command sh -c cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --mode development --progress --hide-modules

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/hawk/.npm/_logs/2020-12-01T03_44_08_659Z-debug.log
npm ERR! code 2
npm ERR! path /mnt/NVMe/src/PKG-GO/NEW.tania/tania-core
npm ERR! command failed
npm ERR! command sh -c npm run development

Can't login default user and password

Hi all from Brazil, I'm just started use Tania now on Debian 10 and can't login with default user and password. I used it in two different browsers, but I couldn't login and can't see the logs errors where are.
Someone to help me please?

Tania-FarmOS

Localization incomplete

Some of the terms in the UI are not included in the .POT file or have some issues. Here goes a list.

  1. "Hello! Can you tell me a little
    about your farm?" -- It is on the file, but there is a
    in the middle of the sentence. In the page it breaks after "little"
  2. The options for Farm Type -- The black statement "Select Type" is ok, but the options are not included in the POT.
  3. "Country" -- The text is not included in the POT
  1. "Awesome! Now let's create a new
    water source for your farm." -- Same issue of the previous page.
  2. The options for Source -- not included in the POT.
  3. "Capacity(litre)" -- not included in the POT
  1. The options of Size Units -- Not included in the POT
  2. The options of Type -- This appear in the POT, but in this page are still in English.
  3. The options of Location -- Not included in the POT
  1. Tasks list Due Date -- The term is included in the file and is correct in the form, but it still in English in the list of tasks.
  2. "Production" -- Not included in the POT
  1. "Seeding" and "Growing" -- These are included in the POT, but are in English on the list.
  2. "Size" and Units -- This is included in the POT, but are in English on the list. The Units are not included.
  3. "Location" -- In the intro is ok, but in the Add New Area form is in English.
  4. "Select Reservoir" -- In the intro is ok, but in the Add New Area form is in English.
  5. "Select Photo" -- In the intro is ok, but in the Add New Area form is in English.
  6. "Save" and "Cancel" -- These are included in the POT, but are in English on the form.
  1. Time since seeding -- The column header is ok, but the time information(eg days ago, hours ago) is not included in the POT.
  2. Select activity type of this crop batch options -- These are included in the POT, but are in English on the form.
  3. "Area" -- This is included in the POT, but are in English on the form.
  4. "Plant Type" and options -- This is included in the POT, but are in English on the list. The options are not included.
  5. "Crop Variety" and "-select crop variety-" -- This is included in the POT, but are in English on the list. "-select crop variety" is not included.
  6. "Container Quantity" -- Not included in the POT
  7. "Container Type" and options -- Not included in the POT
  1. Options "Safety", "Sanitation" and "Pest Control" -- These are included in the POT, but are in English on the form and menus.
  2. Colored Labels -- The text and ok, but these appeared in the wrong tasks on the list. The list
    in the Dashboard in ok.
  1. Type of Material options -- Some are included in the POT and other are not, but all appear in English.
  2. Type of Plant options -- Not included in the POT
  3. Unit optiond -- Some are included in the POT and other are not, but all appear in English.
  • Global
  1. "Made for the ♥ of plants" -- This is included in the POT, but are in English on the page.
  2. Calendar -- The Calendar is in English and is not included in the POT. It sees like part of another application.

Move the map and its attributes from the `Farm` domain to the `Area` domain.

The first time users use Tania, they must choose their farm location by clicking on the map. We realize that this feature is useless for the farm level.

It's better to move the map to the area level so that users can draw a geoJSON polygon to the map for each area. If users have the geoJSON data of each area, they can integrate it with other 3rd party services such as plant health analysis service or maybe to fly an autonomous drone.

Any thought about this? Let's discuss.

package github.com/labstack/echo/v4: cannot find package "github.com/labstack/echo/v4" in any of:

Hi all, trying to build this and just having a devil of time. Almost there but now have this error when I run

`> @ dev /var/www/vhosts/sweetwaterurbanfarms.com/farm.sweetwaterurbanfarms.com

npm run development

@ development /var/www/vhosts/sweetwaterurbanfarms.com/farm.sweetwaterurbanfarms.com
cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --mode development --progress --hide-modules

/var/www/vhosts/sweetwaterurbanfarms.com/farm.sweetwaterurbanfarms.com/node_modules/webpack/bin/webpack.js:90
let notify =
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3

npm ERR! Linux 4.4.0-134-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "development"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! @ development: cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --mode development --progress --hide-modules
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ development script 'cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --mode development --progress --hide-modules'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --mode development --progress --hide-modules
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /var/www/vhosts/sweetwaterurbanfarms.com/farm.sweetwaterurbanfarms.com/npm-debug.log

npm ERR! Linux 4.4.0-134-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "dev"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! @ dev: npm run development
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script 'npm run development'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run development
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
`

Go 1.12 and Update Go Dependencies

I got a report from someone that tried to install Tania on Raspberry Pi about broken dependency. As we know, dep tool doesn't have support yet for the ARM architecture so that the only way to get the dependency is by using go get. But, go get always blindly fetch the new version of libraries that can break the system.

A problem arose from Labstack Echo: cannot find package github.com/labstack/echo/v4.

I will test Tania 1.6 with new Go 1.12 and try to update all Go dependencies. For now, if anyone interested to use Tania on Raspberry Pi, the only best solution is cross-compiling it from your computer.

Moving from Vue to React (Next.js)

Why do we we change?
This project was vacuuming in development a new feature about more than a year since 2020 to 2021 due to our business turmoil. Our frontend dependencies are getting obsolete and can't be built with the new Yarn/NPM.

In the end of 2021, my co-founder and I closed our business. But, we still passionate to maintain Tania project independently because we love it. We decided to start again the development as a community project in the end of 2021.

Due to my familiarity with React (and I'm a full-stack JS dev in my current daily job), I decided to rewrite the frontend with it. Now, Tania already has the new front-end that is developed in Next.js framework. You can see it inside this directory.

What to do next?

Integrating it with our Go backend.

Customization

Hi guys! how can I change the colors and the text of this program? can I do it?

Containerise Tania with Docker

To make Tania easier to install, it will be better if we can containerise Tania. Hence, the user can install it with less hassle on the various device that supports Docker. Please, help me to do that. Thank you.

Note: Put the dockerfile on the master branch. The 2.0.0-dev branch will follow it.

paths to db in conf.json

i installed a newer version of golang via a PPA which broke go get in several ways, so i cloned the project manually, ran npm install successfully after editing the conf.json file (which by the way needs to replace the tania-server references with tania-core) but when i try to run go run main.go i get this error:

2018/04/13 08:14:02 Using 'conf.json' configuration
2018/04/13 08:14:02 Using sqlite persistance engine
2018/04/13 08:14:02 Creating database file /home/me/go/src/github.com/Tanibox/tania-server/db/sqlite/tania.db
2018/04/13 08:14:02 Using SQLite at /home/me/go/src/github.com/Tanibox/tania-server/db/sqlite/tania.db
2018/04/13 08:14:02 Executing DDL file for /home/me/go/src/github.com/Tanibox/tania-server/db/sqlite/tania.db
panic: unable to open database file

goroutine 1 [running]:
main.initSqlite(0xc4201fe230)
	/home/me/.local/share/Trash/files/tania-core.3/main.go:365 +0x368
main.main()
	/home/me/.local/share/Trash/files/tania-core.3/main.go:49 +0xd0b

but i had started from a fresh install and had edited the conf.json to replace tania-server with tania-core, where is it getting this path to tania-server?

Localization

can i translate or add some ui language?)
my language is Ukrain

Error while building application

Hello,

I have an error while building the application (npm):

This error in particular seems to repeat itself:

ERROR in ./resources/js/components/app.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
   at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
   at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
@ ./resources/js/app.js 8:0-48 51:15-27
@ multi ./resources/js/app.js

Here is the rest of the logs:

Hash: 92ff731e4713ae3323ec
Version: webpack 4.42.1
Time: 23006ms
Built at: 04/06/2020 5:07:31 PM
 33 assets
Entrypoint bundle = bundle.css bundle.487fefac8d60c8eb1225.js

ERROR in ./resources/js/components/app.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/app.js 8:0-48 51:15-27
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/home.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 13:13-39
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/auth/login.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 19:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/components/error.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/component.js 1:0-50 3:16-28 5:35-47
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/intro/farm.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 28:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/create.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 55:13-47
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/intro/reservoir.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 37:13-50
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/intro/area.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 46:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/reservoir.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 73:13-50
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/area.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 91:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/reservoirs.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 64:13-51
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/areas.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 82:13-46
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/crop.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 109:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/tasks/task.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 127:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/inventories/materials.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 136:13-56
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/crops.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 100:13-46
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/crop-notes.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 118:13-51
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/settings/account.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):


Vue packages version mismatch:

- [email protected] (/tania-core/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/tania-core/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

 @ ./resources/js/router.js 145:13-51
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/components/app.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/app.js 8:0-48 51:15-27
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/home.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 13:13-39
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/auth/login.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 19:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/components/error.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/component.js 1:0-50 3:16-28 5:35-47
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/intro/farm.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 28:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/create.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 55:13-47
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/intro/reservoir.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 37:13-50
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/intro/area.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 46:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/reservoir.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 73:13-50
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/area.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 91:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/reservoirs.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 64:13-51
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/areas.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 82:13-46
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/crop.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 109:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/tasks/task.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 127:13-45
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/inventories/materials.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 136:13-56
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/crops.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 100:13-46
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/farms/crop-notes.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 118:13-51
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js

ERROR in ./resources/js/pages/settings/account.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
    at parse (/tania-core/node_modules/vue-loader/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
    at Object.module.exports (/tania-core/node_modules/vue-loader/lib/index.js:67:22)
 @ ./resources/js/router.js 145:13-51
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js
Child html-webpack-plugin for "index.html":
     1 asset
    Entrypoint undefined = index.html
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/sass-loader/dist/cjs.js!resources/sass/app.scss:
    Entrypoint mini-css-extract-plugin = *
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ production: `cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --mode production --progress --hide-modules`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the @ production 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!     /root/.npm/_logs/2020-04-06T17_07_31_977Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ prod: `npm run production`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the @ prod 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!     /root/.npm/_logs/2020-04-06T17_07_33_173Z-debug.log

Can't build from source: cannot find package "github.com/labstack/echo/v4"

Hi, I'm trying to build Tania from source using the build instructions on the README.md but after typing go get I get the following error:

package github.com/labstack/echo/v4: cannot find package "github.com/labstack/echo/v4" in any of:
	/usr/lib/go-1.10/src/github.com/labstack/echo/v4 (from $GOROOT)
	/home/grojas/go/src/github.com/labstack/echo/v4 (from $GOPATH)
package github.com/labstack/echo/v4/middleware: cannot find package "github.com/labstack/echo/v4/middleware" in any of:
	/usr/lib/go-1.10/src/github.com/labstack/echo/v4/middleware (from $GOROOT)
	/home/grojas/go/src/github.com/labstack/echo/v4/middleware (from $GOPATH)

Machine
Linux chbk-gllm-6p 4.16.18-galliumos #1 SMP PREEMPT Sun Jun 23 04:14:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Go Version
go version go1.10.4 linux/amd64

Creating the installation system to setup username, password, and database engine.

When users download and running the executable file of Tania, they will have a default username tania and the default password tania. This is not good. Ideally, users can define their desired username and password since the beginning.

It will be better if users can set up his database engine easier from a web GUI instead of a JSON file.

Restructuring the project repository for better separation of concern.

I'm going to restructure the project repository and make the source code clearer. My plan is making the directory structure looks like this:

|- readme.md
|- backend
|---- main.go
|---- go.mod
|---- other_backend_src
|- frontend
|---- storybook
|---- package.json
|---- other_frontend_src
|- languages
|---- locale
|- scripts
|---- build_script.sh

I hope this structure can help other contributors navigate and explore this project clearer than before. Furthermore, to make extending Tania's feature easier.

USD currency code instead of EUR

The only specific changes made to the src code were done to all instances of € to $
so that forms would display $. This change works fine.
The problem is after submission the SQL database still shows EUR.
so i made a change to resources/js/stores/stubs/inventory.js
currency_code: 'EUR',
to
currency_code: 'USD',
this change throws this error when attempting to submit forms with currencyCode.

error_message="Wrong currency code" field_name= file=farm_server.go line=1438 request_id=OMvy4MoydbzAYzJs4v4zcTqPdqBOztqu user_uid="<nil>"

form_values="map[chemical_type:[] currency_code:[USD] expiration_date:[2020-04-15] farm_id:[] is_expense:[] name:[3242] notes:[] plant_type:[VEGETABLE] price_per_unit:[2] produced_by:[42] quantity:[42] quantity_unit:[SEEDS] type:[seed] uid:[]]" host="localhost:8080" ip=127.0.0.1 method=POST query_string= request_id=OMvy4MoydbzAYzJs4v4zcTqPdqBOztqu roundtrip=16628 roundtrip_human=16.6286ms status=500 uri=/api/farms/inventories/materials/seed user_agent="Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"

Cannot add tasks

hi, im using mysql for db and the app crashes when adding task

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x9ec96a]

goroutine 849 [running]:
github.com/Tanibox/tania-core/src/tasks/repository/mysql.(*TaskReadRepositoryMysql).Save.func1(0xc4201340c0, 0xc42000e770, 0xc420076480)
/root/go/src/github.com/Tanibox/tania-core/src/tasks/repository/mysql/task_read_repository.go:44 +0x10a
created by github.com/Tanibox/tania-core/src/tasks/repository/mysql.(*TaskReadRepositoryMysql).Save
/root/go/src/github.com/Tanibox/tania-core/src/tasks/repository/mysql/task_read_repository.go:22 +0x71
exit status 2

Raspian Install issue

Trying to install on raspian. I downloaded and untared the linux build. This is the error:

`pi@raspberrypi:/var/www $ ./tania-core
-bash: ./tania-core: cannot execute binary file: Exec format error
pi@raspberrypi:/var/www $ sudo ./tania-core
./tania-core: 1: ./tania-core:ELF: not found
./tania-core: 5: ./tania-core: Syntax error: word unexpected (expecting ")")

`

Thanks!

Change default password

Hi

In the 'Account Settings' it is not possible to change the default password. Also, when a user inputs the new password (before even re-typing it for confirmation) a alert message appears, saying "The password confirmation does not match" .
001_tania_change_pwd

FTBFS in "npm install"

Current "master" FTBFS in npm install as follows:

$ npm install                                                             
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN   peer react@"*" from @storybook/[email protected]
npm WARN   node_modules/@storybook/addon-viewport
npm WARN     dev @storybook/addon-viewport@"^5.0.6" from the root project
npm WARN   2 more (@storybook/theming, react-dom)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer react@"15.x || 16.x || 16.4.0-alpha.0911da3" from @reach/[email protected]
npm WARN node_modules/@reach/router
npm WARN   @reach/router@"^1.2.1" from @storybook/[email protected]
npm WARN   node_modules/@storybook/router
npm WARN   1 more (@storybook/api)
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: [email protected]
npm WARN node_modules/react-dom
npm WARN   peer react-dom@"*" from @storybook/[email protected]
npm WARN   node_modules/@storybook/theming
npm WARN     @storybook/theming@"5.3.21" from @storybook/[email protected]
npm WARN     node_modules/@storybook/addon-viewport
npm WARN     2 more (@storybook/api, @storybook/components)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react-dom@"15.x || 16.x || 16.4.0-alpha.0911da3" from @reach/[email protected]
npm WARN node_modules/@reach/router
npm WARN   @reach/router@"^1.2.1" from @storybook/[email protected]
npm WARN   node_modules/@storybook/router
npm WARN   1 more (@storybook/api)
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   peer react@"*" from @storybook/[email protected]
npm ERR!   node_modules/@storybook/addon-viewport
npm ERR!     dev @storybook/addon-viewport@"^5.0.6" from the root project
npm ERR!   peer react@"*" from @storybook/[email protected]
npm ERR!   node_modules/@storybook/theming
npm ERR!     @storybook/theming@"5.3.21" from @storybook/[email protected]
npm ERR!     node_modules/@storybook/addon-viewport
npm ERR!       dev @storybook/addon-viewport@"^5.0.6" from the root project
npm ERR!     @storybook/theming@"5.3.21" from @storybook/[email protected]
npm ERR!     node_modules/@storybook/api
npm ERR!       @storybook/api@"5.3.21" from @storybook/[email protected]
npm ERR!       node_modules/@storybook/addon-viewport
npm ERR!         dev @storybook/addon-viewport@"^5.0.6" from the root project
npm ERR!       1 more (@storybook/addons)
npm ERR!     1 more (@storybook/components)
npm ERR!   1 more (react-dom)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^0.14.0 || ^15.0.0 || ^16.0.0" from [email protected]
npm ERR! node_modules/@reach/router/node_modules/create-react-context
npm ERR!   create-react-context@"0.3.0" from @reach/[email protected]
npm ERR!   node_modules/@reach/router
npm ERR!     @reach/router@"^1.2.1" from @storybook/[email protected]
npm ERR!     node_modules/@storybook/router
npm ERR!       @storybook/router@"5.3.21" from @storybook/[email protected]
npm ERR!       node_modules/@storybook/api
npm ERR!     1 more (@storybook/api)
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

npm install --legacy-peer-deps succeeds...

Confusing error message for selected date before current

Steps to reproduce:

  1. Create a task with some title.
  2. Select a date which is before the current one.
  3. Add description
  4. Click on save

Actual behavior:
Error message in frontend: "Error in task submission". Error in terminal: "Task due date cannot be earlier than the current date."

Expected behavior:
Error message in frontend: "Task due date cannot be earlier than the current date.". Error in terminal: "Task due date cannot be earlier than the current date."

Tania version: 1.7.1

cannot login with mobile devices

hi, using default username/password says incorrect login on mobile devices (ipad / android) works on iphone

INFO[0034] Response Info host="aquaponicsnepal.com:4200" ip=207.237.24.213 method=POST request_id=ziFszEuojQibFgtol63kHd0pFLpmBDjA roundtrip=70129 roundtrip_human=70.129847ms status=302 uri=/api/authorize user_agent="Mozilla/5.0 (iPad; CPU OS 9_3_5 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13G36 Safari/601.1"
INFO[0034] Response Info host="aquaponicsnepal.com:4200" ip=207.237.24.213 method=GET request_id=F8WVGfyaOlWS0hUQKwNw6ydmjYPYBv9L roundtrip=86 roundtrip_human="86.606µs" status=200 uri="/?access_token=35f3698f-f0ad-4e6e-a003-5b69e6ed563c&state=random-string&expires_in=0" user_agent="Mozilla/5.0 (iPad; CPU OS 9_3_5 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13G36 Safari/601.1"

The short survey to improve Tania

Hi, GitHub community,

We are constantly improving Tania, the farm management software. We would like to hear from you the software developer and the farmer (some software developers are farmers too.) We invite you to participate in this short survey to help us create the best software to help farmers manage their farm business better. https://forms.gle/ShDVZm9FijMiM5KMA

Thank you,
Tanibox team

no error message when creating task for the specific area.

Hi, I have tried the creating task function for specific area and finds out that there is no error message showing that description must be filled when I Ieft the input field of the task empty. I have tried three times and the same result appears. Supposedly, system should show that description must be filled up to alert the user to fill in the description of the task. Therefore, the function should be improved by showing error message indicating description is not filled so that user will be alert of the empty description.

installation, repo for tania-server missing?

when I run
go get github.com/Tanibox/tania-server

I get this:

#cd .; git clone https://github.com/Tanibox/tania-server /home/me/go/src/github.com/Tanibox/tania-server
Cloning into '/home/me/go/src/github.com/Tanibox/tania-server'...
remote: Repository not found.
fatal: repository 'https://github.com/Tanibox/tania-server/' not found
package github.com/Tanibox/tania-server: exit status 128

Missing tab styling on Crop Detail

I think this page is missing styling on tab navigation,
Screenshot from 2019-07-16 19-37-03
Also after Tegalan text, it's contain dot (default html <li> style)

Expected style to be like this
Screenshot from 2019-07-16 19-39-16

Additional Info

I'm running tania from github repo, build it my self.
OS: Linux / Fedora 30
Browser: Firefox 68

(cosmetic) default paths for areas and crops in "taniad -h"

Hello folks,

I've see in help message of taniad, the default upload paths are with values which doest not match conf.json & all.

I think it should be:

--upload_path_area string Upload path for the Area photo (default "uploads/areas")
--upload_path_crop string Upload path for the Crop photo (default "uploads/crops")

I found them in backend/config/config.go but don't know how to submit a patch.

Continue this great initiative !
Pierre

"context" package -- import paths

when I run go get github.com/Tanibox/tania-core i get the following output:

package context: unrecognized import path "context" (import path does not begin with hostname)

this later comes back to haunt me when I complete all the other installation steps without errors and try to start the go server i get this error:

go run main.go
vendor/golang.org/x/crypto/acme/autocert/autocert.go:13:2: cannot find package "context" in any of:
	/home/me/go/src/github.com/Tanibox/tania-core/vendor/context (vendor tree)
	/usr/lib/go-1.6/src/context (from $GOROOT)
	/home/me/go/src/context (from $GOPATH)

i tried moving the context folder from ~/go/src/golang.org/x/net/ into ~/go/src/ but it didn't like that:

go run main.go
vendor/golang.org/x/crypto/acme/autocert/autocert.go:13:2: code in directory /home/me/go/src/context expects import "golang.org/x/net/context"

Running in IIS Webserver

Hi Community

Is there a possibility to run Tania on an IIS Windows webserver? Or is it solely self-hosted?

Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.