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 1" starting sonos web #125

Open
toddmo opened this issue Sep 1, 2022 · 6 comments
Open

"error 1" starting sonos web #125

toddmo opened this issue Sep 1, 2022 · 6 comments

Comments

@toddmo
Copy link

toddmo commented Sep 1, 2022

Running sonos-web install and these are the results:

Installing Sonos Web
✔ downloading installation files
✔ installing front-end dependencies
✔ build front-end application
✔ install back-end dependencies
⠋ cleaning up installation filesmv: no such file or directory: client/dist
✔ cleaning up installation files
✖ Starting Sonos Web
error 1

Why is this? How can I fix this?

@stufisher
Copy link
Contributor

OS, node version?

@toddmo
Copy link
Author

toddmo commented Sep 2, 2022

OS, node version?

toddmo@MyMachine:~$ node --version
v16.17.0

toddmo@MyMachine:~$ cat /etc/os-release
NAME="Zorin OS"
VERSION="16"
ID=zorin
ID_LIKE=ubuntu
PRETTY_NAME="Zorin OS 16"
VERSION_ID="16"
HOME_URL="https://zorin.com/os/"
SUPPORT_URL="https://zorin.com/help/"
BUG_REPORT_URL="https://zorin.com/os/feedback/"
PRIVACY_POLICY_URL="https://zorin.com/legal/privacy/"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

@stufisher
Copy link
Contributor

Hmm, cannot reproduce here. Can you do a:

ls ~/.sonos-web/*

I guess the dist folder is missing, despite it saying it managed to build the client bundle

@toddmo
Copy link
Author

toddmo commented Sep 13, 2022 via email

@stufisher
Copy link
Contributor

stufisher commented Sep 13, 2022

You can build the client manually and move it to the right place:

git clone https://github.com/sonos-web/sonos-web

cd client
npm install
npm run build
mv dist ~/.sonos-web/

@toddmo
Copy link
Author

toddmo commented Sep 13, 2022 via email

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

2 participants