JunoLab / atom-julia-client

Juno a good IDE?
http://junolab.org
MIT License
273 stars 72 forks source link

Webpack #714

Closed aminya closed 4 years ago

aminya commented 4 years ago

should be merged after https://github.com/JunoLab/atom-julia-client/pull/712

Uses coffee-loader: https://webpack.js.org/loaders/coffee-loader/ However, fails now because of coffee files:

ERROR in ./lib/package/settings.js
Module not found: Error: Can't resolve '../package/config' in 'C:\Users\yahyaaba\github\julia-client\lib\package'
 @ ./lib/package/settings.js 3:19-47
 @ ./lib/julia-client.coffee

ERROR in ./lib/julia-client.coffee
Module not found: Error: Can't resolve './connection' in 'C:\Users\yahyaaba\github\julia-client\lib'
 @ ./lib/julia-client.coffee 27:14-37

ERROR in ./lib/julia-client.coffee
Module not found: Error: Can't resolve './misc' in 'C:\Users\yahyaaba\github\julia-client\lib'
 @ ./lib/julia-client.coffee 25:8-25

ERROR in ./lib/julia-client.coffee
Module not found: Error: Can't resolve './package/commands' in 'C:\Users\yahyaaba\github\julia-client\lib'
 @ ./lib/julia-client.coffee 5:11-40

ERROR in ./lib/julia-client.coffee
Module not found: Error: Can't resolve './package/config' in 'C:\Users\yahyaaba\github\julia-client\lib'
 @ ./lib/julia-client.coffee 7:9-36

ERROR in ./lib/julia-client.coffee
Module not found: Error: Can't resolve './package/menu' in 'C:\Users\yahyaaba\github\julia-client\lib'
 @ ./lib/julia-client.coffee 9:7-32

ERROR in ./lib/julia-client.coffee
Module not found: Error: Can't resolve './package/toolbar' in 'C:\Users\yahyaaba\github\julia-client\lib'
 @ ./lib/julia-client.coffee 13:10-38

ERROR in ./lib/julia-client.coffee
Module not found: Error: Can't resolve './runtime' in 'C:\Users\yahyaaba\github\julia-client\lib'
 @ ./lib/julia-client.coffee 28:11-31

ERROR in ./lib/julia-client.coffee
Module not found: Error: Can't resolve './ui' in 'C:\Users\yahyaaba\github\julia-client\lib'
 @ ./lib/julia-client.coffee 26:6-21
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! julia-client@0.12.4 build: `webpack --mode production`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the julia-client@0.12.4 build 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!     C:\Users\yahyaaba\AppData\Roaming\npm-cache\_logs\2020-04-01T11_49_47_690Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! julia-client@0.12.4 prepare: `npm run build`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the julia-client@0.12.4 prepare 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!     C:\Users\yahyaaba\AppData\Roaming\npm-cache\_logs\2020-04-01T11_49_47_763Z-debug.log

Doing automated decaffeination improves some stuff but there is still some mislinkage. Probably we need to adjust the decaffeinated files to fix the linkage.

