-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmigration-storybook.log
51 lines (47 loc) · 7.42 KB
/
migration-storybook.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
🔎 checking possible migrations..
🔎 found a 'eslintPlugin' migration:
╭ Automigration detected ──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ We've detected you are not using our eslint-plugin. │
│ │
│ In order to have the best experience with Storybook and follow best practices, we advise you to install eslint-plugin-storybook. │
│ │
│ More info: https://github.com/storybookjs/eslint-plugin-storybook#readme │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
? Do you want to run the 'eslintPlugin' migration on your project? » (Y/n)√ Do you want to run the 'eslintPlugin' migration on your project? ... yes
✅ Adding dependencies: eslint-plugin-storybook
✅ Adding Storybook plugin to .eslintrc.json
❌ error when running eslintPlugin migration
SyntaxError: .eslintrc.json: Unexpected token / in JSON at position 74
at JSON.parse (<anonymous>)
at _readFile (C:\Users\IqbalH\Desktop\marketplace\node_modules\jsonfile\index.js:25:16)
at async Object.run (C:\Users\IqbalH\Desktop\marketplace\node_modules\@storybook\cli\dist\generate.js:121:142)
at async runFixes (C:\Users\IqbalH\Desktop\marketplace\node_modules\@storybook\cli\dist\generate.js:326:1144)
at async automigrate (C:\Users\IqbalH\Desktop\marketplace\node_modules\@storybook\cli\dist\generate.js:321:636)
at async doInitiate (C:\Users\IqbalH\Desktop\marketplace\node_modules\@storybook\cli\dist\generate.js:356:373)
at async withTelemetry (C:\Users\IqbalH\Desktop\marketplace\node_modules\@storybook\core-server\dist\index.js:35:3422)
at async initiate (C:\Users\IqbalH\Desktop\marketplace\node_modules\@storybook\cli\dist\generate.js:367:109)
╭ Migration check ran with failures ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Failed migrations: │
│ │
│ eslintPlugin: │
│ .eslintrc.json: Unexpected token / in JSON at position 74 │
│ │
│ You can find the full logs in C:\Users\IqbalH\Desktop\marketplace\migration-storybook.log │
│ │
│ ───────────────────────────────────────────────── │
│ │
│ If you'd like to run the migrations again, you can do so by running 'npx storybook@next automigrate' │
│ │
│ The automigrations try to migrate common patterns in your project, but might not contain everything needed to migrate to the latest version of Storybook. │
│ │
│ Please check the changelog and migration guide for manual migrations and more information: https://storybook.js.org/migration-guides/7.0 │
│ And reach out on Discord if you need help: https://discord.gg/storybook │
│ │
│ ───────────────────────────────────────────────── │
│ │
│ You can find more information for a given dependency by running npm ls --depth=1 <package-name> │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