Comments (5)
补充下: 是执行 npm run serve 可以正常启动
DONE Compiled successfully in 9465ms 2:34:35 AM
App running at:
- Local: http://localhost:8080/
- Network: http://10.170.0.10:8080/
Note that the development build is not optimized.
To create a production build, run npm run build.
from core.
看了看这里有一个相关 issue, 总结一下
方案一: 升级 Node/NPM
方案二: 清除 NPM 缓存(npm cache clean --force
)+删除 node_modules
+删除 package-lock.json
如果还是不行请附上构建时的 debug 日志
from core.
npm: 6.14.7
node 14.7.0
还是不行, 之前我也使用过您说的方法,折腾2天啦,实在搞不定才过来问的。下面是debug.log
root@rssw:/JAVClub_web# cat /root/.npm/_logs/2020-08-08T07_48_34_727Z-debug.logprebuild: [email protected]
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/root/.nvm/versions/node/v14.7.0/bin/node',
1 verbose cli '/root/.nvm/versions/node/v14.7.0/bin/npm',
1 verbose cli 'run',
1 verbose cli 'build'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]
6 info lifecycle [email protected]build: [email protected]build: unsafe-perm in lifecycle true
7 verbose lifecycle [email protected]
8 verbose lifecycle [email protected]build: PATH: /root/.nvm/versions/node/v14.7.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/root/JAVClub_web/node_modules/.bin:/root/.nvm/versions/node/v14.7.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/gamesbuild: CWD: /root/JAVClub_web
9 verbose lifecycle [email protected]
10 silly lifecycle [email protected]build: Args: [ '-c', 'vue-cli-service build' ]build: Returned: code: 134 signal: null
11 silly lifecycle [email protected]
12 info lifecycle [email protected]~build: Failed to exec build script
13 verbose stack Error: [email protected] build: vue-cli-service build
13 verbose stack Exit status 134
13 verbose stack at EventEmitter. (/root/.nvm/versions/node/v14.7.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:314:20)
13 verbose stack at ChildProcess. (/root/.nvm/versions/node/v14.7.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:314:20)
13 verbose stack at maybeClose (internal/child_process.js:1051:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid [email protected]
15 verbose cwd /root/JAVClub_web
16 verbose Linux 4.14.129-bbrplus
17 verbose argv "/root/.nvm/versions/node/v14.7.0/bin/node" "/root/.nvm/versions/node/v14.7.0/bin/npm" "run" "build"
18 verbose node v14.7.0
19 verbose npm v6.14.7
20 error code ELIFECYCLE
21 error errno 134
22 error [email protected] build: vue-cli-service build
22 error Exit status 134
23 error Failed at the [email protected] build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 134, true ]
from core.
看起来一部分是玄学错误
本地构建了一份并发布到了 JAVClub/[email protected] 这里, 直接下载 web.zip 并解压到 dist
目录即可
from core.
好的,可以了
from core.
Related Issues (20)
- 希望能在core裡面直接實現抓取影片 (海外用戶) HOT 6
- 两个建议 HOT 6
- 卡在数据库那里 HOT 6
- 播放的时候会转码吗,服务器转码还是客户端转码? HOT 4
- [email protected]
- 如果可以实现观看电影电视剧就好了 HOT 1
- 所有api访问都报这个错 HOT 14
- 气死人
- 支持老哥哦,虽然不用在线的
- 手动插入drives表,导入成功,链接gd出错 HOT 1
- cf会不会封号 HOT 1
- 请问我已把分享在tg上分享的导到dg盘了,那如何接着这些资料继续爬新的资料呢? HOT 1
- 請問展示站是不是不能用了 HOT 1
- 项目跑起来 第一个种子下载完成后 /tmp/sync/ 目录下没有出现xx/xx/xx.....xx/ 这种目录 HOT 2
- 谷歌教育版政策不变,希望作者继续更新下去呐! HOT 2
- 创建书签失败
- 有没有考虑添加themoviedb的api或者豆瓣的呢?
- windows可以用吗
- 小白的建议
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 core.