Giter VIP home page Giter VIP logo

sphero-project's People

Contributors

josephcappadona avatar superfashi avatar wangandr avatar yueyang1996 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sphero-project's Issues

Raspberry Issues

Hi, I am trying to make this project work so that I can control my R2-Q5 from a Raspberry 4.

I solved a problem in yarn install with the dependency that wasn't for Linux (xpc-connection) and made it to rebuild by commenting a line in scanner.ts that had a problem with declarations (import { IToyDiscovered } from './scanner';).
After fighting with the bluetooth-hci module I managed to have everything ready but it still doesn't work.

Can someone help me?

This is the error:
sudo yarn server
yarn run v1.19.2
$ ts-node src/server

/usr/lib/node_modules/ts-node/src/index.ts:293
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
src/server.ts:1:40 - error TS2307: Cannot find module 'spherov2.js'.

1 import { Scanner, Stance, Utils } from 'spherov2.js';
~~~~~~~~~~~~~
src/server.ts:2:28 - error TS2307: Cannot find module 'spherov2.js'.

2 import { R2D2, R2Q5 } from 'spherov2.js';
~~~~~~~~~~~~~
src/server.ts:3:30 - error TS2307: Cannot find module 'spherov2.js'.

3 import { sounds_array } from 'spherov2.js';
~~~~~~~~~~~~~

at createTSError (/usr/lib/node_modules/ts-node/src/index.ts:293:12)
at reportTSError (/usr/lib/node_modules/ts-node/src/index.ts:297:19)
at getOutput (/usr/lib/node_modules/ts-node/src/index.ts:399:34)
at Object.compile (/usr/lib/node_modules/ts-node/src/index.ts:457:32)
at Module.m._compile (/usr/lib/node_modules/ts-node/src/index.ts:530:43)
at Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Object.require.extensions.<computed> [as .ts] (/usr/lib/node_modules/ts-node/src/index.ts:533:12)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.