Git Product home page Git Product logo

Comments (4)

ayecue avatar ayecue commented on June 5, 2024

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.

Crater44 avatar Crater44 commented on June 5, 2024

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.

ayecue avatar ayecue commented on June 5, 2024

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.

ayecue avatar ayecue commented on June 5, 2024

Issue got resolved by reporter. Therefore closing issue for now.

from greybel-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.