Comments (7)
Hi,
What is the output of ls -l node_modules | grep scripty
?
from peertube.
Thank you for your answer
When I run the command you gave me, it says
drwxr-xr-x 8 root root 4096 Jan 14 21:47 scripty
I have tested it on three servers, the OS are Debian Wheezy(kernel 3.2.0-4-amd64), Debian Jessie (kernel 4.9), Ubuntu 14.04, and run the commands as the readme.md guide exactly, there were simillor errors on all three servers.
when I run "npm install build".
first it says it can not find webpack scripty
then I run
npm install webpack scripty
under the directory /root/PeerTube, it's successfully.
Then I run "npm run build" again, it shows another error:
> [email protected] build /root/PeerTube
> npm run build:client:prod
> [email protected] build:client:prod /root/PeerTube
> scripty
> [email protected] webpack /root/PeerTube/client
> webpack "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail"
root directory: /root/PeerTube/client
module.js:472
throw err;
^
Error: Cannot find module 'webpack-merge'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/root/PeerTube/client/config/webpack.prod.js:6:22)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
npm ERR! Linux 3.2.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "webpack" "--" "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail"
npm ERR! node v7.4.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] webpack: `webpack "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] webpack script 'webpack "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the peertube-client package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs peertube-client
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls peertube-client
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! Please include the following file with any support request:
npm ERR! /root/PeerTube/client/npm-debug.log
/root/PeerTube/node_modules/scripty/cli.js:38
if (er) { throw er }
^
Error: Error: scripty - script "fail" failed by exiting with a non-zero code (1).
at ChildProcess.<anonymous> (/root/PeerTube/node_modules/scripty/lib/run/spawn-script.js:11:10)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:885:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
npm ERR! Linux 3.2.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build:client:prod"
npm ERR! node v7.4.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build:client:prod: `scripty`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:client:prod script 'scripty'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the peertube package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! scripty
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs peertube
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls peertube
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/PeerTube/npm-debug.log
npm ERR! Linux 3.2.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v7.4.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `npm run build:client:prod`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script 'npm run build:client:prod'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the peertube package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run build:client:prod
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs peertube
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls peertube
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/PeerTube/npm-debug.log
Then I run "npm install webpack-merge", it's successfully.
When I run "npm run build" again, it says another error
> [email protected] build /root/PeerTube
> npm run build:client:prod
> [email protected] build:client:prod /root/PeerTube
> scripty
> [email protected] webpack /root/PeerTube/client
> webpack "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail"
root directory: /root/PeerTube/client
module.js:472
throw err;
^
Error: Cannot find module 'copy-webpack-plugin'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/root/PeerTube/client/config/webpack.common.js:8:27)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
npm ERR! Linux 3.2.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "webpack" "--" "- -config" "config/webpack.prod.js" "--progress" "--profile" "--bail"
npm ERR! node v7.4.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] webpack: `webpack "--config" "config/webpack.prod .js" "--progress" "--profile" "--bail"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] webpack script 'webpack "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the peertube-client packa ge,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack "--config" "config/webpack.prod.js" "--progress" "--profile " "--bail"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs peertube-client
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls peertube-client
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to in stall?
npm ERR! Please include the following file with any support request:
npm ERR! /root/PeerTube/client/npm-debug.log
/root/PeerTube/node_modules/scripty/cli.js:38
if (er) { throw er }
^
Error: Error: scripty - script "fail" failed by exiting with a non-zero code (1) .
at ChildProcess.<anonymous> (/root/PeerTube/node_modules/scripty/lib/run/spa wn-script.js:11:10)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:885:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
npm ERR! Linux 3.2.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build:client:pro d"
npm ERR! node v7.4.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build:client:prod: `scripty`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:client:prod script 'scripty'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the peertube package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! scripty
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs peertube
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls peertube
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/PeerTube/npm-debug.log
npm ERR! Linux 3.2.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v7.4.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `npm run build:client:prod`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script 'npm run build:client:prod'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the peertube package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run build:client:prod
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs peertube
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls peertube
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/PeerTube/npm-debug.log
when I install copy-webpack-plugin, there will be another error like this again.
from peertube.
If you need, I will send you my server's IP and login key.
from peertube.
@myveb If you are root check https://github.com/Chocobozzz/PeerTube#sources. You need to make npm install --unsafe-perm
instead of npm install
.
from peertube.
@Chocobozzz Thank you very much! I run it on Debian Wheezy(kernel 3.2.0-4-amd64) successfully!
Will it be a good idea now if run PeerTube for production ?
from peertube.
Not yet :) But I hope that I will be able to release an alpha version in a few months.
Currently, PeerTube works well on production but upgrades can be difficult since I do big changes sometimes (for example I moved from MongoDB to PostgreSQL some days ago).
from peertube.
@Chocobozzz I see, Thank you very much , I will be waiting for your alpha version.
from peertube.
Related Issues (20)
- Video not downloadable when there is a colon in the title HOT 3
- Google Search Indexing - Video is not the main content of the page HOT 2
- BBB mp4 importation HOT 7
- YT Playlists That Include "Unavailable" Videos Won't Synchronize successfully. HOT 3
- downloading videos: replace slashes with sensible substitute HOT 1
- Flutter mobile app HOT 2
- Video will be overwritten if upload same video file HOT 1
- Custom client routes under My account
- Possibility to group users
- Peertube cannot be started after upgrading to v6.0.0 HOT 3
- Add ability to set resolution on the client end
- error: uncaughtException: UTP_ECONNRESET HOT 1
- Make Peertube perform better over GTmetrix analysis
- Let us use redundancy without listing videos
- Stop ActivityPub fetcher jobs on unfollow HOT 4
- Firefox Android password manager can't fill login/password HOT 4
- generate-video-storyboard fails on upload while job is marked as completed HOT 4
- Allowing image on description
- Add fediverse section on the configuration panel for instance representation HOT 3
- Redundancy not using correct URL HOT 9
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 peertube.