iobio / gene.iobio

Gene.iobio vue
MIT License
55 stars 11 forks source link

Upgrade gene.iobio to vue-cli (decide if vue.js version 2 or 3) #937

Open tonydisera opened 1 year ago

tonydisera commented 1 year ago

We need to upgrade gene.iobio to vue.js 2 or 3, using the latest version of build tools (webpack, node sass etc.)

tonydisera commented 1 year ago

@stefinfection - Would you mind commenting on the problem we are seeing with building clin.iobio related to node sass? Is there a specific version of node.js and webpack.js we should upgrade to?

stefinfection commented 1 year ago

Well I feel silly. Here was the error:

Module build failed: Error: Node Sass does not yet support your current environment: OS X Unsupported architecture (arm64) with Unsuppor
ted runtime (93)                                                                                                                        
For more information on which environments are supported please see:                                                                    
https://github.com/sass/node-sass/releases/tag/v4.14.1

I changed to dart-sass instead of node-sass (the new supported dependency package), which led me on a snowball to upgrading everything up to webpack. What I didn't try, and fortunately ended up working, was simply upgrading the node-sass version. The fix, thus, is bumping to v7:

"node-sass": "^7.0.1"