adonis-ignitor icon indicating copy to clipboard operation
adonis-ignitor copied to clipboard

Error when using the CLI in a monorepo

Open lffg opened this issue 6 years ago • 2 comments
trafficstars

Package version

2.0.8

Node.js and npm version

12.3.1 and 6.9.0

I get this error when using this package in a Yarn Monorepo:

image

I found that the problem lives in this line:

https://github.com/adonisjs/adonis-ignitor/blob/602ac6fa682452a50a5c109ea83ed84390781dba/src/Ignitor/index.js#L413

Why don't you just require the package normally?

const ace = require('@adonisjs/ace')

lffg avatar Jun 21 '19 22:06 lffg

Want to help test the newer version with monorepos?

thetutlage avatar Nov 07 '19 11:11 thetutlage

Yes, @thetutlage, I can help with that. :)

lffg avatar Nov 09 '19 23:11 lffg