Comments (8)
Hi @cozyrobinson, thank you for opening this issue 👍
I am not very proficient with Angular on particular but it seems that this is not directly related to the traveler package itself. At least this is what I would assume by the error log you provided.
Do you have any code or repository which is a minimal reproducible example, where you can show the error ? So basically which I can clone and test locally on my machine ?
from the-traveler.
Thanks for responding!
I use bitbucket, if that's okay: https://bitbucket.org/drift_cody/testiny/overview
from the-traveler.
Sure, Bitbucket is not a problem. But it seems your repository does not contain any code ?
from the-traveler.
Oops, try now.
from the-traveler.
Thanks a lot for the code
I checked your project and you are right, with the-traveler
as a dependency it doesn't compile. At first I was a little bit confused but then I quickly realised what's the problem here. I am sorry that I did not thought of it on the first place.
The dependencies of the the-travler
are depend on a Node environment. For example the fs
module which will give you access to the file system. It is used to interact with the manifest files. But the angular-cli
will create a browser application which does not run in a Node environment. That is why you get all those errors of modules not being found while compiling. They are simply not available in the browser. For reference see this comment: angular/angular-cli#8272 (comment)
So you are only able to use the library in a Node environment.
from the-traveler.
from the-traveler.
I am really sorry to say this, but if you want to use it as a browser module - no. Unfortunately there is now way to use it since it relies on other modules which are only available in a Node environment.
What you could do, is set up a Node server, which is running the library and expose it results trough an API but I think this is not what you want to do. Just a thought that came into my mind.
from the-traveler.
I will close this issue for now. If you still have some other doubts or questions please do not hesitate to ask
from the-traveler.
Related Issues (20)
- Adapt v2.1.2 HOT 2
- Delete Manifest ZIP when Finished HOT 1
- Update to reflect Destiny API up to 2.2.1
- Manifest Issue HOT 10
- IDestinyCharacterComponent#emblemBackgroundPath is misspelled HOT 3
- Update library to latest API docs HOT 1
- es6-promise is listed as a dev-dependency but should be a regular dependency HOT 5
- GlobalAlerts End Point HOT 3
- Are all endpoints wrapped? HOT 11
- Fails to unzip manifest file HOT 2
- Manifest is not a function HOT 4
- Why does the-traveler require you to set the oAuth token instead of taking it as a parameter when oAuth API calls are made? HOT 4
- Manifest JSON HOT 5
- Public Vendors Endpoint HOT 5
- Importing enums? HOT 2
- Error with getAccessToken() HOT 12
- Broken enums?
- API-Key not sending.
- TypeError: Right-hand side of 'instanceof' is not an object 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 the-traveler.