I'm trying to add a storybook to my project but I get this error
Adding Storybook support to your "Angular" app SyntaxError: Unexpected token ] in JSON at position 550 at JSON.parse () at readFileAsJson (C:UsersMarouenAppDataRoaming pm-cache_npx17500 [email protected]:60:15) at getAngularAppTsConfigJson (C:UsersMarouenAppDataRoaming pm-cache_npx17500 [email protected]:47:38) at editAngularAppTsConfig (C:UsersMarouenAppDataRoaming pm-cache_npx17500 [email protected]:23:70) at generator (C:UsersMarouenAppDataRoaming pm-cache_npx17500 [email protected]:52:3) at runGenerator (C:UsersMarouenAppDataRoaming pm-cache_npx17500 [email protected]:162:37) at installStorybook (C:UsersMarouenAppDataRoaming pm-cache_npx17500 [email protected]:206:10) at _default (C:UsersMarouenAppDataRoaming pm-cache_npx17500 [email protected]:277:10) at Command. (C:UsersMarouenAppDataRoaming pm-cache_npx17500 [email protected]:34:566) at Command.listener [as _actionHandler] (C:UsersMarouenAppDataRoaming pm-cache_npx17500 ode_modules@storybookcli ode_modulescommanderindex.js:413:31)
When I try to start
npx -p @storybook/cli sb init
I checked the Angular.json with a JSON linter and the file is validated! Does anyone know how to solve this??
2.1m questions
2.1m answers
60 comments
57.0k users