Last active
July 27, 2020 17:25
-
-
Save jdeisenberg/764e6ae6b9939ef8422d23960f73dcac to your computer and use it in GitHub Desktop.
bs-fetch "fetch not found"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let fetchData = () => { | |
| Fetch.fetch("data.csv"); | |
| } | |
| fetchData(); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "fetchtest", | |
| "version": "0.1.0", | |
| "sources": { | |
| "dir" : "src", | |
| "subdirs" : true | |
| }, | |
| "package-specs": { | |
| "module": "commonjs", | |
| "in-source": true | |
| }, | |
| "suffix": ".bs.js", | |
| "bs-dependencies": [ | |
| "bs-fetch" | |
| ], | |
| "warnings": { | |
| "error" : "+101" | |
| }, | |
| "namespace": true, | |
| "refmt": 3 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /var/www/example/fetchtest/src/Art.bs.js:9 | |
| fetch("data.csv"); | |
| ^ | |
| ReferenceError: fetch is not defined | |
| at Object.<anonymous> (/var/www/example/fetchtest/src/Art.bs.js:9:1) | |
| at Module._compile (internal/modules/cjs/loader.js:1156:30) | |
| at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10) | |
| at Module.load (internal/modules/cjs/loader.js:1000:32) | |
| at Function.Module._load (internal/modules/cjs/loader.js:899:14) | |
| at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) | |
| at internal/main/run_main_module.js:18:47 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment