renren-fast vue 运行提示 <% if (process.env.NODE_ENV === ‘production‘) { %> <% }else { %> <% } %>

出现此情况后按照如下操作执行即可
PS F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master> node -v
v14.15.1
PS F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master> npm -v
6.14.8
PS F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master> npm rebuild node-sass
PS F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master> npm uninstall node-sass
npm WARN ajv-keywords@1.5.1 requires a peer of ajv@>=4.10.0 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader@6.0.6 requires a peer of node-sass@^4.0.0 but none is installed. You must install peer dependencies yourself.
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"})

up to date in 14.949s
PS F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master> npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported

> node-sass@5.0.0 install F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master\node_modules\node-sass
> node scripts/install.js
Downloading binary from https://npm.taobao.org/mirrors/node-sass//v5.0.0/win32-x64-83_binding.node
Download complete..] - :
Binary saved to F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master\node_modules\node-sass\vendor\win32-x64-83\binding.node
Caching binary to E:\package\node.js\node_cache\node-sass\5.0.0\win32-x64-83_binding.node

> node-sass@5.0.0 postinstall F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master\node_modules\node-sass
> node scripts/build.js

Binary found at F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master\node_modules\node-sass\vendor\win32-x64-83\binding.node
Binary is fine
npm WARN sass-loader@6.0.6 requires a peer of node-sass@^4.0.0 but none is installed. You must install peer dependencies yourself.
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"})    

+ node-sass@5.0.0
added 95 packages from 82 contributors in 36.303s

4 packages are looking for funding
  run `npm fund` for details

PS F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master> npm install 
npm WARN sass-loader@6.0.6 requires a peer of node-sass@^4.0.0 but none is installed. You must install peer dependencies yourself.
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"})    

up to date in 14.352s

4 packages are looking for funding
  run `npm fund` for details
PS F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master> npm install --save node-sass --unsafe-perm=true --allow-root
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported

> node-sass@5.0.0 install F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master\node_modules\node-sass
> node scripts/install.js

Cached binary found at E:\package\node.js\node_cache\node-sass\5.0.0\win32-x64-83_binding.node

> node-sass@5.0.0 postinstall F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master\node_modules\node-sass
> node scripts/build.js

Binary found at F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master\node_modules\node-sass\vendor\win32-x64-83\binding.node
Testing binary
Binary is fine
npm WARN sass-loader@6.0.6 requires a peer of node-sass@^4.0.0 but none is installed. You must install peer dependencies yourself.
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"})    

+ node-sass@5.0.0
updated 1 package in 27.845s
PS F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master> npm run dev

> renren-fast-vue@1.2.2 dev F:\git-renren-fast-vue\renren-fast-vue-master\renren-fast-vue-master
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

 10% building modules 1/5 modules 4 active ...er\renren-fast-vue-master\src\main.js(node:16948) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:16948) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:16948) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
 29% building modules 162/213 modules 51 active ...er\renren-fast-vue-master\src\App.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 44% building modules 291/349 modules 58 active ...en-fast-vue-master\src\views\main.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 46% building modules 305/352 modules 47 active ...views\main-navbar-update-password.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 46% building modules 308/354 modules 46 active ...vue-master\src\views\main-content.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 47% building modules 310/356 modules 46 active ...vue-master\src\views\common\theme.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 49% building modules 331/361 modules 30 active ...rc\views\modules\job\schedule-log.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 49% building modules 333/363 modules 30 active ...odules\job\schedule-add-or-update.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 50% building modules 334/364 modules 30 active ...-master\src\views\modules\oss\oss.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 50% building modules 336/365 modules 29 active ...-vue-master\src\views\common\home.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 50% building modules 340/367 modules 27 active ...\src\views\modules\oss\oss-upload.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 50% building modules 341/368 modules 27 active ...er\src\views\modules\job\schedule.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 51% building modules 342/369 modules 27 active ...\src\views\modules\oss\oss-config.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 51% building modules 346/374 modules 28 active ...ster\src\views\modules\sys\config.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 51% building modules 348/376 modules 28 active ...\modules\sys\config-add-or-update.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 52% building modules 350/378 modules 28 active ...t-vue-master\src\views\common\404.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 52% building modules 352/380 modules 28 active ...-master\src\views\modules\sys\log.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 52% building modules 354/382 modules 28 active ...vue-master\src\views\common\login.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 52% building modules 356/384 modules 28 active ...ws\modules\sys\menu-add-or-update.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 52% building modules 358/386 modules 28 active ...master\src\views\modules\sys\menu.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 53% building modules 360/387 modules 27 active ...ws\modules\sys\role-add-or-update.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 53% building modules 362/390 modules 28 active ...master\src\views\modules\sys\role.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 53% building modules 364/392 modules 28 active ...ws\modules\sys\user-add-or-update.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 53% building modules 366/394 modules 28 active ...master\src\views\modules\sys\user.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 54% building modules 369/396 modules 27 active ...vue-master\src\views\demo\ueditor.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 54% building modules 371/399 modules 28 active ...vue-master\src\views\demo\echarts.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 55% building modules 377/405 modules 28 active ...r\src\views\main-sidebar-sub-menu.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 55% building modules 379/407 modules 28 active ...vue-master\src\views\main-sidebar.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 55% building modules 381/409 modules 28 active ...-vue-master\src\views\main-navbar.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 66% building modules 817/862 modules 45 active ...ter\src\components\icon-svg\index.vueNo parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
 95% emitting                                                                           

 DONE  Compiled successfully in 44261ms                                                                                                                     下午9:41:06

 I  Your application is running here: http://localhost:8001
  • 3
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值