Home  >  Q&A  >  body text

Start Storybook: Permission Denied

https://i.stack.imgur.com/Bnc9Z.jpg

My storybook runs fine on Windows 10 while pushing to server

sh: 1: start-storybook: Permission denied

root_app_0486GCHS-Design-L-801:/datadrive/FE/census-design-system$ sudo npm run Storybook

Democracy book. 1.7 Storybook Start Storybook-p 6696

Node: internal/modules/cjs/loader:1631 Throw an error;

Error: Module *../dist/cis/server not found! Requires stack:

P粉614840363P粉614840363371 days ago502

reply all(1)I'll reply

  • P粉163951336

    P粉1639513362023-09-14 09:38:36

    First delete your node_modules folder or rename it. Then install node_modules again by running npm install. It should now work fine.

    reply
    0
  • Cancelreply