第161天学习打卡(谷粒商城 3 安装powerDesigner软件 下载nodejs)

安装powerDesigner软件

下载地址: htp://forspeed.onlinedown.net/down/powerdesigner1029.zip

image-20210618162413019

image-20210618162507218

image-20210618162601632

image-20210618162633598

image-20210618162728049

image-20210618162757700

下一步:

image-20210618162836492

image-20210618162918915

image-20210618163536283

image-20210618164054581

image-20210618163908871

启动软件,没有提示激活或输入 表示激活成功。

查看版本信息进行汉化:

image-20210618165002559

image-20210618190016973

把汉化包文件中的内容复制到安装目录下:然后重启软件

image-20210618190118868

参考:PowerDesigner16.5下载和安装教程_cicong2374的博客-CSDN博客

打开个软件之后创建表可以设置主键自增:

image-20210618192103884

image-20210618191849859

如果启动Linux系统使用docker ps 发现没有启动容器可以使用这个命令使它们自动启动:

sudo docker update redis --restart=always

sudo docker update mysql --restart=always

image-20210618193340599

image-20210618193943268

然后在数据库中导入响应的信息。

在码云的人人开源上下载一下两个文件:

人人开源 (gitee.com)

image-20210618195044539

image-20210618195330595

克隆 renren-fast 和renren-fast-vue

在Git下把这两个文件克隆下来

image-20210618200824382

HP@LAPTOP-15MV62CS MINGW64 ~/Desktop
$ git clone https://gitee.com/renrenio/renren-fast.git


HP@LAPTOP-15MV62CS MINGW64 ~/Desktop
$ git clone https://gitee.com/renrenio/renren-fast-vue.git

image-20210618200138332

image-20210618200932814

image-20210618201330584

修改在gulimall1中的renren-fast下的application-dev.yml文件

image-20210618201933190

启动renren-fast,然后在浏览器页面访问

image-20210618202346332

这里访问的后台系统

image-20210618202400502

下载node.js

前端开发,少不了node.js;node,js是一个基于chrom V8引擎的javascrip运行环境。

npm是随同node.js一起安装的包管理工具, JavaScript, Java-Maven

1.官网下载node.js并使用node -v检查版本

2.配置npm使用淘宝镜像

npm config set registry http://registry.npm.taobao.org/

官网地址:Node.js (nodejs.org)

各种版本的信息:Index of /dist/latest-v10.x/ (nodejs.org)

image-20210618203003127

配置镜像

image-20210618204502019

把renren-fast-vue直接拖进vscode中

image-20210618204922314

出现的错误

PS C:\Users\HP\Desktop\renren-fast-vue> npm install
gyp ERR! configure error 
gyp ERR! stack Error: Command failed: D:\ansys18.2\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack                       ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:308:12)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "D:\\nodejs\\node.exe" "C:\\Users\\HP\\Desktop\\renren-fast-vue\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Users\HP\Desktop\renren-fast-vue\node_modules\node-sass
gyp ERR! node -v v14.16.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.13.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.13.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\HP\AppData\Roaming\npm-cache\_logs\2021-06-18T13_25_20_011Z-debug.log
PS C:\Users\HP\Desktop\renren-fast-vue> 

解决办法卸载nodejs

在控制面板中卸载nodejs,然后下载版本较低的

下载网址:Index of /dist/latest-v10.x/ (nodejs.org)

image-20210618223722591

安装成功

PS C:\Users\HP\Desktop\renren-fast-vue> npm install
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

> node-sass@4.13.1 install C:\Users\HP\Desktop\renren-fast-vue\node_modules\node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-64_binding.node
Download complete..] - :
Binary saved to C:\Users\HP\Desktop\renren-fast-vue\node_modules\node-sass\vendor\win32-x64-64\binding.node
Caching binary to C:\Users\HP\AppData\Roaming\npm-cache\node-sass\4.13.1\win32-x64-64_binding.node

> node-sass@4.13.1 postinstall C:\Users\HP\Desktop\renren-fast-vue\node_modules\node-sass
> node scripts/build.js

Binary found at C:\Users\HP\Desktop\renren-fast-vue\node_modules\node-sass\vendor\win32-x64-64\binding.node
Testing binary
Binary is fine
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 38 packages from 58 contributors in 28.981s

1 package is looking for funding
  run `npm fund` for details    

B站学习网址:全网最强电商教程《谷粒商城》对标阿里P6/P7,40-60万年薪_哔哩哔哩_bilibili

  • 2
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值