reef-pi :: An opensource reef tank controller based on Raspberry Pi.

ChrisNH

Active Member
View Badges
Joined
Mar 21, 2019
Messages
306
Reaction score
251
Rating - 0%
0   0   0
I have reached the point in the adafruit power controller guide where I am putting in the Buck Converter. The pictures are a bit different then the wiring diagram. Is there any implication to doing the builds down the road for doing it one way vs the other?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
How do I fix this issue? Somehow I checked the https when checking the box for notifications and saved it and can now not access the web server.
Repeating what I shared via pm:
Try https://<ip of your pi>:80 , for example the ip of my reef-pi is 10.0.0.2 so the address will be https://10.0.0.2:80 . Remember to type the whole thing in your browser
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I have reached the point in the adafruit power controller guide where I am putting in the Buck Converter. The pictures are a bit different then the wiring diagram. Is there any implication to doing the builds down the road for doing it one way vs the other?
Can you be more specific on the differences you are noticing ?the schematics are similar but not exact due to just physical convenience (like closer /proximity for builds) or ease of drawing /illustration (for schematics)
 

Johan Fe Scheepers

New Member
View Badges
Joined
Nov 4, 2018
Messages
16
Reaction score
27
Location
Drummond, KZN, South Africa
Rating - 0%
0   0   0
Hi,

My temp reading stop responding after a day or so, I have to stop reef-pi, rest DB and restart reef-pi.

Any ideas?

cat /etc/debian_version
9.4

Version: 2.0.0-rc3
Website: http://reef-pi.com
Github: https://github.com/reef-pi/reef-pi
Copyright © 2018 Ranjib Dey
Status
Current time: Wed May 15 07:42:22
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Reporting back on the status of ph drivers, after two days of continuous running the pico board driver encountered i2c error, as @theatrus had suspected.
A6697F9A-6BA7-45C3-B101-4B9955EE8117.png

Overall their output are very similar,
91B9971F-497B-423A-A368-3DF9B6CA763B.png

Notice the flat line on graph after the pico board error
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Reporting back on the status of ph drivers, after two days of continuous running the pico board driver encountered i2c error, as @theatrus had suspected.
A6697F9A-6BA7-45C3-B101-4B9955EE8117.png

Overall their output are very similar,
91B9971F-497B-423A-A368-3DF9B6CA763B.png

Notice the flat line on graph after the pico board error

Very nice, im anxiously awaiting the ph driver for the reef pi ph board, have the board mounted and wired, see it on i2c bus, just need to buy a probe when the driver support gets added to reef pi!
 

sector9

Active Member
View Badges
Joined
Jun 26, 2017
Messages
129
Reaction score
189
Rating - 0%
0   0   0
I am trying to compile a beta version of reefpi from the Github so I can test out my pH board. I was previously able to compile by own .deb file back before version 1.0. However, I am now running in to the following error when I try to run "make ui-dev" or "make deb"

Code:
Jeremys-MBP:reef-pi Jeremy$ make ui-dev
npm run ui-dev

> [email protected] ui-dev /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
> npm run translations && ./node_modules/.bin/webpack -d --watch


> [email protected] translations /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
> node ./build/translations/csv-json.js

Generating Json resources files from CSV
----------------------------------------
Parsing de.csv
Parsing en.csv
Parsing es.csv
Parsing fa.csv
Parsing fr.csv
Parsing hi.csv
Parsing it.csv
All translations have been successfully generated
/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:265
               throw err;
               ^

Error: EACCES: permission denied, unlink '/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/ui/favicon.ico'
    at Object.fs.unlinkSync (fs.js:1061:18)
    at rimrafSync (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:306:17)
    at /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:342:5
    at Array.forEach (<anonymous>)
    at rmkidsSync (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:341:26)
    at rmdirSync (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:334:7)
    at Function.rimrafSync [as sync] (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:304:9)
    at /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/clean-webpack-plugin/index.js:166:16
    at Array.forEach (<anonymous>)
    at CleanWebpackPlugin.clean (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/clean-webpack-plugin/index.js:92:15)
    at CleanWebpackPlugin.apply (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/clean-webpack-plugin/index.js:212:20)
    at webpack (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack/lib/webpack.js:37:12)
    at processOptions (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:256:16)
    at yargs.parse (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:373:3)
    at Object.parse (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/yargs/yargs.js:567:18)
    at /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:49:8
    at Object.<anonymous> (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:375:3)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack/bin/webpack.js:163:2)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] ui-dev: `npm run translations && ./node_modules/.bin/webpack -d --watch`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] ui-dev 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!     /Volumes/HDD/Users/Jeremy/.npm/_logs/2019-05-15T22_19_34_413Z-debug.log
