Error on package install

Error message
Error: Cannot read properties of null (reading 'protected')
Error: Cannot read properties of null (reading 'protected')
I've started up a new module project and was trying to install it on my foundry server (running on oracle). But I get an odd error when installing it via the module.json. I've built module.json and zip via the fairly common strategy of github actions and github releases. The module.json and zip seem fine to me. Has anyone else come across this or might be able to point me in the right direction to solve?
Solution:
Does the lang file have a different directory name? The manifest has lang, the repo has languages.
No description
E
Ethaks•48d ago
The ES module file you're trying to load (scripts/module.js) does not exist. Your zip only contains a scripts/module.de673b05.js created by Vite, so fixing that file's name should help.
B
bluegreymouse•48d ago
:facepalmpicard: oh dang. thanks, going to try that
B
bluegreymouse•48d ago
hmmm dropped the has from the filename but still get the same error 😕 https://github.com/chrisjbrown/my-names-jeff/releases/tag/v0.0.5
E
Ethaks•48d ago
Do all other files exist? E.g. the style file?
B
bluegreymouse•48d ago
mmm style.css does seem to be missing
B
bluegreymouse•48d ago
tried some things. ended up removing scss compiliing and just copied styles directory over. but same result https://github.com/chrisjbrown/my-names-jeff/releases/tag/v0.0.9
Solution
E
Ethaks•48d ago
Does the lang file have a different directory name? The manifest has lang, the repo has languages.
E
Ethaks•48d ago
Foundry checks all files the manifest refers to. If something's missing, the manifest doesn't pass validation and you get a "helpful" error in the client. The server might produce something more reasonable – if not, improving this on Foundry's side might be interesting.
B
bluegreymouse•48d ago
oof. yeah that was it
B
bluegreymouse•48d ago
yeah i tried checking the error in the client but couldn't get much out of it. True, might be interesting to surface that in the UI in some way. Thanks for your help!
Want results from more Discord servers?
Add your server
More Posts
Absolutely new to all of this, need help with a silly query.Hello! I'm extremely new to all of this, and i'm having issues trying to understand how to code a waHi, friends! I'd like to build a moduleHi, friends! I'd like to build a module and I could use a shove in the right part of the docs to go Well now I'm downloading lancerWell now I'm downloading lancerNew Entertainer - Fantasy if not Table Top ---- yetMy grandson is 11, and he has started making video shorts. This is his first full length YouTube stBoilerplate.css fileHi I started a new system from the Boilerplate system, and am having an issue seeing updates from myNewbie question on scopeHey there, total newbie here. I'm a complete amateur to programming. I've completed the todo tutoriaHaving trouble to get scripts loadedTrying to make my first module and I have troubles getting anything loaded in Foundry. Here is what Help Needed! Dynamic Table for Reputation TrackingHello, everyone. I am still encountering an issue with my Reputation Tracking system. In the actor Newbie questions on testing.Hi all, ive put together a simple module for PF2E that allows a user to favorite a spell, feat, itemTrouble with Synthetic Actors (unlinked tokens)When I create a token from an actor and try to update something like its hp, I get the following errAvoid Sheet Re-render When Editing Actor's Item**TL;DR** How do I avoid a re-render of a character sheet with actor.items displayed, that happens wHow to Create & Save Custom Field Values from a Dropdown on Actor sheet?I am building a custom system for a Hogwarts setting using the Wands & Wizards 5e supplement. I am cFinding target when making an attackI’m developing a game system, and can’t figure it out, when there is combat active and a player is tTrying to register a new systemHey everyone, I am new to Foundry system development. I am working with the boilerplate system and hMinimise Document using PrototypeQuick question, I've got no idea what I'm doing so please excuse my ineptitude. Say I have a documenNew to System Development but have done minor module developmentI am trying to see if there is a complete working model of a system that I could use a base to undercalculating range/distanceI am trying to calculate the distance between two tokens to make sure they are in range of one anothPartial RerollI am looking for a way to partially "reroll" a roll. Quick example: Player rolls 2d6 (a 2 and a 5) atiered status effectsIf I have a status effect that can come from an ability, for example, burning comes from an ability Importing an npm package into a foundry systemimport minimist from 'minimist'; That line alone when included in my module's hook file is resultin