andrewn / neue-radio

Neue Radio: Prototype connected object using web technologies
10 stars 6 forks source link

Install fails on mac os x 10.12.6, node v8.9.4 #70

Closed libbymiller closed 6 years ago

libbymiller commented 6 years ago

We still have to use 10.12 at work.

git clone https://github.com/andrewn/neue-radio
cd neue-radio
npm install
npm start

There are various missing modules - winston, ip, express, websocket. When those are all installed I still get an error running it:

10:37:46 downloader.1           |  /Users/libbym/bbc/radiodan/neue-radio/services/downloader/lib/logger/index.js:2
10:37:46 downloader.1           |  const { combine, timestamp, label, printf } = format;
10:37:46 downloader.1           |          ^
10:37:46 downloader.1           |  TypeError: Cannot destructure property `combine` of 'undefined' or 'null'.
10:37:46 downloader.1           |      at Object.<anonymous> (/Users/libbym/bbc/radiodan/neue-radio/services/downloader/lib/logger/index.js:2:47)
andrewn commented 6 years ago

Can you double-check which version of nodejs you are using? We support the LTS release and above.

On 15 March 2018 at 11:44, libbymiller notifications@github.com wrote:

We still have to use 10.12 at work.

git clone https://github.com/andrewn/neue-radio cd neue-radio npm install npm start

There are various missing modules - winston, ip, express, websocket. When those are all installed I still get an error running it:

10:37:46 downloader.1 | /Users/libbym/bbc/radiodan/neue-radio/services/downloader/lib/logger/index.js:2 10:37:46 downloader.1 | const { combine, timestamp, label, printf } = format; 10:37:46 downloader.1 | ^ 10:37:46 downloader.1 | TypeError: Cannot destructure property combine of 'undefined' or 'null'. 10:37:46 downloader.1 | at Object. (/Users/libbym/bbc/radiodan/neue-radio/services/downloader/lib/logger/index.js:2:47)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andrewn/neue-radio/issues/70, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAG4ks0UU-gOPGxZuUG5Cb-FINx-j2yks5tekX4gaJpZM4Sr6st .

libbymiller commented 6 years ago

ta - could we have a note to that effect somewhere?

8.10 solves the install issues but I still get


11:10:25 downloader.1           |  const { combine, timestamp, label, printf } = format;
11:10:25 downloader.1           |          ^
11:10:25 downloader.1           |  TypeError: Cannot destructure property `combine` of 'undefined' or 'null'.```
libbymiller commented 6 years ago

same issue with node v9.8.0

libbymiller commented 6 years ago

not super-relevant, but it all worked perfectly on a pi.

libbymiller commented 6 years ago

ok this fixes it (thanks @pixelblend for walking me through it):

npm install deployment/update cd shared/websocket/ && npm install