SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (C:\Users\P70648\AppData\Roaming\nvm\v8.17.0\node_modules\spfx-fast-serve\lib\index.js:8:43)`
Here after, see my package.json content :
I have spfx-fast-serve 3.0.6 installed and spfx-fast-serve-helpers@1.4.0 installed as well.
Still, it doesn't want to execute the spfx-fast-serve command.
Hi,
I have followed each step and this is what happens when I run spfx-fast-serve :
`PS C:\folderPath> spfx-fast-serve C:\Users\XXXXXX\AppData\Roaming\nvm\v8.17.0\node_modules\spfx-fast-serve\node_modules\update-notifier\index.js:58 } catch { ^
SyntaxError: Unexpected token { at createScript (vm.js:80:10) at Object.runInThisContext (vm.js:139:10) at Module._compile (module.js:617:28) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object. (C:\Users\P70648\AppData\Roaming\nvm\v8.17.0\node_modules\spfx-fast-serve\lib\index.js:8:43)`
Here after, see my package.json content :![Screenshot_15](https://github.com/s-KaiNet/spfx-fast-serve/assets/90324108/d5fb09c5-322e-4785-923a-b41142b8526d)
I have spfx-fast-serve 3.0.6 installed and spfx-fast-serve-helpers@1.4.0 installed as well.
Still, it doesn't want to execute the spfx-fast-serve command.
Anyone can help me regarding this issue please ?
Maxime