google-home / smarthome-local

https://codelabs.developers.google.com/codelabs/smarthome-local
Apache License 2.0
28 stars 17 forks source link

npm ERR! missing script: start #12

Closed kempton1 closed 3 years ago

kempton1 commented 3 years ago

When I try to start the washer, it returns an error that the script start is missing.

npm start -- \ --deviceId=deviceid123 --projectId=automation-c2671 \ -- discoveryPortOut=3311 --discoveryPacket=HelloLocalHomeSDK npm ERR! missing script: start

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Kempton\AppData\Local\npm-cache_logs\2020-11-13T08_44_15_680Z-debug.log

proppy commented 3 years ago

@kempton1 which version of node/npm are you using? The npm start command should be available (see https://docs.npmjs.com/cli/v6/commands/npm-start).

As a workaround you can use:

npm run start
proppy commented 3 years ago

Closing as obsolete.