Unable to resolve some modules: "videojs"
See original GitHub issueDescription
require(“videojs”) in videojs-record code results in exception during meteor application startup. Manually changing it to require(“video.js”) fixes this problem. Not sure how it should work in general and why it is not correct module name in the first place.
Steps to reproduce
Create meteor app
meteor npm install video.js
meteor npm install recordrtc
meteor npm install videojs-record
run meteor
Results
Expected
No exceptions
Error output
Unable to resolve some modules:
"videojs" in
/project/node_modules/videojs-record/dist/videojs.record.min.js
(web.browser)
If you notice problems related to these missing modules, consider running:
meteor npm install --save videojs
Additional Information
versions
meteor 1.8 video.js 7.2.2 recordrtc 5.4.8 videojs-record: 2.4.1
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Video JS in Angular 9 - live video - 'Can't resolve videojs ...
I think the problem is your webpack.alias doesn't get affected. On the other hand, your webpack.config.js is not applied yet.
Read more >Video.js Blog
The complete CHANGELOG is available, but here are some highlights: No longer transpiled into ES5 for ... Your browser can't play this video....
Read more >videojs-css - npm
Start using videojs-css in your project by running `npm i videojs-css`. ... via npm and require the plugin as you would any other...
Read more >How to fix error TS7016: Could not find a declaration file for ...
How to fix error TS7016: Could not find a declaration file for module 'XYZ'. 'file.js' implicitly has an 'any' type. Photo by Jason...
Read more >Failed to resolve module specifier axios. - You.com
The script with the broken import will not do any logging. In general, look for scripts which import by module name / specifier...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Why do we need this alias at all?
@AdnanAwan124 you sound like insane with a request like that. You paying me? Why would I spent my saturday doing that for some random person? Unbelievable. And hijjacking a random ticket, wtf…