Ddev and jacascript

when i use ddev locally i get this error and in project i have problems with javascript that jquery is not defined and other things.
please help me by that.tnx
sed: can’t read ./.git/hooks/: No such file or directory
Task failed: Exec command 'sed -i -e ‘s/\r$//’ ./.git/hooks/
’ in container/service ‘web’: exit status 2

Adding more context from Slack:

Using DDEV the dashboard would not load:

I suggested running ddev exec bin/console m:a:g

This resulted in:

var/www/html/media/libraries/ckeditor/ckeditor.js does not exist. Execute npm install to generate it.
Failed to execute command bin/console mg: exit status 1

@hesan fixed this:

I just fixed it ,want to notice you ,the problem was in composer.js file assetgeneration miss one word ‘php’ it must added and just this.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.