-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmigration-storybook.log
32 lines (28 loc) · 3.35 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
🔎 checking possible migrations..
attention => Storybook now collects completely anonymous telemetry regarding usage.
This information is used to shape Storybook's roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://storybook.js.org/telemetry
🔎 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 0
at JSON.parse (<anonymous>)
at _readFile (/Users/filiptaticek/.npm/_npx/bc7e1e37fcb46ffc/node_modules/jsonfile/index.js:25:16)
at async Object.run (/Users/filiptaticek/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:123:142)
at async runFixes (/Users/filiptaticek/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:328:1144)
at async automigrate (/Users/filiptaticek/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:323:676)
at async doInitiate (/Users/filiptaticek/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:337:939)
at async withTelemetry (/Users/filiptaticek/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/core-server/dist/index.js:35:3422)
at async initiate (/Users/filiptaticek/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:348:109)