Comments (6)
See if you can run it with Yarn 1 and Node 12, and let me know how it goes. On an M1, you'll have to run Node 12 in Rosetta, which should happen automatically if you've activated Rosetta already.
from thorium.
To be totally honest with you, I don't exactly know what that means. Is yarn 1 a version of yarn (same with node 12)? I'll look into backdating them.
from thorium.
Yep. Just older versions. Thorium Classic hasn't been updated to use newer versions.
Installation instructions for Yarn 1 here. https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable
I like to use Volta, which lets me manage versions of multiple tools, including Node and Yarn. https://volta.sh
from thorium.
I installed volta (and n) and am having a lot of difficulty still. I think some of the issue is that node is also installed as a dependency of other brew packages (such as jupyter). I unlinked node from homebrew, which let me properly switch node's version away from 20.5.1 to 12.22.12 (according to node -v). (also yarn version 1.22). This threw a different error when running yarn install
/opt/homebrew/lib/node_modules/corepack/dist/lib/corepack.cjs:5364
return this[INTERNAL].defaultPort ?? (this.protocol === "https:" ? 443 : 80);
^
SyntaxError: Unexpected token '?'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/opt/homebrew/lib/node_modules/corepack/dist/yarn.js:2:1)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
Not sure what this means and if its better or worse than before haha
from thorium.
I also tried volta run yarn
but this gives a new error:
[2/4] 🚚 Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18". Got "14.21.3"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
FWIW, volta list gives the following output:
⚡️ Currently active tools:
Node: v14.21.3 (current @ ~/thorium/package.json)
Yarn: v1.22.19 (default)
Tool binaries available:
n (default)
I ran volta install node@12, but this returns
success: installed and set [email protected] (with [email protected]) as default
note: you are using [email protected] in the current project
from thorium.
I eventually got this working by using volta and doing some git resets. Not sure exactly what was wrong. Thanks for the help. I would add the need to use volta to the documentation if other people have this issue. Most likely it was a one off thing haha
from thorium.
Related Issues (20)
- "FLUX" Thrusters
- Internal Processed Data
- External Sensors Delay
- Add something to help identify internal messages sent by core.
- Probes: Launching probes with the same name doesn't allow management of new probes of same name
- I can no longer add timeline steps, nor can I delete timeline events.
- "Injuring" NPCs
- Preserving audio file channel configuration
- Exocomps Bug
- Full screen movie action
- Links at bottom are not visible on hover. HOT 1
- Timed Travel, Clear, Remove, Destroy do not work in Timeline Sensors Grid Actions
- Task Flow Steps Do Not Continue.
- Task Flow Steps Delay Erases
- Add functionality to transmit flight + user information to a firebase service HOT 1
- Tactical Maps, BUT with Sensors Functionality
- Windows has issue with "windows" export in the multiWindow electron helpers
- Connected Gamepad Crashes Thrusters
- Move Docs to a Wiki Page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thorium.