make: *** [ui-dev] Error 1

The log file mentioned shows the following output:
Code:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'ui-dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preui-dev', 'ui-dev', 'postui-dev' ]
5 info lifecycle [email protected]~preui-dev: [email protected]
6 info lifecycle [email protected]~ui-dev: [email protected]
7 verbose lifecycle [email protected]~ui-dev: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~ui-dev: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/.bin:/Volumes/HDD/Users/Jeremy/.rbenv/shims:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/go/bin:/Volumes/HDD/Users/Jeremy/go/bin:/Volumes/HDD/Users/Jeremy/gospace/bin:/bin
9 verbose lifecycle [email protected]~ui-dev: CWD: /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
10 silly lifecycle [email protected]~ui-dev: Args: [ '-c',
10 silly lifecycle   'npm run translations && ./node_modules/.bin/webpack -d --watch' ]
11 silly lifecycle [email protected]~ui-dev: Returned: code: 1  signal: null
12 info lifecycle [email protected]~ui-dev: Failed to exec ui-dev script
13 verbose stack Error: [email protected] ui-dev: `npm run translations && ./node_modules/.bin/webpack -d --watch`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid [email protected]
15 verbose cwd /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
16 verbose Darwin 15.6.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "ui-dev"
18 verbose node v8.9.3
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] ui-dev: `npm run translations && ./node_modules/.bin/webpack -d --watch`
22 error Exit status 1
23 error Failed at the [email protected] ui-dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

I found the following Stackoverflow link https://stackoverflow.com/questions/30744964/what-does-the-elifecycle-node-js-error-mean but I haven't been able to get reefpi to compile. Any thoughts from those who are more knowledgeable?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I am trying to compile a beta version of reefpi from the Github so I can test out my pH board. I was previously able to compile by own .deb file back before version 1.0. However, I am now running in to the following error when I try to run "make ui-dev" or "make deb"

Code:
Jeremys-MBP:reef-pi Jeremy$ make ui-dev
npm run ui-dev

> [email protected] ui-dev /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
> npm run translations && ./node_modules/.bin/webpack -d --watch


> [email protected] translations /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
> node ./build/translations/csv-json.js

Generating Json resources files from CSV
----------------------------------------
Parsing de.csv
Parsing en.csv
Parsing es.csv
Parsing fa.csv
Parsing fr.csv
Parsing hi.csv
Parsing it.csv
All translations have been successfully generated
/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:265
               throw err;
               ^

Error: EACCES: permission denied, unlink '/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/ui/favicon.ico'
    at Object.fs.unlinkSync (fs.js:1061:18)
    at rimrafSync (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:306:17)
    at /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:342:5
    at Array.forEach (<anonymous>)
    at rmkidsSync (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:341:26)
    at rmdirSync (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:334:7)
    at Function.rimrafSync [as sync] (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:304:9)
    at /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/clean-webpack-plugin/index.js:166:16
    at Array.forEach (<anonymous>)
    at CleanWebpackPlugin.clean (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/clean-webpack-plugin/index.js:92:15)
    at CleanWebpackPlugin.apply (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/clean-webpack-plugin/index.js:212:20)
    at webpack (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack/lib/webpack.js:37:12)
    at processOptions (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:256:16)
    at yargs.parse (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:373:3)
    at Object.parse (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/yargs/yargs.js:567:18)
    at /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:49:8
    at Object.<anonymous> (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:375:3)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack/bin/webpack.js:163:2)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] ui-dev: `npm run translations && ./node_modules/.bin/webpack -d --watch`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] ui-dev 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!     /Volumes/HDD/Users/Jeremy/.npm/_logs/2019-05-15T22_19_34_413Z-debug.log
