Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm test #19

Closed
alejoduque opened this issue Dec 8, 2020 · 11 comments
Closed

npm test #19

alejoduque opened this issue Dec 8, 2020 · 11 comments
Labels
bug Something isn't working support

Comments

@alejoduque
Copy link

Hello, I wanted to beta test you software under linux manjaro and got close but, i think i need advice on how to get over it´s first initialization.

I´m using Node v6.14.8

(had some issues resolved with 2 commands in this thread laravel-mix/laravel-mix#2383 )

`~/Documents/Kodtrol >>> npm run test ±[●][the-big-refactor]

[email protected] test /home/a/Documents/Kodtrol
mocha --recursive -r @babel/register

Helper - clamp
✓ should pass value within range
✓ should clamp values outside of range

Helper - counter
✓ should init properly with default ID and return 0
✓ should increment properly with default ID
✓ should reset with default ID to 0
✓ should init properly with custom ID and return 0
✓ should increment properly with custom ID
✓ should reset with custom ID to 0
✓ should reset all

Helper - isEven
✓ should return true for even numbers
✓ should return false for odd numbers

Helper - isOdd
✓ should return true for odd numbers
✓ should return false for even numbers

Helper - sequence
✓ should return for null or empty array
✓ should init properly with default ID and return first item
✓ should advance properly and rollover with default ID
✓ should reset with default ID if the array is shorter than the current index
✓ should reset properly with default ID
✓ should init properly with custom ID and return first item
✓ should advance properly and rollover with custom ID
✓ should reset with custom ID if the array is shorter than the current index
✓ should reset properly with custom ID

DmxDevice
✓ should construct without using with initial data
✓ should have proper getter values
✓ should have proper method results
✓ should update without errors
✓ should have proper getter values after update
✓ should have proper method results after update
✓ should set the proper numerical channel
✓ should set the proper aliased channel
✓ should get the proper numerical channel default
✓ should get the proper aliased channel default
✓ should destroy without errors

IldaDevice
✓ should construct without errors using initial data
✓ should have proper getter values
✓ should have proper method results
✓ should update without errors
✓ should have proper getter values after update
✓ should have proper method results after update
✓ should destroy without errors

MidiDevice
✓ should construct without errors using initial data
✓ should have proper getter values
✓ should have proper method results
✓ should update without errors
✓ should have proper getter values after update
✓ should have proper method results after update
✓ should destroy without errors

RootTimelineRenderer
1) should construct without errors using initial data
2) should destroy without errors

47 passing (69ms)
2 failing

  1. RootTimelineRenderer
    should construct without errors using initial data:
    TypeError: this._timeline.on is not a function
    at RootTimelineRenderer._setTimelineAndItems (src/renderer/rendering/renderers/root/RootTimelineRenderer.js:29:20)
    at new RootTimelineRenderer (src/renderer/rendering/renderers/root/RootTimelineRenderer.js:24:10)
    at Context. (test/renderer/renderers/RootTimelineRenderer.test.js:21:16)
    at processImmediate (internal/timers.js:461:21)

  2. RootTimelineRenderer
    should destroy without errors:
    TypeError: Cannot read property 'destroy' of undefined
    at Context. (test/renderer/renderers/RootTimelineRenderer.test.js:25:14)
    at processImmediate (internal/timers.js:461:21)

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] test: mocha --recursive -r @babel/register
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/a/.npm/_logs/2020-12-08T23_25_14_790Z-debug.log
`

Any advice welcomed and btw, thanks for putting out your software

@H-s-O
Copy link
Owner

H-s-O commented Dec 9, 2020

Hello @alejoduque and thanks for your interest!

I'll be honest, these two test conditions error out because of an incomplete test case. I've been focusing on completing the refactor (of the-big-refactor branch) and bringing the app to a releasable state for the first beta. Also, having tests that cover 100% of the app will take a LOT of time, so it will probably be done for now on a "slowly but surely" basis. TL;DR: you can skip the testing.

If you followed the steps from the readme (having one terminal running npm run dev and another one running npm start), you should see the following welcome window:
welcome

P.S.: I've enabled discussions for the repository, so if you have questions related to the usage of the app, I suggest you go there and create a discussion in the Q/A category :)

@H-s-O H-s-O added the support label Dec 9, 2020
@alejoduque
Copy link
Author

Oke, I understand what you say about the in-depth tests. I came to try that since I was only able to get to the Kodtrol window to open (after being launched from a second terminal) but no content shows inside the window. Hences is not yet a user related discussion but an issue with some particular library here (and yes, i had cloned from the big refractor branch).

Basically cause it fails running dev here:

`~/.../Kodtrol-bigrefractor/Kodtrol >>> npm run dev ±[develop]

[email protected] dev /home/a/Documents/Kodtrol-bigrefractor/Kodtrol
webpack-dev-server --progress --config build/webpack.config.js

10% building 2/2 modules 0 activeℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /home/a/Documents/Kodtrol-bigrefractor/Kodtrol/dist
✖ 「wdm」: Hash: b170220dcad5384d6564
Version: webpack 4.41.2
Time: 11225ms
Built at: 12/09/2020 10:29:06 AM
Asset Size Chunks Chunk Names
audio/index.js 420 KiB audio [emitted] audio
audio/index.js.map 481 KiB audio [emitted] [dev] audio
ui/index.js 5.03 MiB ui [emitted] ui
ui/index.js.map 5.24 MiB ui [emitted] [dev] ui
Entrypoint ui = ui/index.js ui/index.js.map
Entrypoint audio = audio/index.js audio/index.js.map
[0] multi (webpack)-dev-server/client?http://localhost:8080 (webpack)/hot/dev-server.js ./src/ui/index.js 52 bytes {ui} [built]
[1] multi (webpack)-dev-server/client?http://localhost:8080 (webpack)/hot/dev-server.js ./src/renderer/process/audio/index.js 52 bytes {audio} [built]
[./node_modules/domready/ready.js] 804 bytes {ui} [built]
[./node_modules/howler/dist/howler.js] 102 KiB {audio} [built]
[./node_modules/react-dom/index.js] 1.33 KiB {ui} [built]
[./node_modules/react/index.js] 190 bytes {ui} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {ui} {audio} [built]
[./node_modules/webpack-dev-server/client/index.js?http://localhost:8080] (webpack)-dev-server/client?http://localhost:8080 4.29 KiB {ui} {audio} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.51 KiB {ui} {audio} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {ui} {audio} [built]
[./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.89 KiB {ui} {audio} [built]
[./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {ui} {audio} [built]
[./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.59 KiB {ui} {audio} [built]
[./src/renderer/process/audio/index.js] 1.21 KiB {audio} [built]
[./src/ui/index.js] 610 bytes {ui} [built]
+ 807 hidden modules

ERROR in ./src/ui/styles/main.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/main.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/main.scss 1:14-139 20:4-31:5 23:25-150
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/partials/scripteditor.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/partials/scripteditor.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/partials/scripteditor.scss 1:14-159 20:4-31:5 23:25-170
@ ./src/ui/js/components/partials/ScriptEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/partials/scriptsbrowser.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/partials/scriptsbrowser.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/partials/scriptsbrowser.scss 1:14-161 20:4-31:5 23:25-172
@ ./src/ui/js/components/partials/ScriptsBrowser.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/partials/devicesbrowser.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/partials/devicesbrowser.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/partials/devicesbrowser.scss 1:14-161 20:4-31:5 23:25-172
@ ./src/ui/js/components/partials/DevicesBrowser.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/partials/timelinesbrowser.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/partials/timelinesbrowser.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/partials/timelinesbrowser.scss 1:14-163 20:4-31:5 23:25-174
@ ./src/ui/js/components/partials/TimelinesBrowser.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/timeline/timelineeditor.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/timeline/timelineeditor.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/timeline/timelineeditor.scss 1:14-161 20:4-31:5 23:25-172
@ ./src/ui/js/components/timeline/TimelineEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/board/boardeditor.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/board/boardeditor.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/board/boardeditor.scss 1:14-158 20:4-31:5 23:25-169
@ ./src/ui/js/components/board/BoardEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/partials/mainnav.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/partials/mainnav.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/partials/mainnav.scss 1:14-154 20:4-31:5 23:25-165
@ ./src/ui/js/components/partials/MainNav.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/partials/mediasbrowser.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/partials/mediasbrowser.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/partials/mediasbrowser.scss 1:14-160 20:4-31:5 23:25-171
@ ./src/ui/js/components/partials/MediasBrowser.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/partials/panel.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/partials/panel.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/partials/panel.scss 1:14-152 20:4-31:5 23:25-163
@ ./src/ui/js/components/partials/Panel.jsx
@ ./src/ui/js/components/partials/ScriptEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/partials/treeview.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/partials/treeview.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/partials/treeview.scss 1:14-155 20:4-31:5 23:25-166
@ ./src/ui/js/components/partials/TreeView.jsx
@ ./src/ui/js/components/partials/ScriptsBrowser.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/timeline/timelinewrapper.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/timeline/timelinewrapper.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/timeline/timelinewrapper.scss 1:14-162 20:4-31:5 23:25-173
@ ./src/ui/js/components/timeline/TimelineWrapper.jsx
@ ./src/ui/js/components/timeline/TimelineEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/timeline/timelineaudiotrack.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/timeline/timelineaudiotrack.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/timeline/timelineaudiotrack.scss 1:14-165 20:4-31:5 23:25-176
@ ./src/ui/js/components/timeline/TimelineMedia.jsx
@ ./src/ui/js/components/timeline/TimelineEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/timeline/timelinecurve.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/timeline/timelinecurve.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/timeline/timelinecurve.scss 1:14-160 20:4-31:5 23:25-171
@ ./src/ui/js/components/timeline/TimelineCurve.jsx
@ ./src/ui/js/components/timeline/TimelineEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/modals/configmodal.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/modals/configmodal.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/modals/configmodal.scss 1:14-158 20:4-31:5 23:25-169
@ ./src/ui/js/components/modals/ConfigModal.jsx
@ ./src/ui/js/components/partials/ModalsContainer.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/board/boardwrapper.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/board/boardwrapper.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/board/boardwrapper.scss 1:14-159 20:4-31:5 23:25-170
@ ./src/ui/js/components/board/BoardWrapper.jsx
@ ./src/ui/js/components/board/BoardEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/timeline/timelineitem.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/timeline/timelineitem.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/timeline/timelineitem.scss 1:14-159 20:4-31:5 23:25-170
@ ./src/ui/js/components/timeline/TimelineItem.jsx
@ ./src/ui/js/components/timeline/TimelineBlock.jsx
@ ./src/ui/js/components/timeline/TimelineEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/board/boarditem.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/board/boarditem.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/board/boarditem.scss 1:14-156 20:4-31:5 23:25-167
@ ./src/ui/js/components/board/BoardItem.jsx
@ ./src/ui/js/components/board/BoardBlock.jsx
@ ./src/ui/js/components/board/BoardEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/layer_editor/layereditor.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/layer_editor/layereditor.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/layer_editor/layereditor.scss 1:14-158 20:4-31:5 23:25-169
@ ./src/ui/js/components/partials/layer_editor/LayerEditor.jsx
@ ./src/ui/js/components/board/BoardWrapper.jsx
@ ./src/ui/js/components/board/BoardEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/forms/fields/filefield.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/forms/fields/filefield.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/forms/fields/filefield.scss 1:14-162 20:4-31:5 23:25-173
@ ./src/ui/js/components/forms/fields/FileField.jsx
@ ./src/ui/js/components/modals/BaseModal.jsx
@ ./src/ui/js/components/modals/TimelineTriggerModal.jsx
@ ./src/ui/js/components/timeline/TimelineEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/forms/fields/colorfield.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/forms/fields/colorfield.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/forms/fields/colorfield.scss 1:14-163 20:4-31:5 23:25-174
@ ./src/ui/js/components/forms/fields/ColorField.jsx
@ ./src/ui/js/components/modals/BaseModal.jsx
@ ./src/ui/js/components/modals/TimelineTriggerModal.jsx
@ ./src/ui/js/components/timeline/TimelineEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/components/layer_editor/layer.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/components/layer_editor/layer.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/components/layer_editor/layer.scss 1:14-152 20:4-31:5 23:25-163
@ ./src/ui/js/components/partials/layer_editor/Layer.jsx
@ ./src/ui/js/components/partials/layer_editor/LayerEditor.jsx
@ ./src/ui/js/components/board/BoardWrapper.jsx
@ ./src/ui/js/components/board/BoardEditor.jsx
@ ./src/ui/js/Main.jsx
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js

ERROR in ./src/ui/styles/root.scss (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/root.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: The module '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 73. This version of Node.js requires
NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/root.scss 1:14-129 20:4-31:5 23:25-140
@ ./src/ui/js/Root.jsx
@ ./src/ui/index.js
ℹ 「wdm」: Failed to compile.
`

@H-s-O
Copy link
Owner

H-s-O commented Dec 9, 2020

Are you sure you cloned/checked out the the-big-refactor branch? The npm run dev you ran shows errors of webpack loaders trying to bundle the files; the refactored branch uses parcel for bundling.

You might also want to try running npm run rebuild before npm run dev. If it still fails, try updating to at least Node 10.

@alejoduque
Copy link
Author

Yes im completely sure I have checkout the correct branch and this morning even did it on a new directory.. i have also done the run rebuild before the run dev. Will try to update node and ping back

@alejoduque
Copy link
Author

No joy yet:

`/.../Kodtrol-bigrefractor/Kodtrol >>> npm run dev ±[develop]

[email protected] dev /home/a/Documents/Kodtrol-bigrefractor/Kodtrol
webpack-dev-server --progress --config build/webpack.config.js

10% building 2/2 modules 0 activeℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /home/a/Documents/Kodtrol-bigrefractor/Kodtrol/dist
✖ 「wdm」: Hash: b170220dcad5384d6564
Version: webpack 4.41.2
Time: 9844ms
Built at: 12/09/2020 12:11:38 PM
Asset Size Chunks Chunk Names
audio/index.js 420 KiB audio [emitted] audio
audio/index.js.map 481 KiB audio [emitted] [dev] audio
ui/index.js 5.03 MiB ui [emitted] ui
ui/index.js.map 5.24 MiB ui [emitted] [dev] ui
Entrypoint ui = ui/index.js ui/index.js.map
Entrypoint audio = audio/index.js audio/index.js.map
[0] multi (webpack)-dev-server/client?http://localhost:8080 (webpack)/hot/dev-server.js ./src/ui/index.js 52 bytes {ui} [built]
[1] multi (webpack)-dev-server/client?http://localhost:8080 (webpack)/hot/dev-server.js ./src/renderer/process/audio/index.js 52 bytes {audio} [built]
[./node_modules/domready/ready.js] 804 bytes {ui} [built]
[./node_modules/howler/dist/howler.js] 102 KiB {audio} [built]
[./node_modules/react-dom/index.js] 1.33 KiB {ui} [built]
[./node_modules/react/index.js] 190 bytes {ui} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {ui} {audio} [built]
[./node_modules/webpack-dev-server/client/index.js?http://localhost:8080] (webpack)-dev-server/client?http://localhost:8080 4.29 KiB {ui} {audio} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.51 KiB {ui} {audio} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {ui} {audio} [built]
[./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.89 KiB {ui} {audio} [built]
[./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {ui} {audio} [built]
[./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.59 KiB {ui} {audio} [built]
[./src/renderer/process/audio/index.js] 1.21 KiB {audio} [built]
[./src/ui/index.js] 610 bytes {ui} [built]
+ 807 hidden modules

ERROR in ./src/ui/styles/main.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/sass-loader/dist/cjs.js!./src/ui/styles/main.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Module did not self-register: '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/vendor/linux-x64-83/binding.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at module.exports (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/binding.js:19:10)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
@ ./src/ui/styles/main.scss 1:14-139 20:4-31:5 23:25-150
@ ./src/ui/js/Main.jsx
`

I have this:
~/.../Kodtrol-bigrefractor/Kodtrol >>> node -v ±[develop]
v14.15.0
~/.../Kodtrol-bigrefractor/Kodtrol >>> npm -v ±[develop]
6.14.8

@H-s-O
Copy link
Owner

H-s-O commented Dec 9, 2020

Can you confirm that if you cloned using git that the command git branch --show-current in your local copy returns the-big-refactor? If not, run git checkout the-big-refactor.

I see that you are still running somehow on the develop branch by the "[email protected]" in the output of your comment. Refer to the following lines for the versions that you should see depending on the branch:

@alejoduque
Copy link
Author

You are right, I had tried both.. so far still I get errors.

~/.../Kodtrol-bigrefractor/Kodtrol >>> git pull ±[the-big-refactor]
warning: Pulling without specifying how to reconcile divergent branches is
discouraged. You can squelch this message by running one of the following
commands sometime before your next pull:

git config pull.rebase false # merge (the default strategy)
git config pull.rebase true # rebase
git config pull.ff only # fast-forward only

You can replace "git config" with "git config --global" to set a default
preference for all repositories. You can also pass --rebase, --no-rebase,
or --ff-only on the command line to override the configured default per
invocation.

Already up to date.
~/.../Kodtrol-bigrefractor/Kodtrol >>> git branch --show-current ±[the-big-refactor]
the-big-refactor

`/.../Kodtrol-bigrefractor/Kodtrol >>> npm run dev ±[the-big-refactor]

[email protected] dev /home/a/Documents/Kodtrol-bigrefractor/Kodtrol
cross-env KODTROL_DEV=true npm run clear-build && parcel watch ./src/ui2/index.html ./src/ui2/console.html ./src/ui2/splash.html ./src/audio/index.html --target electron --out-dir ./build --public-url ../

[email protected] clear-build /home/a/Documents/Kodtrol-bigrefractor/Kodtrol
npx rimraf ./build/*

⚠️ Parser "assets/JSAsset" failed to initialize when processing asset "src/ui2/index.js". Threw the following error:
Error: Cannot find module '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/@babel/compat-data/data/corejs3-shipped-proposals'
at createEsmNotFoundErr (internal/modules/cjs/loader.js:907:15)
at finalizeEsmResolution (internal/modules/cjs/loader.js:900:15)
at resolveExports (internal/modules/cjs/loader.js:432:14)
at Function.Module._findPath (internal/modules/cjs/loader.js:472:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:867:27)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js:10:55)
at Module._compile (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/v8-compile-cache/v8-compile-cache.js:192:30) falling back to RawAsset
⚠️ Parser "assets/JSAsset" failed to initialize when processing asset "src/ui2/console.js". Threw the following error:
Error: Cannot find module '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/@babel/compat-data/data/corejs3-shipped-proposals'
at createEsmNotFoundErr (internal/modules/cjs/loader.js:907:15)
at finalizeEsmResolution (internal/modules/cjs/loader.js:900:15)
at resolveExports (internal/modules/cjs/loader.js:432:14)
at Function.Module._findPath (internal/modules/cjs/loader.js:472:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:867:27)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js:10:55)
at Module._compile (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/v8-compile-cache/v8-compile-cache.js:192:30) falling back to RawAsset
⚠️ Parser "assets/JSAsset" failed to initialize when processing asset "src/ui2/splash.js". Threw the following error:
Error: Cannot find module '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/@babel/compat-data/data/corejs3-shipped-proposals'
at createEsmNotFoundErr (internal/modules/cjs/loader.js:907:15)
at finalizeEsmResolution (internal/modules/cjs/loader.js:900:15)
at resolveExports (internal/modules/cjs/loader.js:432:14)
at Function.Module._findPath (internal/modules/cjs/loader.js:472:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:867:27)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js:10:55)
at Module._compile (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/v8-compile-cache/v8-compile-cache.js:192:30) falling back to RawAsset
⚠️ Parser "assets/JSAsset" failed to initialize when processing asset "src/audio/index.js". Threw the following error:
Error: Cannot find module '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/@babel/compat-data/data/corejs3-shipped-proposals'
at createEsmNotFoundErr (internal/modules/cjs/loader.js:907:15)
at finalizeEsmResolution (internal/modules/cjs/loader.js:900:15)
at resolveExports (internal/modules/cjs/loader.js:432:14)
at Function.Module._findPath (internal/modules/cjs/loader.js:472:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:867:27)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js:10:55)
at Module._compile (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/v8-compile-cache/v8-compile-cache.js:192:30) falling back to RawAsset
⚠️ Parser "assets/JSAsset" failed to initialize when processing asset "node_modules/parcel-bundler/src/builtins/css-loader.js". Threw the following error:
Error: Cannot find module '/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/@babel/compat-data/data/corejs3-shipped-proposals'
at createEsmNotFoundErr (internal/modules/cjs/loader.js:907:15)
at finalizeEsmResolution (internal/modules/cjs/loader.js:900:15)
at resolveExports (internal/modules/cjs/loader.js:432:14)
at Function.Module._findPath (internal/modules/cjs/loader.js:472:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:867:27)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at Object. (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js:10:55)
at Module._compile (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/v8-compile-cache/v8-compile-cache.js:192:30) falling back to RawAsset
🚨 Cannot read property 'length' of undefined
at lineCounter (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/utils/lineCounter.js:3:30)
at JSPackager.writeModule (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/packagers/JSPackager.js:127:60)
at async JSPackager.addAsset (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/packagers/JSPackager.js:88:5)
at async Bundle._addDeps (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/Bundle.js:250:5)
at async Bundle._package (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/Bundle.js:219:7)
at async Promise.all (index 0)
at async Bundle.package (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/Bundle.js:202:5)
at async Promise.all (index 1)
at async Bundle.package (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/Bundle.js:202:5)
at async Promise.all (index 1)

`

@alejoduque
Copy link
Author

And yes, I had ran npm install before the run dev

@alejoduque
Copy link
Author

This is where im now:

`~/.../Kodtrol-bigrefractor/Kodtrol >>> npm install ±[●][the-big-refactor]

[email protected] postinstall /home/a/Documents/Kodtrol-bigrefractor/Kodtrol
patch-package

patch-package 6.2.2
Applying patches...
[email protected]
npm WARN [email protected] requires a peer of redux@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/mocha/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

audited 2085 packages in 7.488s

45 packages are looking for funding
run npm fund for details

found 2 vulnerabilities (1 low, 1 high)
run npm audit fix to fix them, or npm audit for details
~/.../Kodtrol-bigrefractor/Kodtrol >>> npm run dev ±[●][the-big-refactor]

[email protected] dev /home/a/Documents/Kodtrol-bigrefractor/Kodtrol
cross-env KODTROL_DEV=true npm run clear-build && parcel watch ./src/ui2/index.html ./src/ui2/console.html ./src/ui2/splash.html ./src/audio/index.html --target electron --out-dir ./build --public-url ../

[email protected] clear-build /home/a/Documents/Kodtrol-bigrefractor/Kodtrol
npx rimraf ./build/*

🚨 Cannot read property 'length' of undefined
at lineCounter (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/utils/lineCounter.js:3:30)
at JSPackager.writeModule (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/packagers/JSPackager.js:127:60)
at async JSPackager.addAsset (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/packagers/JSPackager.js:88:5)
at async Bundle._addDeps (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/Bundle.js:250:5)
at async Bundle._package (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/Bundle.js:219:7)
at async Promise.all (index 0)
at async Bundle.package (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/Bundle.js:202:5)
at async Promise.all (index 1)
at async Bundle.package (/home/a/Documents/Kodtrol-bigrefractor/Kodtrol/node_modules/parcel-bundler/src/Bundle.js:202:5)
at async Promise.all (index 1)
`

on a second terminal i can see a window opening but no contents inside and this on the log:

`~/.../Kodtrol-bigrefractor/Kodtrol >>> npm run start ±[the-big-refactor]

[email protected] start /home/a/Documents/Kodtrol-bigrefractor/Kodtrol
cross-env KODTROL_DEV=true npx electron -r @babel/register ./src/main/kodtrol-main.js

15:18:37.439 › Attempted to load extension "React Developer Tools" that has already been loaded.
15:18:37.447 › Attempted to load extension "Redux DevTools" that has already been loaded.

`

I hope this us useful

@H-s-O
Copy link
Owner

H-s-O commented Dec 10, 2020

Can you try deleting the .cache folder that should have been created at the root of your local copy and run npm run dev again?

Edit: I tested in a Ubuntu Trusty VM with Node.js 14.15.1 & npm 6.14.8, and I've got the same "Cannot read property 'length' of undefined" issue. I believe it may have already happened to me on some other project; I'll try to look for a solution.

Edit 2: I think I fixed it, there was a missing dev dependency in the package.json that could have been auto-installed by parcel but that in turn caused a problem. Pull the the-big-refactor and give npm install and npm run dev a go.

@alejoduque
Copy link
Author

Thanks! Now I;ve managed to open the scripting interface and will have to hook my gear to try to learn my way trough it.

/Documents/Kodtrol >>> npm run dev ±[the-big-refactor]

[email protected] dev /home/a/Documents/Kodtrol
cross-env KODTROL_DEV=true npm run clear-build && parcel watch ./src/ui2/index.html ./src/ui2/console.html ./src/ui2/splash.html ./src/audio/index.html --target electron --out-dir ./build --public-url ../

[email protected] clear-build /home/a/Documents/Kodtrol
npx rimraf ./build/*

⚠️  Could not load source file "../../../../node_modules/@blueprintjs/core/src/common/_colors.scss" in source map of "../node_modules/@blueprintjs/datetime/lib/css/blueprint-datetime.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/core/src/common/_variables.scss" in source map of "../node_modules/@blueprintjs/datetime/lib/css/blueprint-datetime.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/core/src/common/_flex.scss" in source map of "../node_modules/@blueprintjs/datetime/lib/css/blueprint-datetime.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/icons/src/_icons.scss" in source map of "../node_modules/@blueprintjs/datetime/lib/css/blueprint-datetime.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/core/src/components/forms/_common.scss" in source map of "../node_modules/@blueprintjs/datetime/lib/css/blueprint-datetime.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/icons/src/_icons.scss" in source map of "../node_modules/@blueprintjs/core/lib/css/blueprint.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/core/src/common/_react-transition.scss" in source map of "../node_modules/@blueprintjs/core/lib/css/blueprint.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/icons/src/generated/_icon-variables.scss" in source map of "../node_modules/@blueprintjs/core/lib/css/blueprint.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/icons/src/_icons.scss" in source map of "../node_modules/@blueprintjs/core/lib/css/blueprint.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/icons/src/generated/_icon-variables.scss" in source map of "../node_modules/@blueprintjs/core/lib/css/blueprint.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/core/src/common/_react-transition.scss" in source map of "../node_modules/@blueprintjs/core/lib/css/blueprint.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/core/src/common/_colors.scss" in source map of "../node_modules/@blueprintjs/datetime/lib/css/blueprint-datetime.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/core/src/common/_variables.scss" in source map of "../node_modules/@blueprintjs/datetime/lib/css/blueprint-datetime.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/core/src/common/_flex.scss" in source map of "../node_modules/@blueprintjs/datetime/lib/css/blueprint-datetime.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/icons/src/_icons.scss" in source map of "../node_modules/@blueprintjs/datetime/lib/css/blueprint-datetime.css".
⚠️  Could not load source file "../../../../node_modules/@blueprintjs/core/src/components/forms/_common.scss" in source map of "../node_modules/@blueprintjs/datetime/lib/css/blueprint-datetime.css".
✨  Built in 11.09s.

@H-s-O H-s-O added the bug Something isn't working label Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working support
Projects
None yet
Development

No branches or pull requests

2 participants