Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: sink.logger.create is not a function #6

Open
W2AlharbiMe opened this issue Mar 4, 2021 · 1 comment
Open

TypeError: sink.logger.create is not a function #6

W2AlharbiMe opened this issue Mar 4, 2021 · 1 comment

Comments

@W2AlharbiMe
Copy link

Dears, i have tried to use this package but i got this error

TypeError: sink.logger.create is not a function

stack:

1 instructions
  C:\Users\aalha\Desktop\Projects\javascript\back-end\adonis\encore\node_modules\@slynova\symfony-encore\build\instructions.js:138

2 Instructions.runInstructions
  C:\Users\aalha\Desktop\Projects\javascript\back-end\adonis\encore\node_modules\@adonisjs\assembler\node_modules\@adonisjs\sink\src\Tasks\Instructions\index.js:265

3 Instructions.execute
  C:\Users\aalha\Desktop\Projects\javascript\back-end\adonis\encore\node_modules\@adonisjs\assembler\node_modules\@adonisjs\sink\src\Tasks\Instructions\index.js:325

4 Invoke.run
  C:\Users\aalha\Desktop\Projects\javascript\back-end\adonis\encore\node_modules\@adonisjs\assembler\build\commands\Invoke.js:50

5 Invoke.exec
  C:\Users\aalha\Desktop\Projects\javascript\back-end\adonis\encore\node_modules\@adonisjs\ace\build\src\BaseCommand\index.js:136

6 Kernel.handle
  C:\Users\aalha\Desktop\Projects\javascript\back-end\adonis\encore\node_modules\@adonisjs\ace\build\src\Kernel\index.js:477

7 App.handle
  C:\Users\aalha\Desktop\Projects\javascript\back-end\adonis\encore\node_modules\@adonisjs\core\build\src\Ignitor\Ace\App\index.js:286

8 Ace.handle
  C:\Users\aalha\Desktop\Projects\javascript\back-end\adonis\encore\node_modules\@adonisjs\core\build\src\Ignitor\Ace\index.js:33

Framework version: 5.0.4-preview-rc-2.1
Assembler version: 3.0.6

@W2AlharbiMe
Copy link
Author

i have replaced some parts in instructions.js and it works now

each place have sink.logger.create replaced with https://github.com/Slynova-Org/symfony-encore/blob/master/instructions.ts#L156

and then i replaced everything under Install required dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant