Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in installation , Alexa sdk works fine but smart screen does not install correctly #6

Open
joshianita opened this issue Aug 29, 2020 · 11 comments

Comments

@joshianita
Copy link

Alexa voice loads , authenticates correctly and works properly also.

Alexa screen installer does not install correctly, and sampleassistant for screen does not start.

Terminal outputs for all errors given below, prior to this everything was 100% ok.---------------

100% tests passed, 0 tests failed out of 38

Total Test time (real) = 30.43 sec

The following tests did not run:
39 - VisualCharacteristicsTest.testGetCapabilityConfigurations (Disabled)
[ 38%] Built target unit
[ 45%] Built target Communication
[ 54%] Built target SmartScreenClient
[100%] Built target SampleApp
npm WARN [email protected] No repository field.
npm WARN [email protected] license should be a valid SPDX license expression
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

up to date in 19.181s

22 packages are looking for funding
run npm fund for details

[email protected] build /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js
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"

[email protected] lint /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/js
tslint --project tsconfig.json -c tslint.json 'src//*.ts' 'src//*.tsx'

Hash: 57c1d86f9c49ab235234
Version: webpack 4.44.1
Time: 19836ms
Built at: 29/08/2020 9:45:31 pm
Asset Size Chunks Chunk Names
../dist/app.d.ts 3.56 KiB [emitted]
../dist/components/APLRendererWindow.d.ts 2.41 KiB [emitted]
../dist/components/PlayerInfoWindow.d.ts 1.7 KiB [emitted]
../dist/components/SampleHome.d.ts 383 bytes [emitted]
../dist/components/VoiceChrome.d.ts 848 bytes [emitted]
../dist/lib/activity/ActivityEvent.d.ts 554 bytes [emitted]
../dist/lib/activity/ActivityTracker.d.ts 1.09 KiB [emitted]
../dist/lib/config/GuiConfigHelpers.d.ts 944 bytes [emitted]
../dist/lib/config/IDeviceAppConfig.d.ts 4.12 KiB [emitted]
../dist/lib/config/visualCharacteristics/IDeviceDisplay.d.ts 1.08 KiB [emitted]
../dist/lib/config/visualCharacteristics/IDisplayWindow.d.ts 963 bytes [emitted]
../dist/lib/config/visualCharacteristics/IInteractionMode.d.ts 515 bytes [emitted]
../dist/lib/config/visualCharacteristics/IVideo.d.ts 114 bytes [emitted]
../dist/lib/config/visualCharacteristics/IVisualCharacteristics.d.ts 655 bytes [emitted]
../dist/lib/config/visualCharacteristics/IWindowState.d.ts 354 bytes [emitted]
../dist/lib/displayCards/AVSDisplayCardHelpers.d.ts 1.9 KiB [emitted]
../dist/lib/focus/ChannelName.d.ts 343 bytes [emitted]
../dist/lib/focus/FocusManager.d.ts 2.05 KiB [emitted]
../dist/lib/focus/FocusResource.d.ts 296 bytes [emitted]
../dist/lib/focus/FocusState.d.ts 183 bytes [emitted]
../dist/lib/focus/IChannelObserver.d.ts 251 bytes [emitted]
../dist/lib/focus/IFocusBridge.d.ts 248 bytes [emitted]
../dist/lib/media/AVSAudioPlayer.d.ts 1.38 KiB [emitted]
../dist/lib/media/AVSVideo.d.ts 1.43 KiB [emitted]
../dist/lib/messages/NavigationEvent.d.ts 333 bytes [emitted]
../dist/lib/messages/client.d.ts 1.75 KiB [emitted]
../dist/lib/messages/messages.d.ts 4.28 KiB [emitted]
../dist/lib/messages/sdkLogTransport.d.ts 842 bytes [emitted]
../dist/lib/utils/timer.d.ts 235 bytes [emitted]
../dist/main.d.ts 21 bytes [emitted]
4444bbbc2f4dd0a9586f053308ab9a1a.png 22.7 KiB [emitted]
index.html 187 bytes [emitted]
main.bundle.js 4.23 MiB main [emitted] main
Entrypoint main = main.bundle.js
[../../apl-client/index.js] /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/apl-client/index.js 613 KiB {main} [built]
[../node_modules/css-loader/dist/cjs.js!./main.css] 735 bytes {main} [built]
[./app.tsx] 16.6 KiB {main} [built]
[./lib/activity/ActivityEvent.ts] 883 bytes {main} [built]
[./lib/activity/ActivityTracker.ts] 2.39 KiB {main} [built]
[./lib/config/GuiConfigHelpers.ts] 7.92 KiB {main} [built]
[./lib/config/IDeviceAppConfig.ts] 799 bytes {main} [built]
[./lib/displayCards/AVSDisplayCardHelpers.ts] 2.82 KiB {main} [built]
[./lib/focus/FocusManager.ts] 3.03 KiB {main} [built]
[./lib/messages/NavigationEvent.ts] 642 bytes {main} [built]
[./lib/messages/client.ts] 3.51 KiB {main} [built]
[./lib/messages/messages.ts] 1.74 KiB {main} [built]
[./lib/messages/sdkLogTransport.ts] 1.7 KiB {main} [built]
[./main.css] 1.05 KiB {main} [built]
[./main.tsx] 568 bytes {main} [built]
+ 33 hidden modules

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'.
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! [email protected] 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 [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! /root/.npm/_logs/2020-08-29T16_15_32_122Z-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:~ $
pi@raspberrypi:~ $ sudo chmod +x /home/pi/DIY-Echo-Show/Alexa/startsampleassistant.sh
pi@raspberrypi:~ $ sudo /home/pi/DIY-Echo-Show/Alexa/startsampleassistant.sh

2020-08-29 16:16:28.780 [ 1] I sdkVersion: 1.19.1
SmartScreenSDKVersion 2.0.2
configFile /home/pi/DIY-Echo-Show/Alexa/build/Integration/AlexaClientSDKConfig.json
configFile /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/config/SmartScreenSDKConfig.json
Running app with log level: INFO
2020-08-29 16:16:28.898 [ 1] E SQLiteMiscStorage:createFailed:reason=Could not load config value,key=databaseFilePath
2020-08-29 16:16:28.898 [ 1] C SampleApplication:Failed to create misc storage
2020-08-29 16:16:28.898 [ 1] C SampleApplication:Failed to initialize SampleApplication
Failed to create to SampleApplication!
pi@raspberrypi:~ $

 

@shivasiddharth
Copy link
Owner

Which OS version are you on ?

@joshianita
Copy link
Author

joshianita commented Aug 29, 2020 via email

@shivasiddharth
Copy link
Owner

Dist upgrade would have put you on the latest 5.4 kernel. You need to be on the 4.19 version. Use the 22-May or 5-Feb version of the OS.

@joshianita
Copy link
Author

joshianita commented Aug 30, 2020 via email

@klwi-nz
Copy link

klwi-nz commented Dec 11, 2020

hoi shivasiddharth

"sudo /home/pi/DIY-Echo-Show/scripts/alexa-voice-installer.sh" install great works but when I try installing
"sudo /home/pi/DIY-Echo-Show/scripts/alexa-screen-installer.sh" I get an error

tride install in with Raspberry Pi Raspbian 4.19 but while installing "sudo /home/pi/DIY-Echo-Show/scripts/prep-system.sh"
the pi os gets upgrades to 5.4 kernel

@shivasiddharth
Copy link
Owner

There is no upgrade command in that script. Did you use Re-speaker ? Only that will cause the kernel change.

@klwi-nz
Copy link

klwi-nz commented Dec 11, 2020

yes used a respeaker sso must install with out respeaker connected

@shivasiddharth
Copy link
Owner

Do not use Re-speaker as mic for this project. It is not about the Re-speaker being connected.

@klwi-nz
Copy link

klwi-nz commented Dec 11, 2020 via email

@klwi-nz
Copy link

klwi-nz commented Dec 11, 2020

stil geting an error os is nu 4.19

Entrypoint main = main.bundle.js
[../../apl-client/index.js] /home/pi/DIY-Echo-Show/Alexa/alexa-smart-screen-sdk/modules/GUI/apl-client/index.js 613 KiB {main} [built]
[../node_modules/css-loader/dist/cjs.js!./main.css] 735 bytes {main} [built]
[./app.tsx] 16.6 KiB {main} [built]
[./lib/activity/ActivityEvent.ts] 883 bytes {main} [built]
[./lib/activity/ActivityTracker.ts] 2.39 KiB {main} [built]
[./lib/config/GuiConfigHelpers.ts] 7.92 KiB {main} [built]
[./lib/config/IDeviceAppConfig.ts] 799 bytes {main} [built]
[./lib/displayCards/AVSDisplayCardHelpers.ts] 2.82 KiB {main} [built]
[./lib/focus/FocusManager.ts] 3.03 KiB {main} [built]
[./lib/messages/NavigationEvent.ts] 642 bytes {main} [built]
[./lib/messages/client.ts] 3.51 KiB {main} [built]
[./lib/messages/messages.ts] 1.74 KiB {main} [built]
[./lib/messages/sdkLogTransport.ts] 1.7 KiB {main} [built]
[./main.css] 1.05 KiB {main} [built]
[./main.tsx] 568 bytes {main} [built]
+ 33 hidden modules

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'.
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! [email protected] 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 [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! /root/.npm/_logs/2020-12-11T16_01_21_526Z-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

@shivasiddharth
Copy link
Owner

Frankly dunno whats happening. I never checked on this project again as hardly anyone use it. Last time i used the May 2020 and Feb 2020 image, it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants