jbeuckm / strapi-plugin-import-content

Import plugin for Strapi CMS
108 stars 28 forks source link

install plugin dependencies #15

Closed marcmarine closed 5 years ago

marcmarine commented 5 years ago

I have needed to do this.

jbeuckm commented 5 years ago

This is supposed to happen in the setup script for each plugin: https://github.com/strapi/strapi/blob/541b00041a7d5e7c3c8f0b008e8b02bfd72168c5/packages/strapi-admin/scripts/setup.js#L46

Are you sure you need to do it separately? What error did you see and when?

marcmarine commented 5 years ago

Yes, I'm sure. I tried again and I had the same problem:

🏗  Building the admin...
internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module 'content-type-parser'

Only after installing the dependencies manually I can execute the setup script correctly.

Thanks for the initiative and apologize for not being able to help in the solution.