Comments (4)
Hey @Crater44 that seems strange I worked on the related text-mesh-pro package yesterday and I updated the versions a bunch of times and due to the way text-mesh-pro is included into the package json it could have caused the issue you are experiencing.
Which greybel-js version are you using at the moment? With 2.0.5 it works for me now.
If you are already using the newest version could you please execute npx howfat greybel-js
and add the output to a comment? The command will collect all the dependencies used within greybel-js.
Or a less intrusive alternative is just to get the package.json content of the dependency within greybel-js. cat $(npm root -g)/greybel-js/node_modules/text-mesh-transformer/package.json
.
from greybel-js.
I am using the version 2.0.4 because it gives me a hard time updating.
I have to edit the shebangs of the 4 bin files of greybel-js in /usr/local/lib/node_modules/greybel-js/bin from #!/usr/bin/env node --no-warnings to #!/usr/bin/node --no-warnings
I though about dockerizing it. Maybe I do a pull request if you like the idea.
However the cat output is this:
{
"name": "text-mesh-transformer",
"version": "1.3.0",
"description": "Transformer for TextMesh Rich Text tags",
"homepage": "https://github.com/ayecue/text-mesh-transformer",
"main": "dist/index",
"typings": "dist/index",
"repository": {
"type": "git",
"url": "[email protected]:ayecue/text-mesh-transformer.git"
},
"author": {
"name": "ayecue",
"email": "[email protected]"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/ayecue/text-mesh-transformer/blob/master/LICENSE-MIT"
}
],
"bugs": {
"url": "https://github.com/ayecue/text-mesh-transformer/issues"
},
"scripts": {
"prepublishOnly": "npm run build",
"build": "npm run clean && tsc -p .",
"watch": "tsc -w -p .",
"clean": "rm -rf dist",
"test": "jest ./tests",
"lint": "eslint ./src/**/*.ts",
"lint:fix": "eslint --fix ./src/**/*.ts"
},
"directories": {},
"keywords": [],
"devDependencies": {
"@types/jest": "^27.0.3",
"@types/node": "^17.0.0",
"@types/uuid": "^8.3.3",
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"ansi-styles": "^6.2.1",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-security": "^1.5.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jest": "^27.4.5",
"nodemon": "^2.0.15",
"ts-node": "^10.4.0",
"typescript": "^4.5.4"
}
}
from greybel-js.
Thank you for sharing the package content. So as I can see greybel-js is using text-mesh-transformer version 1.3.0. Sadly 2.0.4 does not support the output of 1.3.0. Originally it was using 1.1.1 but due to using ^ it will always get the newest version which is a mistake on my part.
So the only thing I can suggest sadly is to install the latest version.
I have to edit the shebangs of the 4 bin files of greybel-js in /usr/local/lib/node_modules/greybel-js/bin from #!/usr/bin/env node --no-warnings to #!/usr/bin/node --no-warnings
That is interesting. Using #!/usr/bin/env node
is usually the recommend way https://nodejs.dev/en/learn/run-nodejs-scripts-from-the-command-line/. I know that #!/usr/bin/node
is an alternative but usually not recommended since node might not be installed on that path.
I though about dockerizing it. Maybe I do a pull request if you like the idea.
Sure I am open to any kind of improvements. 😄
from greybel-js.
Issue got resolved by reporter. Therefore closing issue for now.
from greybel-js.
Related Issues (20)
- Save Ingame Information (greybel-proxy obfuscated) HOT 3
- Issue if line is longer than maxChars allowed in installer HOT 1
- Can import_code have an absolute path? HOT 2
- Enhance installer with auto compile HOT 6
- Overridden globals have no effect HOT 6
- Support MiniScript files (.ms) HOT 1
- save/build request HOT 4
- Message-Hook sync sometimes open unusable Terminal window HOT 1
- Message-Hook does not sync installer and auto compile HOT 1
- Add CLI option to customize name of outputted build folder [Feature Request] HOT 1
- Change where this tool outputs build results (i.e. resulting files) to [Feature Request] HOT 7
- Folders (containing source code files) that are imported into Grey Hack are not deleted after auto compilation process has been completed [Potential Bug] HOT 15
- Add CLI option to specify the name of the outputted executable file HOT 5
- [Issue] Executable file is not outputted after auto compilation process is completed when the ``--auto-compile-name`` option is specified HOT 4
- Envar not working HOT 7
- Misbehavior in the built-in range function HOT 2
- List can be different even if the same HOT 2
- gitbash win10 tty issue HOT 1
- Import assertions is used even though not supported by 16.13 HOT 1
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 greybel-js.