make: *** [ui-dev] Error 1

The log file mentioned shows the following output:
Code:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'ui-dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preui-dev', 'ui-dev', 'postui-dev' ]
5 info lifecycle [email protected]~preui-dev: [email protected]
6 info lifecycle [email protected]~ui-dev: [email protected]
7 verbose lifecycle [email protected]~ui-dev: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~ui-dev: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/.bin:/Volumes/HDD/Users/Jeremy/.rbenv/shims:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/go/bin:/Volumes/HDD/Users/Jeremy/go/bin:/Volumes/HDD/Users/Jeremy/gospace/bin:/bin
9 verbose lifecycle [email protected]~ui-dev: CWD: /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
10 silly lifecycle [email protected]~ui-dev: Args: [ '-c',
10 silly lifecycle   'npm run translations && ./node_modules/.bin/webpack -d --watch' ]
11 silly lifecycle [email protected]~ui-dev: Returned: code: 1  signal: null
12 info lifecycle [email protected]~ui-dev: Failed to exec ui-dev script
13 verbose stack Error: [email protected] ui-dev: `npm run translations && ./node_modules/.bin/webpack -d --watch`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid [email protected]
15 verbose cwd /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
16 verbose Darwin 15.6.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "ui-dev"
18 verbose node v8.9.3
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] ui-dev: `npm run translations && ./node_modules/.bin/webpack -d --watch`
22 error Exit status 1
23 error Failed at the [email protected] ui-dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

I found the following Stackoverflow link https://stackoverflow.com/questions/30744964/what-does-the-elifecycle-node-js-error-mean but I haven't been able to get reefpi to compile. Any thoughts from those who are more knowledgeable?
The error is stemming from the fact that javascript code is not able to remove a file, and hitting a permission issue.
Here is the specific error:
Error: EACCES: permission denied, unlink /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/ui/favicon.ico'

Can you try deleting it manually? Can you tell us little about your development setup? Does "make clean" work ?
 

sector9

Active Member
View Badges
Joined
Jun 26, 2017
Messages
129
Reaction score
189
Rating - 0%
0   0   0
The error is stemming from the fact that javascript code is not able to remove a file, and hitting a permission issue.
Here is the specific error:


Can you try deleting it manually? Can you tell us little about your development setup? Does "make clean" work ?
OK thanks. I ran "sudo chown -R" on the whole directory and it fixed that error, but now I am running in to a new error that seems to be

Code:
Jeremys-MacBook-Pro:reef-pi Jeremy$ make
make go
go build -o bin/reef-pi -ldflags "-s -w -X main.Version=3.0.0-alpha-1-50-g5d2d5ee"  ./commands
make build-ui
npm run build

> [email protected] build /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
> npm run translations && ./node_modules/.bin/webpack -d


> [email protected] translations /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
> node ./build/translations/csv-json.js

Generating Json resources files from CSV
----------------------------------------
Parsing de.csv
Parsing en.csv
Parsing es.csv
Parsing fa.csv
Parsing fr.csv
Parsing hi.csv
Parsing it.csv
All translations have been successfully generated
clean-webpack-plugin: /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/ui has been removed.
Hash: aaacab544822ca16e3a6
Version: webpack 4.14.0
Time: 6661ms
Built at: 2019-05-15 20:09:29
                                 Asset       Size  Chunks             Chunk Names
assets/js/main.442ce373397fa9835186.js   5.94 KiB    main  [emitted]  main
                           favicon.ico   3.69 KiB          [emitted]  
                             home.html  378 bytes          [emitted]  
Entrypoint main = assets/js/main.442ce373397fa9835186.js
[./front-end/src/entry.js] 1.88 KiB {main} [built] [failed] [1 error]

