Comments (18)
yarn build
or
npm run build
Line 9 in 59c959d
from music.
在 npm install 的时候出错了。
from music.
贴一下报错看看,是不是electron下不下来?
from music.
rekols@rekols-PC:~/web/music$ cnpm install
npm WARN deprecated [email protected]: babili has been renamed to babel-minify. Please update to babel-preset-minify
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @suen/electron-updater@^1.0.5
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'player'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR! /home/rekols/.npm/.cache/cnpm/_logs/2018-08-25T11_19_23_478Z-debug.log
from music.
再试一下。
原因是cnpm的包更新不及时,我刚刚已经刷新了
或者直接换成npm就没有问题了,建议装依赖的时候开一下proxychains
from music.
神奇了
from music.
刚刚的cnpm install 一次就行了
from music.
cnpm可能比较流行的包才会同步的快,我这种私人发布,下载量极低的包,即使是两个月以前就更新了,也需要自己去手动同步...
from music.
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module '@babel/runtime/core-js/promise'
at Module._resolveFilename (module.js:543:15)
at Function.Module._resolveFilename (/home/rekols/web/music/releases/linux-unpacked/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:473:25)
at Module.require (module.js:586:17)
at require (internal/module.js:11:18)
at Object. (/home/rekols/web/music/releases/linux-unpacked/resources/app.asar/node_modules/@suen/electron-updater/dist/github-adapter.js:10:39)
at Object. (/home/rekols/web/music/releases/linux-unpacked/resources/app.asar/node_modules/@suen/electron-updater/dist/github-adapter.js:121:3)
at Module._compile (module.js:642:30)
at Object.Module._extensions..js (module.js:653:10)
at Module.load (module.js:561:32)
from music.
运行的时候一直卡在了这 (
from music.
看一下node_modules目录下是不是没有'@babel/runtime/core-js/promise'
这个包,把node_modules全删了,重新装一次试试
from music.
删了又执行了一下 cnpm install 还是一样。
from music.
node版本是多少?如果用npm装呢
from music.
node 版本是 10.9.0,我用npm装装看
from music.
npm安装也是这样
from music.
确实没有这个 @babel/runtime/core-js/promise
from music.
node回退到lts试试,8
from music.
@rekols 上次找不到@babel/runtime/core-js/promise
解决了吗?又有一个windows的大兄弟遇到了,我这边调试了一下,发现用npm装就会没有这个文件夹,用yarn安装就有
from music.
Related Issues (20)
- 软件登录无法唤起系统默认浏览器 HOT 1
- 歌手和专辑页面 HOT 3
- 能否提供导出功能? HOT 1
- 网易云个性推荐“每日歌曲”无法进入 HOT 1
- 支持SOCKS代理 HOT 2
- 1.3.1 Release 对低版本macos的支持 HOT 2
- 请求添加咪咕音乐
- 请添加酷狗音乐
- 海外显示无版权
- 能否把其他播放器的音效功能整合到这个里面
- 本地搜索功能优化
- QQ 搜索功能不是使用,没有歌曲请问是什么原因呢? HOT 1
- error Command failed with exit code 1.怎么解决这个问题呢
- 不懂就问,为什么没有DaggerApplicationComponent HOT 2
- 能否增加QQ音乐分析功能,每个歌手有多少歌,每个流派等,还有能不能增加检测重复功能 HOT 1
- 深色模式
- Hl
- 可以下载高分辨率的音乐吗 HOT 1
- 路径错误,使得云歌单请求错误,如果在设置里云歌单服务地址后面加/,一键导入的请求地址则多了一个/
- #nowplaying on Audiomack HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from music.