(bug) Cannot find module 'js-base64/base64.min.js'
See original GitHub issueDescribe the bug
Install, run, observe the issue:
cy.task('cypress-plugin-snapshot:getFile') failed with the following error:
> Cannot find module 'js-base64/base64.min.js'
The reason is that file referenced in https://github.com/meinaart/cypress-plugin-snapshots/blob/31fd4a5b38409b98c47e76142d862b257ac7dd7f/src/paths.js#L2
Actually is not present in the package:
It was there in version 2.5.x and in 2.6.x it is removed. The version installed with cypress-plugin-snapshots
is currently 2.6.3
.
I suggest to narrow the version range.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Cannot find module 'js-base64' - Stack Overflow
The js-base64 module is pretty common, so a pre-made Typings for that package surely exist. You can use them right away by: npm...
Read more >js-base64 - npm
Start using js-base64 in your project by running `npm i js-base64`. ... <script type="module"> // note jsdelivr.net does not automatically ...
Read more >How to Bundle JavaScript With Rollup — Step-by-Step Tutorial
Learn how to use Rollup as a smaller, more efficient alternative to webpack and Browserify to bundle JavaScript files in this step-by-step tutorial...
Read more >Module Methods - webpack
No CommonJS allowed, for example, you can't use require , module.exports or exports; File extensions ... import 'data:text/javascript;charset=utf-8;base64 ...
Read more >Node.js v19.3.0 Documentation
Bugs found in legacy features are unlikely to be fixed. ... tabs, and new lines contained within the base64-encoded string are ignored.
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 Free
Top 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
Just noticed #125 and #134. Please prioritize the merge as currently plugin is not usable unless you do something like this in
package.json
:Unfortunately it looks like the project is dead