Comments (10)
Is using npm-link a bad idea, or were you thinking of another method?
from cassette.
My thought was to recommend installing the package via local path (as shown at the link above).
In the past npm link
didn't work for me because the linked module would attempt to use its own copy of React. This may not be an issue with npm 3 because peerDependencies
are no longer downloaded automatically. I'd appreciate some assistance with testing - if you're able, please let me know what exactly you did, what the result was, and what version(s) of npm you're using.
from cassette.
Well with 3.10.3 the linking of files works (even in Windows). I don't have time to test it in an actual installation. I'll tell you tomorrow.
from cassette.
@nistath any update? I may have time to test this soon but in the meantime I'm curious if you've looked into it.
from cassette.
@benwiley4000 I haven't. I'm really busy with my college applications and have practically no time. Sorry. I'll let you know if I do.
from cassette.
@nistath understood. I tested npm link
just now and it appears the problem hasn't been resolved; I get the error Error: Cannot find module 'react'
. For now, I'd like to recommend installing via local path (as I suggested in the initial issue write-up).
from cassette.
I'm currently using the local install routine, and while it works, it's much less convenient than using ln -s
in that you must manually re-install the module each time it updates. For now, I'm going to stick with the existing testing recommendations.
from cassette.
Okay then! Maybe npm isn't the best manager after all, as many have said. :P Good luck!
from cassette.
Thanks. I'm going to close this issue for now but should the npm link
situation improve in the future we'll update the readme.
from cassette.
Solved via example.html.
from cassette.
Related Issues (20)
- Add Sass section to @cassette/player docs
- Update CONTRIBUTING doc
- ContextProvider/Consumer not working as expected HOT 22
- Google Chrome - Rewind media not working HOT 6
- Address getting started pain points
- Remove support for unsupported `displayText` property on track
- Officially migrate to @cassette packages on npm
- Example: fork Webamp and adapt to use Cassette
- Timidity midi playback plug-in (?)
- How can context updates be streamlined to cut out extraneous work?
- Handling media element errors HOT 6
- Let PlayerContextGroup handle media outside of Cassette
- Timestamp rounds up to nearest second, MediaStatusBar momentarily reads :60 HOT 2
- Set up Cypress for testing HOT 1
- Need help, not sure if I'm doing everything right. HOT 6
- Snapshot not updating PlayerContextProvider state when playlist changes. HOT 7
- Snapshot not updating PlayerContextProvider state if playlist contains different track urls HOT 5
- Setting index in PlayerContextProvider outside HOT 6
- Correct way to set pause after a track is finished but before jumping to the next HOT 1
- onSelectTrackIndex always starts playing 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 cassette.