s-KaiNet / spfx-fast-serve

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

1.16.0 having error when trying to serve #109

Closed gallantdon closed 1 year ago

gallantdon commented 1 year ago

Having error with DynamicLibraryPlugin.js. No changes made to Webpack.extend.js::

× 「wdm」: TypeError: Cannot read properties of undefined (reading '0') at \node_modules\spfx-fast-serve-helpers\lib\plugins\DynamicLibraryPlugin.js:18:74 at AsyncSeriesHook.eval [as callAsync] (eval at create (\node_modules\spfx-fast-serve-helpers\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) at AsyncSeriesHook.lazyCompileHook (\node_modules\spfx-fast-serve-helpers\node_modules\tapable\lib\Hook.js:154:20) at Compiler.emitAssets (\node_modules\spfx-fast-serve-helpers\node_modules\webpack\lib\Compiler.js:491:19) at onCompiled (\node_modules\spfx-fast-serve-helpers\node_modules\webpack\lib\Watching.js:51:19) at \node_modules\spfx-fast-serve-helpers\node_modules\webpack\lib\Compiler.js:681:15 at _next0 (eval at create (\node_modules\spfx-fast-serve-helpers\node_modules\tapable\lib\HookCodeFactory.js:33:10), :16:1) at eval (eval at create (\node_modules\spfx-fast-serve-helpers\node_modules\tapable\lib\HookCodeFactory.js:33:10), :26:1)

s-KaiNet commented 1 year ago

Please run in your spfx project

npm update spfx-fast-serve-helpers

then

npm list spfx-fast-serve-helpers

and check that the installed version is spfx-fast-serve-helpers@1.16.6. Then run npm run serve once again and see if the issue is still available.

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.