(base) [firestar@Archlinux graphest]$ npm start
> graphest@1.3.3 start
> cross-env-shell NODE_ENV=development npm run build && electron .
> graphest@1.3.3 build
> npm-run-all build:*
> graphest@1.3.3 build:app
> webpack
ERROR in ./node_modules/bignumber.js/bignumber.mjs 2602:35
Module parse failed: Unexpected token (2602:35)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| P.toFraction = function (md) {
> var d, d0, d1, d2, e, exp, n, n
ERROR in /home/firestar/graphest/src/common/bignumber.ts
./src/common/bignumber.ts 1:26-40
[tsl] ERROR in /home/firestar/graphest/src/common/bignumber.ts(1,27)
TS7016: Could not find a declaration file for module 'bignumber.js'. '/home/firestar/graphest/node_modules/bignumber.js/bignumber.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/bignumber.js` if it exists or add a new declaration (.d.ts) file containing `declare module 'bignumber.js';`
ERROR in /home/firestar/graphest/src/common/bignumber.ts
./src/common/bignumber.ts 3:15-29
[tsl] ERROR in /home/firestar/graphest/src/common/bignumber.ts(3,16)
TS2665: Invalid module name in augmentation. Module 'bignumber.js' resolves to an untyped module at '/home/firestar/graphest/node_modules/bignumber.js/bignumber.js', which cannot be augmented.
ERROR in /home/firestar/graphest/src/main/main.ts
./src/main/main.ts 16:28-46
[tsl] ERROR in /home/firestar/graphest/src/main/main.ts(16,29)
TS7016: Could not find a declaration file for module 'electron-updater'. '/home/firestar/graphest/node_modules/electron-updater/out/main.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/electron-updater` if it exists or add a new declaration (.d.ts) file containing `declare module 'electron-updater';`
webpack compiled with 4 errors
ERROR in /home/firestar/graphest/src/common/bignumber.ts
1:26-40
[tsl] ERROR in /home/firestar/graphest/src/common/bignumber.ts(1,27)
TS7016: Could not find a declaration file for module 'bignumber.js'. '/home/firestar/graphest/node_modules/bignumber.js/bignumber.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/bignumber.js` if it exists or add a new declaration (.d.ts) file containing `declare module 'bignumber.js';`
ERROR in /home/firestar/graphest/src/common/bignumber.ts
3:15-29
[tsl] ERROR in /home/firestar/graphest/src/common/bignumber.ts(3,16)
TS2665: Invalid module name in augmentation. Module 'bignumber.js' resolves to an untyped module at '/home/firestar/graphest/node_modules/bignumber.js/bignumber.js', which cannot be augmented.
ERROR in /home/firestar/graphest/src/main/main.ts
16:28-46
[tsl] ERROR in /home/firestar/graphest/src/main/main.ts(16,29)
TS7016: Could not find a declaration file for module 'electron-updater'. '/home/firestar/graphest/node_modules/electron-updater/out/main.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/electron-updater` if it exists or add a new declaration (.d.ts) file containing `declare module 'electron-updater';`
webpack compiled with 3 errors
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 5:36-111
Module not found: Error: Can't resolve './files/noto-sans-cyrillic-ext-400-normal.woff2' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 6:36-110
Module not found: Error: Can't resolve './files/noto-sans-cyrillic-ext-400-normal.woff' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 7:36-107
Module not found: Error: Can't resolve './files/noto-sans-cyrillic-400-normal.woff2' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 9:36-109
Module not found: Error: Can't resolve './files/noto-sans-devanagari-400-normal.woff2' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 10:36-108
Module not found: Error: Can't resolve './files/noto-sans-devanagari-400-normal.woff' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 11:36-108
Module not found: Error: Can't resolve './files/noto-sans-greek-ext-400-normal.woff2' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 12:36-107
Module not found: Error: Can't resolve './files/noto-sans-greek-ext-400-normal.woff' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 13:36-104
Module not found: Error: Can't resolve './files/noto-sans-greek-400-normal.woff2' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 14:36-103
Module not found: Error: Can't resolve './files/noto-sans-greek-400-normal.woff' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 15:37-110
Module not found: Error: Can't resolve './files/noto-sans-vietnamese-400-normal.woff2' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 16:37-109
Module not found: Error: Can't resolve './files/noto-sans-vietnamese-400-normal.woff' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 17:37-109
Module not found: Error: Can't resolve './files/noto-sans-latin-ext-400-normal.woff2' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 18:37-108
Module not found: Error: Can't resolve './files/noto-sans-latin-ext-400-normal.woff' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 19:37-105
Module not found: Error: Can't resolve './files/noto-sans-latin-400-normal.woff2' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/@fontsource/noto-sans/400.css (./node_modules/css-loader/dist/cjs.js!./node_modules/@fontsource/noto-sans/400.css) 20:37-104
Module not found: Error: Can't resolve './files/noto-sans-latin-400-normal.woff' in '/home/firestar/graphest/node_modules/@fontsource/noto-sans'
ERROR in ./node_modules/bignumber.js/bignumber.mjs 2602:35
Module parse failed: Unexpected token (2602:35)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| P.toFraction = function (md) {
> var d, d0, d1, d2, e, exp, n, n
ERROR in /home/firestar/graphest/src/common/bignumber.ts
./src/common/bignumber.ts 1:26-40
[tsl] ERROR in /home/firestar/graphest/src/common/bignumber.ts(1,27)
TS7016: Could not find a declaration file for module 'bignumber.js'. '/home/firestar/graphest/node_modules/bignumber.js/bignumber.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/bignumber.js` if it exists or add a new declaration (.d.ts) file containing `declare module 'bignumber.js';`
ERROR in /home/firestar/graphest/src/common/bignumber.ts
./src/common/bignumber.ts 3:15-29
[tsl] ERROR in /home/firestar/graphest/src/common/bignumber.ts(3,16)
TS2665: Invalid module name in augmentation. Module 'bignumber.js' resolves to an untyped module at '/home/firestar/graphest/node_modules/bignumber.js/bignumber.js', which cannot be augmented.
ERROR in /home/firestar/graphest/src/main/main.ts
16:28-46
[tsl] ERROR in /home/firestar/graphest/src/main/main.ts(16,29)
TS7016: Could not find a declaration file for module 'electron-updater'. '/home/firestar/graphest/node_modules/electron-updater/out/main.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/electron-updater` if it exists or add a new declaration (.d.ts) file containing `declare module 'electron-updater';`
webpack compiled with 19 errors
ERROR: "build:app" exited with 1.
I am going to build your project on Archlinux. But your docs only write Ubuntu, so I followed these steps:
and then I got:
[1] https://stackoverflow.com/questions/54831494/sh-1-cross-env-permission-denied-on-laravel-mix