Details ```js "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" run build --scripts-prepend-node-path=auto > julia-client@0.12.4 build C:\Users\yahyaaba\Documents\GitHub\github\julia-client > webpack --mode production Hash: 45c603a20afbf295cd77 Version: webpack 4.42.1 Time: 11744ms Built at: 2020-04-01 6:57:22 a.m. 2 assets Entrypoint main = indent-detective.js indent-detective.js.map [0] C:/Users/yahyaaba/github/julia-client/lib/connection.js 1.9 KiB {0} [built] [1] external "atom" 42 bytes {0} [built] [2] C:/Users/yahyaaba/github/julia-client/lib/misc.js 2.63 KiB {0} [built] [3] C:/Users/yahyaaba/github/julia-client/lib/ui.js 1.92 KiB {0} [built] [5] C:/Users/yahyaaba/github/julia-client/lib/runtime/modules.js 7.97 KiB {0} [built] [9] C:/Users/yahyaaba/github/julia-client/lib/misc/words.js 3.35 KiB {0} [built] [13] C:/Users/yahyaaba/github/julia-client/lib/misc/blocks.js 4.5 KiB {0} [built] [19] C:/Users/yahyaaba/github/julia-client/lib/runtime.js 3.19 KiB {0} [built] [22] C:/Users/yahyaaba/github/julia-client/lib/runtime/workspace.js 2.58 KiB {0} [built] [60] C:/Users/yahyaaba/github/julia-client/lib/package/config.js 24 KiB {0} [built] [87] C:/Users/yahyaaba/github/julia-client/lib/julia-client.js 5.25 KiB {0} [built] [94] C:/Users/yahyaaba/github/julia-client/lib/package/commands.js 11.6 KiB {0} [built] [124] C:/Users/yahyaaba/github/julia-client/lib/package/menu.js 4.43 KiB {0} [built] [125] C:/Users/yahyaaba/github/julia-client/lib/package/settings.js 2.5 KiB {0} [built] [126] C:/Users/yahyaaba/github/julia-client/lib/package/toolbar.js 3.08 KiB {0} [built] + 206 hidden modules WARNING in C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/windowsPtyAgent.js Module not found: Error: Can't resolve '../build/Debug/conpty.node' in 'C:\Users\yahyaaba\github\julia-client\node_modules\node-pty-prebuilt-multiarch\lib' @ C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/windowsPtyAgent.js @ C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/windowsTerminal.js @ C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/index.js @ C:/Users/yahyaaba/github/julia-client/lib/runtime/console.js @ C:/Users/yahyaaba/github/julia-client/lib/runtime.js @ C:/Users/yahyaaba/github/julia-client/lib/julia-client.js WARNING in C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js Module not found: Error: Can't resolve '../build/Debug/pty.node' in 'C:\Users\yahyaaba\github\julia-client\node_modules\node-pty-prebuilt-multiarch\lib' @ C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js @ C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/index.js @ C:/Users/yahyaaba/github/julia-client/lib/runtime/console.js @ C:/Users/yahyaaba/github/julia-client/lib/runtime.js @ C:/Users/yahyaaba/github/julia-client/lib/julia-client.js WARNING in C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/windowsPtyAgent.js Module not found: Error: Can't resolve '../build/Debug/pty.node' in 'C:\Users\yahyaaba\github\julia-client\node_modules\node-pty-prebuilt-multiarch\lib' @ C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/windowsPtyAgent.js @ C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/windowsTerminal.js @ C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/index.js @ C:/Users/yahyaaba/github/julia-client/lib/runtime/console.js @ C:/Users/yahyaaba/github/julia-client/lib/runtime.js @ C:/Users/yahyaaba/github/julia-client/lib/julia-client.js WARNING in C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/build/Release/conpty.node 1:2 Module parse failed: Unexpected character '�' (1:2) 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 (Source code omitted for this binary file) @ C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/windowsPtyAgent.js 35:35-74 @ C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/windowsTerminal.js @ C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/index.js @ C:/Users/yahyaaba/github/julia-client/lib/runtime/console.js @ C:/Users/yahyaaba/github/julia-client/lib/runtime.js @ C:/Users/yahyaaba/github/julia-client/lib/julia-client.js ERROR in C:/Users/yahyaaba/github/julia-client/lib/ui/notifications.js Module not found: Error: Can't resolve 'remote' in 'C:\Users\yahyaaba\github\julia-client\lib\ui' @ C:/Users/yahyaaba/github/julia-client/lib/ui/notifications.js 1:15-32 @ C:/Users/yahyaaba/github/julia-client/lib/ui.js @ C:/Users/yahyaaba/github/julia-client/lib/julia-client.js ERROR in C:/Users/yahyaaba/github/julia-client/lib/package/commands.js Module not found: Error: Can't resolve 'shell' in 'C:\Users\yahyaaba\github\julia-client\lib\package' @ C:/Users/yahyaaba/github/julia-client/lib/package/commands.js 7:30-46 @ C:/Users/yahyaaba/github/julia-client/lib/julia-client.js ERROR in C:/Users/yahyaaba/github/julia-client/node_modules/atom-space-pen-views/stylesheets/select-list.less 1:0 Module parse failed: Unexpected character '@' (1:0) 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 > @import "ui-variables"; | @import "octicon-mixins"; | @ C:/Users/yahyaaba/github/julia-client/node_modules/atom-space-pen-views/lib/select-list-view.js 12:32-82 @ C:/Users/yahyaaba/github/julia-client/node_modules/atom-space-pen-views/lib/main.js @ C:/Users/yahyaaba/github/julia-client/lib/ui/selector.js @ C:/Users/yahyaaba/github/julia-client/lib/ui.js @ C:/Users/yahyaaba/github/julia-client/lib/julia-client.js ERROR in C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/build/Release/pty.node 1:2 Module parse failed: Unexpected character '�' (1:2) 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 (Source code omitted for this binary file) @ C:/Users/yahyaaba/github/julia-client/node_modules/node-pty-prebuilt-multiarch/lib/index.js 49:49-85 @ C:/Users/yahyaaba/github/julia-client/lib/runtime/console.js @ C:/Users/yahyaaba/github/julia-client/lib/runtime.js @ C:/Users/yahyaaba/github/julia-client/lib/julia-client.js ERROR in C:/Users/yahyaaba/github/julia-client/lib/runtime/completions.js 20:11 Module parse failed: Unexpected token (20:11) 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 | | class AutoCompleteProvider { > selector = '.source.julia' | disableForSelector = `.source.julia .comment` | excludeLowerPriority = true @ C:/Users/yahyaaba/github/julia-client/lib/runtime.js 72:11-43 @ C:/Users/yahyaaba/github/julia-client/lib/julia-client.js ERROR in C:/Users/yahyaaba/github/julia-client/lib/runtime/datatip.js 26:15 Module parse failed: Unexpected token (26:15) 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 | | class DatatipProvider { > providerName = 'julia-client-datatip-provider' | | priority = 100 @ C:/Users/yahyaaba/github/julia-client/lib/runtime.js 82:28-56 @ C:/Users/yahyaaba/github/julia-client/lib/julia-client.js npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! julia-client@0.12.4 build: `webpack --mode production` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the julia-client@0.12.4 build 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! C:\Users\yahyaaba\AppData\Roaming\npm-cache\_logs\2020-04-01T11_57_22_416Z-debug.log ```