Meituan-Dianping / Logan

Logan is a lightweight case logging system based on mobile platform.
https://tech.meituan.com/logan_open_source.html
MIT License
5.73k stars 876 forks source link

运行LoganSite错误 #511

Closed gongzelong0718 closed 7 months ago

gongzelong0718 commented 8 months ago

npm install npm run start

➜  LoganSite git:(master) ✗ node -v    
v10.24.1
➜  LoganSite git:(master) ✗ npm -v         
6.14.12
➜  LoganSite git:(master) ✗ npm install  
npm WARN @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.24.1 requires a peer of @babel/core@^7.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-transform-class-static-block@7.24.1 requires a peer of @babel/core@^7.12.0 but none is installed. You must install peer dependencies yourself.
npm WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.

up to date in 18.296s

145 packages are looking for funding
  run `npm fund` for details
npm run start 

Failed to compile.

./src/app.scss (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--6-oneOf-5-3!./node_modules/sass-loader/dist/cjs.js??ref--6-oneOf-5-4!./src/app.scss)
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (93)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
gongzelong0718 commented 7 months ago

再次运行,npm run start ,貌似正常了

Compiled successfully!

You can now view logan-site-static-opensource in the browser.

  Local:            http://localhost:3000/
  On Your Network:  http://10.31.120.14:3000/

Note that the development build is not optimized.
To create a production build, use npm run build.