Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run dev:web 服务启动成功,浏览器打开报错! #16

Open
lz-web opened this issue Jun 24, 2020 · 5 comments
Open

npm run dev:web 服务启动成功,浏览器打开报错! #16

lz-web opened this issue Jun 24, 2020 · 5 comments

Comments

@lz-web
Copy link

lz-web commented Jun 24, 2020

您好,
git clone 下来项目之后,npm i 安装好了依赖
npm run dev 是没问题的
npm run dev:web 启动成功,浏览器打开报错了,请问是什么原因呢
image

@lz-web
Copy link
Author

lz-web commented Jun 24, 2020

index.js?7247:7 Uncaught TypeError: fs.existsSync is not a function

@zjinh
Copy link
Owner

zjinh commented Jun 24, 2020 via email

@zjinh
Copy link
Owner

zjinh commented Jun 24, 2020 via email

@lz-web
Copy link
Author

lz-web commented Jun 24, 2020

不支持浏览器打开 需要配置

------------------ 原始邮件 ------------------ 发件人: "lz-web"<[email protected]>; 发送时间: 2020年6月24日(星期三) 下午5:06 收件人: "zjinh/CloudDisk"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: [zjinh/CloudDisk] npm run dev:web 服务启动成功,浏览器打开报错! (#16) 您好, git clone 下来项目之后,npm i 安装好了依赖 npm run dev 是没问题的 npm run dev:web 启动成功,浏览器打开报错了,请问是什么原因呢 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

那该如何去配置才能实现在浏览器里面打开呢?

@zjinh
Copy link
Owner

zjinh commented Jun 24, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants