increase source-map package version ( Cannot read property 'substr' of undefined err )
See original GitHub issueHello, team! Thanks for your work! Can you increase source-map
package version to the latest (~0.6.1)? This is need beacuse of bug in source-map
package: https://github.com/mozilla/source-map/issues/247. I am using preact and the bug is reproducing for me.
and the same https://github.com/webpack/webpack-sources/pull/27
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Cannot read property 'substr' of undefined · Issue #247 - GitHub
I've been digging into the error a bit more and I'm not sure that it's as easy as just applying #257 to fix...
Read more >Cannot read property 'substr' of undefined - source-node.js ...
This error comes from having two 2 classes/components in one ts file. A brutal way to fix this.
Read more >Developers - Cannot read property 'substr' of undefined -
TypeError: Cannot read property 'substr' of undefined at Function. (...\node_modules\webpack-sources\node_modules\source-map\lib\source-node.js:115:26).
Read more >Uncaught TypeError: Cannot read property of undefined
If you get undefined error, you need to make sure that which ever variables throws undefined error, is assigned a value to it....
Read more >cannot read properties of null (reading 'matches') npm - You.com
If you are getting an error that reads "Cannot read properties of null (reading 'matches')" when running npm [1][2], it usually means that...
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
@Hotell done https://github.com/webpack-contrib/source-map-loader/pull/56
Alt solution until this is merged:
npm shrinkwrap
will generate a npm-shrinkwrap.json"webpack-sources": {
and replace it with:n-joy