ERROR in ./front-end/src/entry.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Couldn't find preset "es2015" relative to directory "/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/front-end/src"
    at /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/options/option-manager.js:293:19
    at Array.map (<anonymous>)
    at OptionManager.resolvePresets (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20)
    at OptionManager.mergePresets (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/options/option-manager.js:264:10)
    at OptionManager.mergeOptions (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/options/option-manager.js:249:14)
    at OptionManager.init (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
    at File.initOptions (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/index.js:212:65)
    at new File (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/index.js:135:24)
    at Pipeline.transform (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
    at transpile (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-loader/lib/index.js:50:20)
    at Object.module.exports (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-loader/lib/index.js:173:20)
Child html-webpack-plugin for "home.html":
     1 asset
    Entrypoint undefined = home.html
    [./node_modules/html-webpack-plugin/lib/loader.js!./front-end/assets/home.html] 456 bytes {0} [built]
    [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built]
    [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
        + 1 hidden module
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `npm run translations && ./node_modules/.bin/webpack -d`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] 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!     /Volumes/HDD/Users/Jeremy/.npm/_logs/2019-05-16T00_09_29_489Z-debug.log
make[1]: *** [build-ui] Error 2
make: *** [bin] Error 2

I am using a macbook pro with El Capitan

My output from "make clean" is the following:
Code:
Jeremys-MacBook-Pro:reef-pi Jeremy$ make clean
rm -rf *.deb
rm -rf dist
rm -rf ui
find jsx -iname __snapshots__ -print | xargs rm -rf
find: jsx: No such file or directory
find . -name '*.db' -exec rm {} \;
find . -name '*.crt' -exec rm {} \;
find . -name '*.key' -exec rm {} \;

Thanks so much for your help
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
OK thanks. I ran "sudo chown -R" on the whole directory and it fixed that error, but now I am running in to a new error that seems to be

Code:
Jeremys-MacBook-Pro:reef-pi Jeremy$ make
make go
go build -o bin/reef-pi -ldflags "-s -w -X main.Version=3.0.0-alpha-1-50-g5d2d5ee"  ./commands
make build-ui
npm run build

> [email protected] build /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
> npm run translations && ./node_modules/.bin/webpack -d


> [email protected] translations /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
> node ./build/translations/csv-json.js

Generating Json resources files from CSV
----------------------------------------
Parsing de.csv
Parsing en.csv
Parsing es.csv
Parsing fa.csv
Parsing fr.csv
Parsing hi.csv
Parsing it.csv
All translations have been successfully generated
clean-webpack-plugin: /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/ui has been removed.
Hash: aaacab544822ca16e3a6
Version: webpack 4.14.0
Time: 6661ms
Built at: 2019-05-15 20:09:29
                                 Asset       Size  Chunks             Chunk Names
assets/js/main.442ce373397fa9835186.js   5.94 KiB    main  [emitted]  main
                           favicon.ico   3.69 KiB          [emitted] 
                             home.html  378 bytes          [emitted] 
Entrypoint main = assets/js/main.442ce373397fa9835186.js
[./front-end/src/entry.js] 1.88 KiB {main} [built] [failed] [1 error]

ERROR in ./front-end/src/entry.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Couldn't find preset "es2015" relative to directory "/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/front-end/src"
    at /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/options/option-manager.js:293:19
    at Array.map (<anonymous>)
    at OptionManager.resolvePresets (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20)
    at OptionManager.mergePresets (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/options/option-manager.js:264:10)
    at OptionManager.mergeOptions (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/options/option-manager.js:249:14)
    at OptionManager.init (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
    at File.initOptions (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/index.js:212:65)
    at new File (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/file/index.js:135:24)
    at Pipeline.transform (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
    at transpile (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-loader/lib/index.js:50:20)
    at Object.module.exports (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/babel-loader/lib/index.js:173:20)
Child html-webpack-plugin for "home.html":
     1 asset
    Entrypoint undefined = home.html
    [./node_modules/html-webpack-plugin/lib/loader.js!./front-end/assets/home.html] 456 bytes {0} [built]
    [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built]
    [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
        + 1 hidden module
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `npm run translations && ./node_modules/.bin/webpack -d`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] 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!     /Volumes/HDD/Users/Jeremy/.npm/_logs/2019-05-16T00_09_29_489Z-debug.log
make[1]: *** [build-ui] Error 2
make: *** [bin] Error 2

I am using a macbook pro with El Capitan

My output from "make clean" is the following:
Code:
Jeremys-MacBook-Pro:reef-pi Jeremy$ make clean
rm -rf *.deb
rm -rf dist
rm -rf ui
find jsx -iname __snapshots__ -print | xargs rm -rf
find: jsx: No such file or directory
find . -name '*.db' -exec rm {} \;
find . -name '*.crt' -exec rm {} \;
find . -name '*.key' -exec rm {} \;

Thanks so much for your help
Im using Macbook with Mojave. Whats your node version? Did you run `npm i` to install all node moduels? are you following the standard development guide? if thats incorrect, i'd love to improve it
 

Johan Fe Scheepers

New Member
View Badges
Joined
Nov 4, 2018
Messages
16
Reaction score
27
Location
Drummond, KZN, South Africa
Rating - 0%
0   0   0
Do you have anything under Configuration -> errors section ?
May 16 06:38:56
temperature sub-system. Failed to read sensor Tank. Error:open /sys/bus/w1/devices/28-01142fe85df6/w1_slave: no such file or directory

May 16 06:39:25
temperature sub-system. Failed to read sensor Room. Error:open /sys/bus/w1/devices/28-000006c810af/w1_slave: no such file or directory
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
May 16 06:38:56
temperature sub-system. Failed to read sensor Tank. Error:eek:pen /sys/bus/w1/devices/28-01142fe85df6/w1_slave: no such file or directory

May 16 06:39:25
temperature sub-system. Failed to read sensor Room. Error:eek:pen /sys/bus/w1/devices/28-000006c810af/w1_slave: no such file or directory
Your temp sensor is not being detected, either to botched or some connection is wrong . Do you have any backup sensor that you can use for testing ?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
ReefPi-Mem.PNG
Was this memory issue addressed somewhere as to a cause or resolution? This is Reef-Pi 2.3
We expect the memory to grow due to in-memory usage data retention, let’s watch how this plays out for next couple of weeks, if it reaches 70% , issue a reload and see what happens
 

PaulJ2303

Community Member
View Badges
Joined
Sep 30, 2018
Messages
76
Reaction score
172
Rating - 0%
0   0   0
I wonder if you guys could answer a question my manager put to me the other day?
I work as a maintenance engineer in a manufacturing facility and as you can imagine i have access to all sorts of gizmo's from servo motors to hammers down to discrete electronic components. so as a point of interest i was discussing this project with him (my manager) and specifically we were talking about the buck converter and he asked me ... and so i'm asking you ...

Why don't you use an LM7805 voltage regulator and a couple of cap's instead?
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
I wonder if you guys could answer a question my manager put to me the other day?
I work as a maintenance engineer in a manufacturing facility and as you can imagine i have access to all sorts of gizmo's from servo motors to hammers down to discrete electronic components. so as a point of interest i was discussing this project with him (my manager) and specifically we were talking about the buck converter and he asked me ... and so i'm asking you ...

Why don't you use an LM7805 voltage regulator and a couple of cap's instead?
You could, but its not near as efficient, depending on how much voltage you are dropping and how much current you are using, quite alot of power gets wasted as heat with a linear regulator. But they are dependable and cheap!
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I wonder if you guys could answer a question my manager put to me the other day?
I work as a maintenance engineer in a manufacturing facility and as you can imagine i have access to all sorts of gizmo's from servo motors to hammers down to discrete electronic components. so as a point of interest i was discussing this project with him (my manager) and specifically we were talking about the buck converter and he asked me ... and so i'm asking you ...

Why don't you use an LM7805 voltage regulator and a couple of cap's instead?
I recommend lm2596 because they are more efficient and more versatile, you can tune them to generate a range of voltages , and we need 12, 10, 5 or 3.3V depending upon the usecase. They are also available in handy breakout board form factors with caps and resistors soldered in , which makes the builders life liite easier, if they are new to electronics.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
You could, but its not near as efficient, depending on how much voltage you are dropping and how much current you are using, quite alot of power gets wasted as heat with a linear regulator. But they are dependable and cheap!
one more advantage of linear regulator is that they wont fluctuate the output voltage if the input voltage changes little bit, which lm2586 does a lot
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 38 27.5%
  • 100% dry rock + 100% live sand

    Votes: 46 33.3%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 21.7%
  • 75% live rock, 25% live sand

    Votes: 14 10.1%
  • 25% live rock, 75% live sand

    Votes: 10 7.2%
Back
Top