Brewskey / spark-server

An API compatible open source server for interacting with devices speaking the spark-protocol
https://www.particle.io/
GNU Affero General Public License v3.0
54 stars 27 forks source link

Throws error on starting spark-server #292

Closed Sarveshwar20 closed 5 years ago

Sarveshwar20 commented 5 years ago

attaching the error i get when executing 'npm start' on my device.

screenshot 2019-02-21 at 3 56 58 pm

jlkalberer commented 5 years ago

I'm not sure if it matters or not but we are using yarn for this project.

I'll have time to check this out over the weekend and I'll let you know what's going on. To me, it looks like the node lock file hasn't been updated and you're missing some modules. I'd start by:

  1. Delete the npm lock file
  2. Run npm install

If that doesn't work, maybe try installing yarn and running with that.