DICE PACKS BUNDLE
Page 6 of 6 First ... 456
  1. #51
    Quote Originally Posted by Maladryne View Post
    Cloned the repo locally & installed node.js. Created a file "Sector.env" in the root of the project, contents of the file are:

    SECTOR=Vland
    BUILD_TYPE=module

    I've tried several different .env files of varying names, different sectors & build types, etc. Even moved the .env file around in case I should have it elsewhere (although it seems clear it's supposed to be in the project root). No matter what I do, I get

    PS F:\temp\fgmgt2travellerworldsdata-develop> npm start

    > [email protected] start
    > node index.js

    undefined:1
    The specified sector 'undefined' was not found.


    Running this on Windows 10. What am I missing?
    Hi,

    This is my .env (remember it's a dot file), so it should highlight as a hidden system file.

    SECTOR=Deneb
    #BUILD_TYPE=ref
    #BUILD_TYPE=module
    BUILD_TYPE=system
    SORT=alpha
    HEXCODE=subsector

    Then running it, I get the output files I expected.

    Cheers,
    MBM
    Ruleset and much more content built for FGU.
    Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!

  2. #52
    Hi,
    Pretty sure you can also the index.js file located in the repo folder. Use notpad or notepad++ to edit the line (In my case its line 18)

    const sSector = 'Iwahfuah';

    You then need to open a command window, navigate to the repo folder using DOS commands such as CD <repo folder directory which you can cut and paste from explorer window>

    Then type

    npm i

    to create liberies (You only need to do this once)

    then

    npm start

    to generate the module which will be saved in the repo folder.
    They only appear to work in normal Fantasy ground as they generate an error when being loaded into Fantasy Ground Unity. Not sure why that is.

    Hope this helps.

  3. #53
    If anyone wants to write a FE for this, using React/Vue would be best. Let me know.

    I was going to do it, but RL got in the way.
    Ruleset and much more content built for FGU.
    Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!

  4. #54
    Quote Originally Posted by MadBeardMan View Post
    If anyone wants to write a FE for this, using React/Vue would be best. Let me know.

    I was going to do it, but RL got in the way.
    Curse RL.
    FE sounds good

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in