Hi everyone, trying to setup fresh dev environment...
# suitecommerce
b
Hi everyone, trying to setup fresh dev environment (node 4.9.1 and gulp via npm) for an Elbrus environment but keep getting a [ReferenceError: Invalid left-hand side in assignment] error every time when trying to run a gulp command. Have successfully had gulp running in the same way on 2020.2 tools (with node 12.*) but not entirely sure where I'm going wrong with Elbrus. @Steve Goldberg @Flo Meilan Any ideas? thanks 🙂
s
Do
node -v
and
gulp -v
and just double check you are using the right versions
I would also run
npm install
again and make sure that there are no errors. If you're using Mac then you will need to use
sudo
f
I use nvm to manage different node versions. Double check you are using the right versions. As Steve mentioned, on my mac typically I have to use sudo when switching versions.
☝🏻 1
b
@Steve Goldberg @Flo Meilan Using NVM and also tried using the same set of tools on another computer which also threw the same error so might double check the bundle is up to date for the best version of the bundle. have tried npm install multiple times reinstalling back and forth 😅
@Steve Goldberg @Flo Meilan Update on this, adding in xml builder 11 to packages and also running npm rebuild node-sass fixed it 🙂
👍🏻 1
s
Yeah rebuilding node-sass is something I have had to do over the years now I think about it. Glad you sorted it