shivasiddharth / DIY-Echo-Show

Make your own Amazon Echo Show using avs-device-sdk and alexa-smart-screen-sdk
GNU General Public License v3.0
35 stars 12 forks source link

Error at sudo alexa-screen-installer.sh #9

Open radu-marinescu-rm opened 3 years ago

radu-marinescu-rm commented 3 years ago

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/src/components/APLRendererWindow.tsx ./components/APLRendererWindow.tsx [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/src/components/APLRendererWindow.tsx(23,10) TS2305: Module '"/home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/csstype/index"' has no exported member 'VisibilityProperty'.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/src/components/VoiceChrome.tsx ./components/VoiceChrome.tsx [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/src/components/VoiceChrome.tsx(7,10) TS2305: Module '"/home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/csstype/index"' has no exported member 'VisibilityProperty'.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/base.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/base.d.ts(10,1) TS1084: Invalid 'reference' directive syntax.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/base.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/base.d.ts(11,1) TS1084: Invalid 'reference' directive syntax.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/base.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/base.d.ts(12,1) TS1084: Invalid 'reference' directive syntax.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/base.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/base.d.ts(13,1) TS1084: Invalid 'reference' directive syntax.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/ts3.6/base.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/ts3.6/base.d.ts(10,1) TS1084: Invalid 'reference' directive syntax.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/ts3.6/base.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/ts3.6/base.d.ts(11,1) TS1084: Invalid 'reference' directive syntax.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/ts3.6/base.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/ts3.6/base.d.ts(12,1) TS1084: Invalid 'reference' directive syntax.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/ts3.6/base.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/ts3.6/base.d.ts(13,1) TS1084: Invalid 'reference' directive syntax.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts(2,68) TS1144: '{' or ';' expected.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts(35,68) TS1144: '{' or ';' expected.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts(44,94) TS1144: '{' or ';' expected.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts(44,101) TS1005: ';' expected.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts(44,104) TS1005: ';' expected.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts(46,98) TS1144: '{' or ';' expected.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts(46,105) TS1005: ';' expected.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts(46,108) TS1005: ';' expected.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts(54,47) TS1144: '{' or ';' expected.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts(54,53) TS1005: ';' expected.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts(54,56) TS1005: ';' expected.

ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts [tsl] ERROR in /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js/node_modules/@types/node/assert.d.ts(81,61) TS1005: ';' expected. Child html-webpack-plugin for "index.html": 1 asset Entrypoint undefined = index.html 4 modules npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! gui@1.0.0 build: npm run lint && webpack --config webpack.config.js "--output-path" "/home/pi/DIY-Echo-Show/Alexa/ss-build/modules/GUI" "--define" "DISABLE_WEBSOCKET_SSL=true" npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the gui@1.0.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-02-13T14_03_37_424Z-debug.log make[2]: [modules/GUI/CMakeFiles/GUIClient.dir/build.make:59: modules/GUI/CMakeFiles/GUIClient] Error 2 make[1]: [CMakeFiles/Makefile2:2152: modules/GUI/CMakeFiles/GUIClient.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 pi@raspberrypi:~/DIY-Echo-Show/Alexa $ pi@raspberrypi:~/DIY-Echo-Show/Alexa $ pi@raspberrypi:~/DIY-Echo-Show/Alexa $

shivasiddharth commented 3 years ago

What is the output of cat /etc/rpi-issue

radu-marinescu-rm commented 3 years ago

cat /etc/rpi-issue Raspberry Pi reference 2021-01-11 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 21090519d85bdaa1615d5d5057d37b09368ea5d2, stage4

radu-marinescu-rm commented 3 years ago

in previous issue I had added 2 lines in files in VoiceChrome.tsx, and APLRendererWindow.tsx i was thinking I could fix using that workaround

I mean https://github.com/alexa/alexa-smart-screen-sdk/issues/36#issuecomment-668136185

shivasiddharth commented 3 years ago

You already have two issues open and I don't see the the necessity for a new third issue to be opened. These Alexa applications are sensitive to kernels and OS versions unlike the Google Assistant. For the Alexa smart-screen component to work, I would suggest you to use the May 2020 release of the OS or Feb 2020 release.

radu-marinescu-rm commented 3 years ago

Thank you

AnandaTM commented 3 years ago

@shivasiddharth , I am also facing same error, is there any other way to resolve this build issue apart from downgrading OS version? Thanks in Advance :)

shivasiddharth commented 3 years ago

Let me explain the problem in hand. Though newer OS version work with older Alexa Voice Service, the Graphical output does not work. In order to make the Graphical out work with newer releases, it needs to updated and that will break Stretch installations as with the latest version of the Alexa Voice Service, the support for Stretch version of the OS has been dropped and its exclusively all Buster.

I need to create two Alexa core branches, one for Stretch and another for Buster to resolve this issue. There is not much of traffic here in this project. 18 unique users/clones during a 15 day period. It really does not justify the man-hours that I need to put in.