ArrayKnight / storybook-addon-headless

A Storybook addon to preview content from a headless CMS in components
https://storybook-addon-headless.netlify.com/
MIT License
29 stars 4 forks source link

npm install issue #15

Closed Karnith closed 4 years ago

Karnith commented 4 years ago

Describe the bug Can't install 2.0.0 of module

To Reproduce Steps to reproduce the behavior:

npm install storybook-addon-headless

Expected behavior module to install

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context

npm ERR! code ENOENT npm ERR! syscall chmod npm ERR! path E:\CameoEarth\node_modules\storybook-addon-headless\node_modules\json5\lib\cli.js npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, chmod 'E:\CameoEarth\node_modules\storybook-addon-headless\node_modules\json5\lib\cli.js' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

ArrayKnight commented 4 years ago

@Karnith so far I've been unable to replicate this issue. Would you mind sharing:

In the meantime, consider deleting your node_modules folder and package-lock.json and try to fresh install

ArrayKnight commented 4 years ago

While my project doesn't directly rely on json5 as a dependency, several of my dependencies do. Mainly, @babel/core, @storybook/core and ts-jest. Only @storybook/core is a non-dev dependency, and I just published version 2.0.1, which upgrades Storybook to it's latest version of 6.0.12

Can you let me know which version of Storybook you're using, please?

Karnith commented 4 years ago

@ArrayKnight sure:

Karnith commented 4 years ago

While my project doesn't directly rely on json5 as a dependency, several of my dependencies do. Mainly, @babel/core, @storybook/core and ts-jest. Only @storybook/core is a non-dev dependency, and I just published version 2.0.1, which upgrades Storybook to it's latest version of 6.0.12

Can you let me know which version of Storybook you're using, please?

modules for storybook:

Karnith commented 4 years ago

I used the npx sb init to auto configure

Karnith commented 4 years ago

I'll try with updating my modules with ncu and report back. I've deleted the package-lock.json.

Karnith commented 4 years ago

hmm. interesting. I was able to install now. thanks.

ArrayKnight commented 4 years ago

Excellent, glad it's been resolved