flyweight
flyweight copied to clipboard
Installation breaks
Hey, excited to try your lightweight ORM for sqlite, but sadly can't install it:
After running npx create-flyweight database in an empty folder (nvm version 22) I get this:
file:///home/me/.npm/_npx/013ae53d1681031b/node_modules/create-flyweight/index.js:92
config.scripts.types = `node ${join(root, 'makeTypes.js')}`;
^
TypeError: Cannot set properties of undefined (setting 'types')
at file:///home/caspar/.npm/_npx/013ae53d1681031b/node_modules/create-flyweight/index.js:92:22
Node.js v22.2.0
You need to run npm init first to create the package.json. I have updated the installation so it doesn't matter though. You probably want to delete the directory and create it again. You can run npm uninstall create-flyweight first to make sure it installs the latest version.
that worked, thanks!