Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Error when using the CLI in a monorepo #14

@lffg

Description

@lffg

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:

const ace = require(path.join(root, '/node_modules/@adonisjs/ace'))

Why don't you just require the package normally?

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions