1,121 questions
1
vote
0
answers
363
views
Upload source map to Bugsnag for VUE JS
For my VUE JS ( VUE CLI) application, I have uploaded a source map to Bugsnag using webpack-bugsnag-plugins. But I am wondering if there is any way that the source map is not shown in the browser. I ...
3
votes
1
answer
740
views
Errors when building : no source map reference + remove sentry-cordova exited with exit code 1
I'm trying to build my ionic app for android and most users have a white screen after the splashscreen. I've past the past week to try to determine where it could come but got no idea... So I'm ...
2
votes
0
answers
553
views
webpack shows incorrect sourcemaps when using tailwibd directives
I'm using TailwindCSS 2.1+ in mode: 'jit' with SCSS, and currently facing the issue.
Let say I created class .red
.red {
color: red;
}
Devtools shows it came from _elements.scss:28 which is ...
0
votes
0
answers
106
views
Does react native include a source map in the build
When building the APK and IPA apps with react native, the JS bundle is included inside the apps but does RN also include a source map inside the apps ? If yes, then how to disable this behavior ?
0
votes
1
answer
270
views
Remove Source Map section on Visual Studio 2019
Do you know how to remove the source map section on Visual Studio 2019?
6
votes
2
answers
4k
views
How to setup source map on Sentry
I'm using Sentry for error reporting on the React app that I created.
The problem with it is that I don't have an idea how to debug certain issues because I don't know what's the exact file the error ...
1
vote
1
answer
279
views
Sourcemap transformation issue with Browserify > Exorcist > Sorcery and a local NPM Dependency
I'm developing a Chrome extension (typescript, browser target) with a dependency to a local npm module (node target).
The problem: my build pipeline is broken, most likely the sourcemap ...
3
votes
0
answers
581
views
Why parcel v2 generates wrong content for source map files when using "serve"?
I have this package.json (minimalist project here):
{
"name": "new-es6-project",
"version": "1.0.0",
"description": "A JavaScript project&...
5
votes
1
answer
1k
views
parcel serve returns index.html for SourceMap requests and non existent urls
Plain vanilla typescript dev environment set up with parcel.
I don't have SourceMap in browser (Edge/Chrome):
DevTools failed to load SourceMap: Could not parse content for http://localhost:1234/...
2
votes
0
answers
301
views
Nodejs (Typescript+vscode) Debugging: How to resolve source maps for two different directories?
I have two projects. The first project is a web-server that runs scripts. The second project exposes a collection of scripts that the first project runs.
I launch the web-server via a .vscode/launch....
8
votes
1
answer
2k
views
VSCode debugger: set a breakpoint in a Typescript package symlinked with `npm link`
I'm trying to debug a NodeJS app and its related typescript packages linked with npm link.
Structure looks like this:
/root/package-a # typescript package
/root/package-b # another typescript package
/...
2
votes
2
answers
1k
views
Google Chrome: how to find original line from minified line using a source map?
I'm using the Closure Compiler to minify my JS code, and it also generates a source map file. I can open my site in Chrome and load the source map to see the original source code. I can set a ...
3
votes
0
answers
661
views
How to get SourceMaps to load using Rails and Webpacker
I am running Rails 6.1.3 with webpacker 6.0.0.beta.6
When I run rails webpacker:compile, I can see the .js files as well as .map files emitted to public/packs/js.
The last line of one of the .js files ...
0
votes
0
answers
535
views
Google-Cloud Profiler for App Engine Flexible application in NodeJS
I'm trying to enable Google Cloud Profiler into my Node.js application running on App Engine Flexible environment. The profiler is working, I get generated profile.
In the log of my App Engine ...
5
votes
0
answers
562
views
Webpack sass-loader generating wrong / broken source maps
I'm trying to generate correct source maps for an large project (using monorepo, aliases for loading files from other sibling project, and bootstrap). Below is my webpack.config.js file. Currently, it ...
5
votes
0
answers
2k
views
Sentry source-maps - Troubleshooting
I'm trying to get source maps working with Sentry for a reactjs application. I'm using webpack in conjunction with the SentryWebpackPlugin. The relevant configurations in the webpack config look like ...
4
votes
1
answer
2k
views
VS Code: Debug TS code when stepping into a library function in the node.js debugger
I have written a library in TS and a program to test my library. I have enabled source Maps for both the library and the program and I am using the node.js debugger.
Debugging the TS code of my ...
1
vote
1
answer
2k
views
How to update source map file (css.map) from css and min.css files in Visual Studio 2019
In Visual Studio 2019, is there any easy tool to update source map file (css.map) from a css and min.css files?
I have a default.less file in a project which contains a default.css and then nested to ...
3
votes
0
answers
754
views
Ios Sourcemaps not applied - Sentry
Cannot get React Native IOS Source maps to apply.
The distribution and release match.
If RN is in debug mode then everything matches appropriately.
sentry-cli releases files “[email protected]....
3
votes
0
answers
308
views
Source map in grunt (babel + terser)
I`m using babel & terser in grunt. Both of them generate sourceMaps.
Babel has to be executed first, so it's sourceMap should be an inputSoruceMap for terser.
I've found something similar on ...
1
vote
0
answers
382
views
Error : Refused to get unsafe header "SourceMap"
I am new to webpack. I am getting Refused to get unsafe header "SourceMap" or Refused to get unsafe header "X-SourceMap" on my production build. In the config section, I am using ...
4
votes
1
answer
794
views
Chrome debugger jumps to wrong file on breakpoint
I got a vue-js application with multiple components called index.vue, some nested, loaded at the same time. When I set a breakpoint in Chrome inspector in one of the index.vue files, the debugger ...
5
votes
2
answers
4k
views
VSCode debugger not stopping on Typescript breakpoints
I have a Lerna monorepo with 2 modules(packages): ps and cli.
ps just exports a function whatever which cli imports.
When I try to debug this code using VSCode, however, my breakpoints stop on the ...
1
vote
0
answers
56
views
Fusebox doesn't recognize property setting for sourceRoot
I've inherited some javaScript/typeScript code I cant much change.
using:
fuse v0.4.0
fusebox v4.0.0,
typescript 4.1.3
I'm generating a bundle & sourceMap (bundle.js, bundle.js.map)
this ...
10
votes
0
answers
706
views
Create-react-app console shows chunk files
I would like to debug some errors happening during my React development. As you can see I can't see the source files. I am using create-react-app to create my project. I did not change anything else. ...
2
votes
1
answer
905
views
How to fix the webpack error "version" is a required argument in GCP cloudbuild
I create a bug issue in the webpack repo, but I'm afraid that it'll be closed since they ask for a minimal reproduction, which I cannot produce.
One of my cloudbuild steps is:
- name: node:$...
2
votes
2
answers
555
views
How to provide source map in Nodejs VM
I am evaluating javascript bundled source code in nodejs using the below code
const javascriptCode = "..."
const javascriptSourceMap = "..."
const wrapper = NativeModule.wrap(...
2
votes
0
answers
486
views
How to show transpiled code in VS Code when debugging original (source-mapped) TS source?
When I'm debugging in VS Code and seeing the original TS source of a transpiled app, how can I view the transpiled code that's actually being debugged?
I'm asking because I'm trying to troubleshoot a ...
2
votes
1
answer
646
views
Performance hit when using --inlineSourceMap with NodeJS in production?
Is there a significant performance hit when using the TypeScript compiler option --inlineSourceMap in a NodeJS production environment?
3
votes
0
answers
2k
views
Bugsnag showing url of minified files instead of upload sourcemap files
I am using bugsnag for error reporting.
To show stacktrace of errors bugsnag needs sourcemaps, which I am trying to upload to bugsnag using this documentation:
Uploading source map
github: bugsnag ...
0
votes
2
answers
857
views
Kotlin JS source map
I'm trying to set up Kotlin/JS sub-module in my gradle project and faced with a trouble that Google Chrome isn't able to load a source map with NPE error
webpack-internal:///./kotlin-dce-dev/kotlin.js:...
1
vote
0
answers
173
views
Angular 6: Debug library with Typescript while "ng serve" the main angular app
Right now I am debugging my library as one single huge file in JavaScript located in the fems5 folder.
I have the library source code, and the .js.map in the fems2 folder, but I don't know how to link ...
2
votes
1
answer
204
views
How to make "identity" source map
Background
I have a build process that copies JavaScript source files to certain locations.
I can then run it with Node.js.
However, when debugging with VSCode, it doesn't understand the relationship ...
3
votes
1
answer
5k
views
webpack v5 SourceMapDevToolPlugin "exclude" option not working
After upgarding to webpack 5, vendor.js file couldn't be excluded from being source-mapped via SourceMapDevToolPlugin.
// webpack.config.ts - removed other config for brevity
import { Configuration } ...
8
votes
1
answer
452
views
Where is the specification/standard for JavaScript source maps?
I'm very used to cross-browser web APIs having a specification document owned by a standards body, e.g. the WebRTC spec from the W3C, or the WebGL spec from Khronos.
Another web API is "Source ...
1
vote
0
answers
196
views
How to use source-maps in webpack 4 and babel 7?
I'm building a simple config for webpack and babel, I tried to add a source map via
devtool:'eval-cheap-module-source-map'
This made a source-map appear but with the file transpiled with babel,
how ...
3
votes
1
answer
3k
views
node --enable-source-maps not outputting function names
I am trying the new experimental node flag --enable-source-maps from the article Source maps in Node.js and while it outputs the correct line numbers, it doesn't appear to be outputting function names....
1
vote
0
answers
692
views
Using minified script.js and it's source map .js.map to recover the original source code
So am trying to get a readable code from a minimified js script and it's source map , i would like to know if it's possible to do that using just these two entry and how .
Thanks for helping
2
votes
0
answers
166
views
Debug netlify lambda functions
I have a website running in netlify and I also use netlify lambda functions.
I use vs code to debug lambda function locally by adding breakpoints to the build output and this works fine.
The problem ...
7
votes
2
answers
6k
views
Sentry not getting TypeScript source maps when integrated with NestJS
I've created a small NestJS project recently which I attempting to integrate Sentry into. I have followed the instructions on the Nest-Raven package readme, along with the instructions provided by ...
0
votes
1
answer
839
views
generate SourceMap based on JavaScript using source-map in node.js
no matter what I do the map is empty on map.toString().
let path = require("path");
let content = fs.readFileSync(".\\" + file, "utf8");
let filename = path.basename(...
0
votes
1
answer
1k
views
source maps are not present in the build
I am using https://github.com/react-boilerplate/react-boilerplate boilerplate for react project
and I have to integrate sentry for error log reporting.
For this, I need to upload source-maps on sentry ...
0
votes
0
answers
1k
views
View your source map files produced using webpack
My application uses django on the backend and Vuejs on the frontend (doesn't use vue-cli). So the index.js from Vue is used something like this in my base.html
{% compress js %}
<script type=&...
0
votes
1
answer
1k
views
How to debug external libraries in Angular?
Whenever calling methods/functions from 3rd party libraries such as underscore, Angular will drop you into a bundled vendor.js, source map doesn't seem to work, how to use Chrome Source Devtool to ...
1
vote
0
answers
1k
views
DevTools failed to load SourceMap: Could not load content for file:///path/to/source.js.map
When I run a Node.js typescript project with --inspect then I go to URL "localhost:9229/json/list" and select URL "devtoolsFrontendUrlCompat" (NOTE: need to remove "chrome-&...
3
votes
1
answer
3k
views
VSCode not parsing inline sourcemaps properly when debugging Node
I'm trying to debug an application in a multi-root project structure ( the root folder containing multiple projects ) and I'm having trouble getting vscode's debugger to recognize the sourcemaps that ...
46
votes
11
answers
104k
views
Webpack Module Warning: Failed to parse source map from "data" URL
I'm receiving a bummer warning and have been unable to find an available solution:
WARNING in ../lensing/dist/main.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to ...
0
votes
0
answers
727
views
Vue webpack encore sass source map not working correctly
I am working on a Vue project integrated with webpack (no Vue CLI).
Everything works fine functionality-wise.
But when I track/debug a style from any page the chrome devtools show me App.vue?vue&...
0
votes
1
answer
331
views
sourceMappingURL is cut short in browser
I'm currently working on adding source-mapping to js file. The problem is that js file is linked to the map file something like this: //# sourceMappingURL=C:/../../../cb.react.min.js.map, but when i ...
1
vote
1
answer
745
views
Chrome keeps loading source map even after GENERATE_SOURCEMAP=false
I've built an app with CRA and I'm trying to prevent Chrome from loading source maps.
Here's what I've tried so far:
Build react app with the command GENERATE_SOURCEMAP=false react-scripts build.
...