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

missing file "public/js/polls-app.js" #11

Open
manzor29 opened this issue Jan 20, 2018 · 3 comments
Open

missing file "public/js/polls-app.js" #11

manzor29 opened this issue Jan 20, 2018 · 3 comments

Comments

@manzor29
Copy link

When I click 'Add New' button in Polls section I get empty page and the error on my browser's dev tools:

GET http://my-project.dev/public/js/polls-app.js 404 (Not Found)

Why that file wasn't created during installation of voyager-polls?

@codecraft302
Copy link

I have the same problem, is there a possible solution? maybe I did something wrong?

@codecraft302
Copy link

I looked at the changes on the project, and I found this v1.0.1...master#diff-17fb4e3d571815cc4c4fcf9505c1bbdb
if you return <script><?php include(VOYAGER_POLLS_PATH.'/app.js'); ?> </script>instead <script type="text/javascript" src="{{ asset('/js/polls-app.js') }}"></script> in file vendor\voyager-polls\resources\views\edit-add.blade.php then everything will work,
except for the fullness of the language variables, but this is another matter

@FrankyJust
Copy link

I run into the same issue. I've changed the file edit-blade.php as above mentioned, and this generates now the input screen/fields. But after filling in the fields, when I'm trying to save it to the dbs I get a Network error. Nothing is saved. Any solution?

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

3 participants