You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2023/04/30 17:14:06 UTC

[superset] branch master updated: fix: npm run dev-server error resolved (#23702)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new fd3030fc14 fix:  npm run dev-server error resolved (#23702)
fd3030fc14 is described below

commit fd3030fc14dab1c89d198f74c8745b4c22282c9a
Author: Abhishek-kumar-samsung <a....@samsung.com>
AuthorDate: Sun Apr 30 22:43:58 2023 +0530

    fix:  npm run dev-server error resolved (#23702)
---
 CONTRIBUTING.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 03d3e7d225..48465f2751 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -585,6 +585,15 @@ There are three types of assets you can build:
 2. `npm run dev-server`: local development assets, with sourcemaps and hot refresh support
 3. `npm run build-instrumented`: instrumented application code for collecting code coverage from Cypress tests
 
+If this type of error comes while building assets(i.e using above commands):
+```bash
+Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize
+```
+Then put this:
+```bash
+export NODE_OPTIONS=--no-experimental-fetch`
+```
+
 #### Webpack dev server
 
 The dev server by default starts at `http://localhost:9000` and proxies the backend requests to `http://localhost:8088`.