Reputation: 1058
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 application, I got this error:
@google-cloud/profiler Failed to initialize SourceMapper. Source map support has been disabled: Error: An error occurred while processing the source map filesError: An error occurred while reading the sourceMap file /app/dist/index.js.map: Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
I'm using the official npm package.
I've tried searching SO to find a solution and can't find.
Does anyone have any idea on how to fix this issue?
Using version 12.18.3 of Node.JS - Using version 4.1.0 of @google-cloud/profiler
Upvotes: 0
Views: 522