Comments (4)
Thanks, actually it was npm start
for me.
Watching out for updates :)
Cheers
from pigallery2.
Hi Rafael,
I'm happy to hear that interested in the project!
The project is currently under heavy development.
This error is already fixed with the latest commits, but not part of any 'release' yet.
I'll set up a proper publishing tool chain soon for the project and with those releases, users won't have to install all dev dependencies (like phantomjs), just the minimal required libraries.
I'm also planning to have the first release candidate in the next few weeks.
In the mean time, if you would like to try the PiGallery2, just download the source from the repo, then
npm install
npm run build
btw.: You got this error because, you try to compile the project with the latest typescript. Using [email protected] can also solve this problem.
Best,
Patrik
from pigallery2.
Hi Patrik, thanks for the quick reply.
I have downloaded the updated version. npm run build --verbose
now shows this error:
npm info it worked if it ends with ok
npm verb cli [ '/usr/local/bin/node',
npm verb cli '/usr/local/bin/npm',
npm verb cli 'run',
npm verb cli 'build',
npm verb cli '--verbose' ]
npm info using [email protected]
npm info using [email protected]
npm verb config Skipping project config: /root/.npmrc. (matches userconfig)
npm verb stack Error: missing script: build
npm verb stack at run (/usr/local/lib/node_modules/npm/lib/run-script.js:151:19)
npm verb stack at /usr/local/lib/node_modules/npm/lib/run-script.js:61:5
npm verb stack at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:356:5
npm verb stack at handleExists (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:329:20)
npm verb stack at FSReqWrap.cb [as oncomplete] (fs.js:311:19)
npm verb cwd /root
npm verb Linux 4.9.28-v7+
npm verb argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build" "--verbose"
npm verb node v8.1.3
npm verb npm v5.0.3
npm ERR! missing script: build
npm verb exit [ 1, true ]
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-07-12T09_53_55_271Z-debug.log
Sorry for the trouble ;)
Cheers,
Rafael
from pigallery2.
Hi Rafael,
Sorry for the misleading setup instructions.
The latest beta (https://github.com/bpatrik/pigallery2/releases/tag/1.0.0-beta.3)
Doesn't need any more npm run build
(its prebuilt), just:
npm install
npm run
please keep in mind, that running the application as a daemon/service is not solved yet.
You can try something like this:
https://stackoverflow.com/questions/4681067/how-do-i-run-a-node-js-application-as-its-own-process/28542093#28542093
from pigallery2.
Related Issues (20)
- Flat mode fail to show image HOT 3
- Extension configuration is broken HOT 20
- Is directory flattening broken?
- Regardless of the urlBase settings, reverse proxy access thru NGINX does not work with domain/subfolder HOT 4
- Not displaying captions/description from PNG HOT 12
- AVIF support HOT 2
- Question: Metadata xmp.rating values HOT 5
- mp4 videos not listed / shown? HOT 2
- Sort by date does not does not correctly handle timezones HOT 6
- Images Missing "Date/Time Original" All Arbitrarily Assigned the Same Date HOT 28
- "Thumbnail folder error" & "Unknown indexing error for: / " on TrueNAS HOT 1
- edge-alpine DB fails with an HEIC image for media_entity.metadataSizeWidth constraint HOT 14
- Watch filesystem to avoid reindexing HOT 1
- Blog not shown on correct position in a search
- Increase sharingKey complexity HOT 5
- Periodic jobs not working/saving settings HOT 1
- Docker is not building HOT 3
- server error and container crash when searchin with special characters HOT 2
- Search by date filters by UTC timestamp HOT 2
- PiGallery2 stopped working - health issue - docker update ? HOT 3
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 pigallery2.