adonisjs-credentials icon indicating copy to clipboard operation
adonisjs-credentials copied to clipboard

missing resource folder when using adonis in api mode

Open rbartholomay opened this issue 3 months ago • 0 comments

Description

I use Adonis6 with the api starter kit. When i build the application the build-directory is missing the resource folder.

Package version

"@bitkidd/adonisjs-credentials": "^2.0.0",

Error Message & Stack Trace

missing files...

Relevant Information

Solution:

I add the following lines in adonisrc.ts :

  metaFiles: [
    {
      pattern: 'resources/credentials/*.credentials',
      reloadServer: false,
    },
  ],

and there is a small typo in the docu:

node ace credentials:edit --editor="code ---wait" --env=development    //  --- wait should be --wait

Bye, René

(thank you for your work!)

rbartholomay avatar Mar 26 '24 09:03 rbartholomay