Last moment version broke storybook/addons-knobs
See original GitHub issueWARNING in node_modules/moment/src/lib/locale/locales.js
Module not found: Error: Can't resolve './locale' in '~/node_modules/moment/src/lib/locale'
This addons is broken since the last moment version was released.
Related issue: https://github.com/moment/moment/issues/4218
You could force the version to solve it.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Last moment version broke storybook/addons-knobs #2006
This addons is broken since the last moment version was released. ... You could force the version to solve it. The text was...
Read more >Storybook Addon Knobs (deprecated)
Storybook Addon Knobs allow you to edit props dynamically using the Storybook UI. You can also use Knobs as a dynamic variable inside...
Read more >Problem with npm install - Could not resolve dependency. Is ...
I have an Angular app, I have updated the app to the version 11. I have node v15.10.0 ...
Read more >Broken build with updated Storybook (5.3) Configuration
I now have a main.js, manager.js, and preview.js. When I publish with npm this is the error I see this, even though the...
Read more >Next-level component showcasing with Storybook controls
Learn about controls, a new Storybook addon that lets you ... Storybook controls vs. knobs: Improving your React component testing ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

For a quick fix if you depend on knobs for development, try
Looks like moment broke a whole bunch of stuff. Gonna close this since it looks like reinstalling the dependencies would fix this issue.