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

basset:build javascript parse error false positive #212

Open
ghost opened this issue Oct 12, 2013 · 0 comments
Open

basset:build javascript parse error false positive #212

ghost opened this issue Oct 12, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 12, 2013

I'm trying to learn how to use laravel 4 and basset and it hasn't been easy.

There's no docs or faq's or even many posts online regarding anything I keep running into.

I have copied a simple .js file ( dependent on jquery ) into public/assets/javascripts and I have tried to run php artisan basset:build from the command line.

I get this response:

[Assetic\Exception\FilterException]
An error occurred while running:
'/usr/local/bin/node' '/private/var/folders/fv/_f3grpgj6y7dmkfw6lwymm9m0000gn/T/assetic_lessUQ9xT7'

Error Output:
ParseError: missing opening { in scripts.js on line 723, column 3:
722 });
723 };undefined

line 723 is the end of the javascript file, closing a function, so its } .... no idea why its trying to say there's a parse error. It runs in the browser just fine without being ran through the basset:build process.

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

0 participants