hugoabernier / WebPartDesignSeries

Web part solutions to accompany a series of posts on SPFx Web Part Design
MIT License
15 stars 12 forks source link

Facing issue with installing react-slick #1

Open NeoLegolas opened 5 years ago

NeoLegolas commented 5 years ago

C:\pnp\WebPartDesignSeries\WebPartLayouts>npm i slick-carousel react-slick npm WARN rollback Rolling back readable-stream@2.3.6 failed (this is probably harmless): EPERM: operation not permitted, rmdir 'C:\pnp\WebPartDesignSeries\WebPartLayouts\node_modules\fsevents\node_modules' npm WARN ajv-keywords@3.4.1 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself. npm WARN slick-carousel@1.8.1 requires a peer of jquery@>=1.8.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

mikezimm commented 4 years ago

Hi Neo, I cloned the repo (using Github Desktop) and did the following and it worked for me:

cd WebpartLayouts
npm install
gulp serve --nobrowser

which was surprising for me because for some reason I almost always have some issue testing a sample web part out of the box... was a pleasant surprise for me.