Giter Site home page Giter Site logo

adonis-mix-asset's Issues

TypeError: logger.create is not a function

Hello. Every time (I tried 3 new projects) when I try to execute invoke command the program throws such a bug and laravel-mix does not work. How to fix it?

 node ace invoke adonis-mix-asset

TypeError: logger.create is not a function


1 instructions
  /Users/dawidowczarz/Desktop/Projekty/devcasts/node_modules/adonis-mix-asset/build/instructions.js:12

2 Instructions.runInstructions
  /Users/dawidowczarz/Desktop/Projekty/devcasts/node_modules/@adonisjs/sink/src/Tasks/Instructions/index.js:265

3 Instructions.execute
  /Users/dawidowczarz/Desktop/Projekty/devcasts/node_modules/@adonisjs/sink/src/Tasks/Instructions/index.js:325

4 Invoke.run
  /Users/dawidowczarz/Desktop/Projekty/devcasts/node_modules/@adonisjs/assembler/build/commands/Invoke.js:50

5 async Invoke.exec
  /Users/dawidowczarz/Desktop/Projekty/devcasts/node_modules/@adonisjs/ace/build/src/BaseCommand/index.js:136

6 async Kernel.runCommand
  /Users/dawidowczarz/Desktop/Projekty/devcasts/node_modules/@adonisjs/ace/build/src/Kernel/index.js:238

7 async App.handle
  /Users/dawidowczarz/Desktop/Projekty/devcasts/node_modules/@adonisjs/core/build/src/Ignitor/Ace/App/index.js:307

8 async Ace.handle
  /Users/dawidowczarz/Desktop/Projekty/devcasts/node_modules/@adonisjs/core/build/src/Ignitor/Ace/index.js:33

I will add that I use AdonisJS version 5.

A lot of problems after Official AdonisJS v5 release.

Hey bro, I love your laravel-mix wrapper for AdonisJS. Can you update your package? At this moment this throw us a lot of errors while installing it in a new project. Please <3

npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: @adonisjs/[email protected]
npm ERR! node_modules/@adonisjs/view
npm ERR!   @adonisjs/view@"^6.0.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @adonisjs/view@"^3.1.0" from [email protected]
npm ERR! node_modules/adonis-mix-asset
npm ERR!   dev adonis-mix-asset@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/dawidowczarz/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/dawidow/.npm/_logs/2021-05-14T15_47_09_190Z-debug.log```

The "path" argument must be of type string. Received undefined

Description

Hi !

When I execute the command "node ace mix:watch", I have an error :

TypeError: The "path" argument must be of type string. Received undefined

1 MixWatch.run
/Users/steve/Sites/Labo/file-manager/node_modules/adonis-mix-asset/build/commands/Mix/Watch.js:20

2 Injector.callAsync
/Users/steve/Sites/Labo/file-manager/node_modules/@adonisjs/fold/build/src/Ioc/Injector.js:124

Package version

2.3.0

Issue in documentation

Description

The documentation says to install adonis-mix-asset as a dev-dependency although it is required in production. However laravel-mix can and should be installed in --save-dev mode.

Package version

Tested on : "adonis-mix-asset": "^2.1.0", "laravel-mix": "^6.0.0-beta.17", AdonisJS v5

Error Message & Stack Trace

Error: Cannot find module 'adonis-mix-asset'
Require stack:
- /Users/mickael/Documents/build/noop.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:15)
    at resolveFileName (/Users/mickael/Documents/build/node_modules/resolve-from/index.js:29:39)
    at resolveFrom (/Users/mickael/Documents/build/node_modules/resolve-from/index.js:43:9)
    at Object.module.exports [as default] (/Users/mickael/Documents/build/node_modules/resolve-from/index.js:46:47)
    at Object.resolveFrom (/Users/mickael/Documents/build/node_modules/@poppinss/utils/build/src/resolveFrom.js:25:34)
    at Registrar.loadProvider (/Users/mickael/Documents/build/node_modules/@adonisjs/fold/build/src/Registrar/index.js:49:23)
    at /Users/mickael/Documents/build/node_modules/@adonisjs/fold/build/src/Registrar/index.js:67:53
    at Array.forEach (<anonymous>)
    at Registrar.collect (/Users/mickael/Documents/build/node_modules/@adonisjs/fold/build/src/Registrar/index.js:66:23)
    at Registrar.register (/Users/mickael/Documents/build/node_modules/@adonisjs/fold/build/src/Registrar/index.js:96:14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.