使用 ESLint 将 Storybook 安装到 React.js 应用程序中后,VSCode linter 没有获取@storybook/react示例.stories.js文件中的导入。
它给我以下错误:
'@storybook/react' should be listed in the project's dependencies, not devDependencies.eslintimport/no-extraneous-dependencies
Run Code Online (Sandbox Code Playgroud) 当我运行docker-compose up安装 MySQL 服务器时,出现以下错误:
RUN apt-get -y update && apt-get upgrade -y:
/bin/sh: apt-get: command not found
Run Code Online (Sandbox Code Playgroud)
来自相关的 dockerfile 代码:
FROM mysql:5.7
RUN apt-get -y update && apt-get upgrade -y
Run Code Online (Sandbox Code Playgroud)
几个月前,这对我的同事来说效果很好。
下载Reactotron (v2.17.1)后,我收到 Mac 错误The application "Reactotron" can't be opened.
apple-m1 ×1
apt-get ×1
docker ×1
dockerfile ×1
eslint ×1
eslintrc ×1
installation ×1
macos ×1
mysql ×1
reactotron ×1
storybook ×1