s-KaiNet / spfx-fast-serve

Improve your SharePoint Framework development flow by speeding up the "serve" command :rocket:
MIT License
132 stars 11 forks source link

Error running spfx-fast-serve | SyntaxError #100

Closed zensho-mjp closed 1 year ago

zensho-mjp commented 1 year ago

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

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

s-KaiNet commented 1 year ago

Hello, please install spfx-fast-serve@3.0.3 and try to scaffold again.

github-actions[bot] commented 1 year ago

This issue has been automatically closed because we haven't received any response back. Please feel free to reopen if needed.