It's 4am here and I decided, ok let's try making a test extension using the Flarum ways, and using this generator. I downloaded node.js. That's right, I hadn't ever downloaded node.js. I installed webpack. I created a new folder to put my test extension in. I followed the steps this generator gave me, and then...
✖ Setting up extension...
{ AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: /Users/wilcosky/Documents/Web/test/[dir]/gitignore
at EditionInterface.exports.copy (/Users/wilcosky/.npm/_npx/5412/lib/node_modules/@friendsofflarum/create-flarum-extension/node_modules/mem-fs-editor/lib/actions/copy.js:49:3)
at EditionInterface.module.exports [as move] (/Users/wilcosky/.npm/_npx/5412/lib/node_modules/@friendsofflarum/create-flarum-extension/node_modules/mem-fs-editor/lib/actions/move.js:4:8)
at mv (/Users/wilcosky/.npm/_npx/5412/lib/node_modules/@friendsofflarum/create-flarum-extension/src/index.js:178:10)
at Promise.then.then.then.data (/Users/wilcosky/.npm/_npx/5412/lib/node_modules/@friendsofflarum/create-flarum-extension/src/index.js:185:5)
at process._tickCallback (internal/process/next_tick.js:68:7)
generatedMessage: false,
name: 'AssertionError [ERR_ASSERTION]',
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==' }
What does this mean? I know it thinks something doesn't exist. But, I know the main folder it is showing here exists. It looks like it is the /[dir]/gitignore part which is causing the problem?