vors
vors2y ago

Unexpected token error

What does this error on raspberry pi + ubuntu means?
ubuntu@p:~/src/monster/monster_brain$ npx convex init
Unexpected token ?
ubuntu@p:~/src/monster/monster_brain$ uname -a
Linux p 5.4.0-1069-raspi #79-Ubuntu SMP PREEMPT Thu Aug 18 18:15:22 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@p:~/src/monster/monster_brain$ npx convex init
Unexpected token ?
ubuntu@p:~/src/monster/monster_brain$ uname -a
Linux p 5.4.0-1069-raspi #79-Ubuntu SMP PREEMPT Thu Aug 18 18:15:22 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
4 Replies
gautamg
gautamg2y ago
This sounds like a node version issue — usually hit when you're on a version that doesn't recognize the ?? operator
vors
vorsOP2y ago
oh let me try
gautamg
gautamg2y ago
I think we require node >= 16.15.1
vors
vorsOP2y ago
works just fine from r pi, thank you! The only problem is that it takes 20 seconds to do a dev deployment on a toy project 😦 But I guess not much we can do given that it's a R pi.

Did you find this page helpful?