How do I make this go away?
gistfile1.txt
WARNING in ./node_modules/dag-jose/lib/utils.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/johndavis/repo/dev/babylonjs-webpack-es6/node_modules/dag-jose/src/utils.ts' file: Error: ENOENT: no such file or directory, open '/Users/johndavis/repo/dev/babylonjs-webpack-es6/node_modules/dag-jose/src/utils.ts'
@ ./node_modules/dag-jose/lib/signing.js 1:0-56 8:25-38 13:19-32 18:28-41 22:20-33 36:19-30 41:25-36 46:17-28
@ ./node_modules/dag-jose/lib/index.js 1:0-40 42:19-36 60:22-36 79:15-29
@ ./node_modules/ipfs-core/src/components/index.js 9:0-35 295:28-35
@ ./node_modules/ipfs-core/src/index.js 1:0-62 22:22-34
@ ./src/scenes/dev/ipfsDemo.ts 7:0-34 71:27-38
@ ./src/scenes/dev/ lazy ^\.\/.*$ namespace object ./ipfsDemo.ts ./ipfsDemo
@ ./src/createScene.ts 5:11-41
This file has been truncated. show original
This is the base project I’m using w/ js-ipfs installed.
Babylon.js basic scene with typescript, webpack, es6 modules, editorconfig, eslint, hot loading and more. Will even make coffee if you ask nicely. - GitHub - RaananW/babylonjs-webpack-es6: Babylon....
We used Raanan’s webpack reference project to find some bugs in the esfx typescript framework, which makes me think js-ipfs might have some similar issues?
opened 11:12AM - 16 Sep 22 UTC
closed 01:46AM - 22 Sep 22 UTC
Compiled with problems:X
ERROR in ./node_modules/@esfx/collections-hashmap/di… st/esm/index.js 181:8
Module parse failed: 'import' and 'export' may only appear at the top level (181:8)
File was processed with these loaders:
* ./node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
| return getPrime(newSize);
| }
> export function createHashEntry() {
| return {
| prevEntry: undefined,
ERROR in ./node_modules/@esfx/collections-hashset/dist/esm/index.js 211:8
Module parse failed: 'import' and 'export' may only appear at the top level (211:8)
File was processed with these loaders:
* ./node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
| return getPrime(newSize);
| }
> export function createHashEntry() {
| return {
| prevEntry: undefined,
ERROR in ./node_modules/@esfx/collections-sortedmap/dist/esm/index.js 36:8
Module parse failed: 'import' and 'export' may only appear at the top level (36:8)
File was processed with these loaders:
* ./node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
| limitations under the License.
| */
> export function binarySearch(array, key, comparer) {
| if (array.length === 0)
| return -1;
ERROR in ./node_modules/@esfx/collections-sortedset/dist/esm/index.js 38:8
Module parse failed: 'import' and 'export' may only appear at the top level (38:8)
File was processed with these loaders:
* ./node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
| limitations under the License.
| */
> export function binarySearch(array, key, comparer) {
| if (array.length === 0)
| return -1;
ERROR in ./node_modules/@esfx/equatable/dist/esm/index.js 18:0-40
Module not found: Error: Can't resolve '#hashCode' in '/Users/johndavis/repo/dev/babylonjs-webpack-es6/node_modules/@esfx/equatable/dist/esm'
Here is a repro for this issue. Check the github repo here:
danieln
November 24, 2022, 1:35pm
5