-
Notifications
You must be signed in to change notification settings - Fork 62
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
Comments
index.js?7247:7 Uncaught TypeError: fs.existsSync is not a function |
不支持浏览器打开 需要配置
…------------------ 原始邮件 ------------------
发件人: "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.
|
浏览器没有fs fs是node的
…------------------ 原始邮件 ------------------
发件人: "lz-web"<[email protected]>;
发送时间: 2020年6月24日(星期三) 下午5:07
收件人: "zjinh/CloudDisk"<[email protected]>;
抄送: "Subscribed"<[email protected]>;
主题: Re: [zjinh/CloudDisk] npm run dev:web 服务启动成功,浏览器打开报错! (#16)
index.js?7247:7 Uncaught TypeError: fs.existsSync is not a function
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
那该如何去配置才能实现在浏览器里面打开呢? |
没有具体尝试过 基本上需要将electron相关的分离
…------------------ 原始邮件 ------------------
发件人: "lz-web"<[email protected]>;
发送时间: 2020年6月24日(星期三) 下午5:18
收件人: "zjinh/CloudDisk"<[email protected]>;
抄送: "ZJINH"<[email protected]>;"Comment"<[email protected]>;
主题: Re: [zjinh/CloudDisk] npm run dev:web 服务启动成功,浏览器打开报错! (#16)
不支持浏览器打开 需要配置
…
------------------ 原始邮件 ------------------ 发件人: "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.
那该如何去配置才能实现在浏览器里面打开呢?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
您好,
git clone 下来项目之后,npm i 安装好了依赖
npm run dev 是没问题的
npm run dev:web 启动成功,浏览器打开报错了,请问是什么原因呢
The text was updated successfully, but these errors were encountered: