Comments (5)
Hi
You have to type something like
npm build
Or run 'gulp' to convert .ts files into .js files
Roger
-------- Original message --------
From: Micka41 [email protected]
Date:02/08/2016 2:17 PM (GMT+00:00)
To: BreeeZe/rpos [email protected]
Subject: [BreeeZe/rpos] The lastest version raspberry (#22)
I RPOS 0.1.0 and I run rpos.js all goes well
I tried the latest release of RPOS and impossible to launch (with ts-node?), I to a file not found error typing main.d.ts
How to launch the latest version of RPOS on Raspberry with PICAM?
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from rpos.
Hi
I have launch
npm install
and then
ts-node rpos.ts
but i have this :
/usr/lib/node_modules/ts-node/src/index.ts:259
throw new TSError(diagnosticList)
^
TSError: ⨯ Unable to compile TypeScript
rpos.ts (27,1): Cannot find name 'require'. (2304)
rpos.ts (29,23): Cannot find module 'http'. (2307)
rpos.ts (30,26): Cannot find module 'express'. (2307)
rpos.ts (38,13): Cannot find name 'require'. (2304)
rpos.ts (39,26): Cannot find name 'require'. (2304)
rpos.ts (2,1): File '/home/pi/rpos/typings/main.d.ts' not found. (6053)
at getOutput (/usr/lib/node_modules/ts-node/src/index.ts:259:17)
at /usr/lib/node_modules/ts-node/src/index.ts:268:16
at Object.compile (/usr/lib/node_modules/ts-node/src/index.ts:404:17)
at loader (/usr/lib/node_modules/ts-node/src/index.ts:290:33)
at Object.require.extensions.(anonymous function) as .ts
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Function.Module.runMain (module.js:575:10)
at Object. (/usr/lib/node_modules/ts-node/src/_bin.ts:179:12)
What does it means ?
Thanks
ts-node v1.2.2
node v6.3.1
npm 3.10.3
typesrcipt 1.8.10
from rpos.
After your npm install you need to run gulp
Just tested it on my Mac. checked out a fresh copy of the source tree, ran npm install and then ran gulp and it compiled fine. I think I had installed gulp with npm install -g gulp so it was installed for all projects
Roger
from rpos.
Just tried ts-node from my dev branch and it worked. Had to npm install -g ts-node and npm install -g typescript first but then it seemed to work.
from rpos.
I've not heard from @Micka41 for 9 months so assume the problem was sorted.
from rpos.
Related Issues (20)
- Not getting any rtsp HOT 8
- Simple ONVIF server written in Python3 HOT 1
- When I deployed rpos on ubuntu, I was able to discover the device upon startup, but couldn't open the screen for adjusting the device ip HOT 1
- When there is Chinese in the soap body, Onvif Device Manager and wireshark will fail to parse it. HOT 1
- Get exception from sax.js in node_modules HOT 2
- Discovery uses default route rather than the route associated with the listening IP
- os
- Many outdated dependencies? 33 vulnerabilities (13 moderate, 15 high, 5 critical) HOT 1
- ONVIF to Visca Serial HOT 6
- h265 encoded gstreamer HOT 2
- Can't indeed start service HOT 1
- The demo video linked in the README is private HOT 1
- Big latency with usbcam HOT 2
- ONVIF doesn't work in hikvision DVR HOT 1
- Support for RPI Camera Module 3 HOT 6
- trying to run rpos in raspberry pi 4 HOT 20
- issue with RPI4 or compute module HOT 2
- Updating JPG stream
- Waveshare pan-tilt-hat on pi4 communication through onvif in frigate (hassio)
- For those suffering from ‘rU’ or 'gyp' error. 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 rpos.