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

大神运行不起来 #13

Open
mumu1002 opened this issue Sep 19, 2022 · 3 comments
Open

大神运行不起来 #13

mumu1002 opened this issue Sep 19, 2022 · 3 comments

Comments

@mumu1002
Copy link

mumu1002 commented Sep 19, 2022

这个方法显示缺失文件(//sdk.51.la/js-sdk-pro.min.js) 下载node.js,到目录下npm install, 然后npm run build生成dist文件夹,把里面的静态文件拷贝到服务器web目录即可

@HotelEnglish
Copy link

感谢提供的方法!已经测试成功,运行目录要选择dist。

@Shiyuanc
Copy link

想请问已经创建了dist文件夹了,已经cd进入目录下,“把里面的静态文件拷贝到服务器web目录即可”可以说的详细些吗?谢谢

@HotelEnglish
Copy link

不需要手动建dist文件夹,安装好node.js等环境后,直接在项目内分别执行以下2个命令:
npm install -g yarn
yarn install
执行后,如果是宝塔面板,去网站设置那将运行目录改成dist即可。

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

3 participants