Closed waldekmastykarz closed 3 years ago
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
OK, seems you can fix the issue by running gulp bundle
in the library, rather than just gulp build
. It would be helpful to write these steps down in the readme to avoid others from running into the same issues when trying to build the project locally.
Thanks for finding this. This is strange, bundling shouldn't be needed during a local build as when the build process creates the lib folder, I would expect that to be enough.
We are definitely short on documentation of both the library and the webparts that use it. i.e. https://github.com/pnp/sp-starter-kit/tree/master/source/library-starter-kit-shared. I will look to bump this up the task list.
Building / bundling / packaging documentation for this webpart has been updated to reflect how best to utilize the library component. https://github.com/pnp/sp-starter-kit/tree/master/source/react-personal-calendar.
Category
Describe the bug
Expected or Desired Behavior
Run
gulp serve
without any issuesObserved Behavior
When running
gulp serve
, you get the following error:Steps to Reproduce
npm i
gulp serve
> errorFWIW, I followed the steps from https://github.com/pnp/sp-starter-kit/issues/427. After manually adding
@starter-kit/shared-library
to dependencies, I'm getting the following error: