GithubHelp home page GithubHelp logo

dufu1991 / simple-cloud-music Goto Github PK

View Code? Open in Web Editor NEW
405.0 3.0 39.0 1.32 MB

简洁的的第三方网易云音乐播放器

Home Page: https://simplecloudmusic.com

License: MIT License

JavaScript 21.96% CSS 4.11% HTML 1.94% Svelte 71.98%
svelte pwa rollup music-player javascript web-music-player pwa-apps player progressive-web-app netease-cloud-music

simple-cloud-music's People

Contributors

dufu1991 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

simple-cloud-music's Issues

-462:请完成验证操作

最近登录pwa应用总显示-462:请完成验证操作,点击 我知道了 以后也没有跳出验证码,同时不能听歌,这是什么情况?已禁用所有广告拦截插件。

私人FM相关问题

你好开发者,非常感谢你制作了这款网易云第三方网页应用!

在使用这款应用的过程中,我发现在成功登录后,基本每次都会弹出以下弹窗:

  • 502:[object Object]
  • [object Object]:[object Object]
  • undefined:未知错误

并且私人FM在绝大多数情况下也不可用,点按相关按钮框会弹窗:

  • [object Object]:[object Object]

即使偶然成功开始播放,在私人FM播放过程中也出现了循环播放若干首歌的情况。

初步判定为应用通过相关API获取私人FM相关数据失败导致,但本人技术力不过关,无力修复。不知开发者能否尝试修复呢?

另给出一点小建议:在搜索界面及搜索结果界面中添加「专辑」栏并返回相关结果。按专辑搜索并顺序播放对于一部分本应用的使用者来说非常的有用。

再次感谢开发者为开发本应用付出的努力。

iOS PWA 模式中右滑手势返回动画重复播放

比如从 “我喜欢的音乐” 右滑返回 “我的主页” 时会重复播放第二遍返回动画,很抱歉我并没有录制复现视频。不过点击左上角的返回按键时则只播放一遍动画,是正常的。

PWA 模式不能后台播放,有群友说是 iOS 的限制。这是个遗憾 😢 。

手机号登录似乎只支持 +86,我目前绑定的手机号是 GV 号 🤣 。不过既然支持多种登录方式,不支持 +1 也没有什么影响。

部署报错

问题1:

readme 里这一段:

设备安装好 node 环境之后,进入工程目录,执行 node i 安装依赖。

node i 命令是不是应该是 npm install ?

问题2:

[!] Error: Could not resolve './pages/Version.svelte' from src/routes.js
Error: Could not resolve './pages/Version.svelte' from src/routes.js
    at error (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:198:30)
    at ModuleLoader.handleResolveId (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:22287:24)
    at /root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:22250:26

应该是文件名大小写问题 , src/pages/version.svelte 文件名改为 src/pages/Version.svelte 就好了。

问题3:

[!] Error: Unexpected token (Note that you need @rollup/plugin-json to import JSON files)                          
node_modules/axios/package.json (2:8)                                                                              
1: {                                                                                                               
2:   "name": "axios",                                                                                              
           ^                                                                                                       
3:   "version": "0.21.4",                                                                                          
4:   "description": "Promise based HTTP client for the browser and node.js",                                                                                                                                                           
Error: Unexpected token (Note that you need @rollup/plugin-json to import JSON files)                              
    at error (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:198:30)                           
    at Module.error (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:12560:16)                                                                                                                                      
    at Module.tryParse (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:12937:25)                                                                                                                                   
    at Module.setSource (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:12842:24)              
    at ModuleLoader.addModuleSource (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:22090:20)  

这个问题不知道怎么解决

node 版本为 v18.12.0

拉取代码第一次启动报错,缺少依赖项

拉取代码后,npm i , npm run dev 。发现缺少依赖项

error

解决办法:

  1. npm i @rollup/plugin-json -D
  2. 修改rollup.config.js ,
import json from '@rollup/plugin-json'

      plugins: [
            json(),
      ]
  1. npm run dev ,启动成功

想问下作者

我最近在调研svelte,想用它写一些ui组件用于angular和react.
看到有人说:“zero runtime只是宣传口号,它并不能在所有的场景下做到zero runtime。”
所以请问下载什么情况下又runtime,又或者是否开发的组件都能兼容angular和react

Hello

你好, 我想跑一下你的代码, 应该有些东西你没有上传?
我跑不起来, 好像是依赖版本不对, 因为没有lock文件
希望可以一起维护一下

本地部署报错

运行npm i提示

npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated [email protected]: This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained.
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.

added 160 packages, and audited 161 packages in 33s

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

5 vulnerabilities (4 high, 1 critical)

To address issues that do not require attention, run:
  npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
npm notice
npm notice New minor version of npm available! 9.5.1 -> 9.8.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.8.1
npm notice Run npm install -g [email protected] to update!
npm notice

再运行npm audit fix

up to date, audited 161 packages in 5s

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

# npm audit report

lodash  <=4.17.20
Severity: critical
Regular Expression Denial of Service (ReDoS) in lodash - https://github.com/advisories/GHSA-x5rq-j2xg-h7qm
Prototype Pollution in lodash - https://github.com/advisories/GHSA-4xc9-xhrj-v574
Prototype Pollution in lodash - https://github.com/advisories/GHSA-fvqr-27wr-82fm
Prototype Pollution in lodash - https://github.com/advisories/GHSA-p6mc-m468-83gw
Command Injection in lodash - https://github.com/advisories/GHSA-35jh-r3h4-6jhm
Regular Expression Denial of Service (ReDoS) in lodash - https://github.com/advisories/GHSA-29mw-wpgm-hmr9
Prototype Pollution in lodash - https://github.com/advisories/GHSA-jf85-cpcp-j695
No fix available
node_modules/lodash
  scp2  >=0.1.0
  Depends on vulnerable versions of lodash
  Depends on vulnerable versions of ssh2
  node_modules/scp2

marked  <=4.0.9
Severity: high
Inefficient Regular Expression Complexity in marked - https://github.com/advisories/GHSA-5v2h-r2cx-5xgj
Inefficient Regular Expression Complexity in marked - https://github.com/advisories/GHSA-rrrm-qjm4-v8hf
Regular Expression Denial of Service (REDoS) in Marked - https://github.com/advisories/GHSA-4r62-v4vq-hr96
No fix available
node_modules/marked
  rollup-plugin-md  *
  Depends on vulnerable versions of marked
  node_modules/rollup-plugin-md

ssh2  <1.4.0
Severity: high
OS Command Injection in ssh2 - https://github.com/advisories/GHSA-652h-xwhf-q4h6
fix available via `npm audit fix`
node_modules/scp2/node_modules/ssh2

5 vulnerabilities (4 high, 1 critical)

To address issues that do not require attention, run:
  npm audit fix

Some issues need review, and may require choosing
a different dependency.

运行npm run build提示错误

src/components/PlayListCover.svelte
38: </script>
39:
40: <div class="cover" on:click={goToDetail} bind:this={coverDom}>
    ^
41:   <div class="cover-img">
42:     <Lazy height={220}>
[!] Error: Unexpected token (Note that you need @rollup/plugin-json to import JSON files)

请大佬指点

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.