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

make build runs into Error 64 #515

Closed
linushstge opened this issue Jun 17, 2015 · 4 comments
Closed

make build runs into Error 64 #515

linushstge opened this issue Jun 17, 2015 · 4 comments

Comments

@linushstge
Copy link

When i try to use make build it runs into make: *** [build] Error 64

See the terminal output:

Dropping unreachable code [./~/ng-annotate-loader/loader.js!./~/humane-js/humane.js:13,0]
Dropping unused variable u [./~/ng-annotate-loader/loader.js!./~/jsonlint/web/jsonlint.js:1,3198]
Dropping unused variable e [./~/ng-annotate-loader/loader.js!./~/jsonlint/web/jsonlint.js:1,6184]
Dropping unused variable f [./~/ng-annotate-loader/loader.js!./~/jsonlint/web/jsonlint.js:1,7587]
Side effects in initialization of unused variable jsonlint [./~/ng-annotate-loader/loader.js!./~/jsonlint/web/jsonlint.js:1,0]
Condition always true [./~/ng-annotate-loader/loader.js!./~/nprogress/nprogress.js:6,0]
Dropping unreachable code [./~/ng-annotate-loader/loader.js!./~/nprogress/nprogress.js:8,3]
Dropping unused variable _output [./~/ng-annotate-loader/loader.js!./~/papaparse/papaparse.js:222,0]
Dropping unused variable _fields [./~/ng-annotate-loader/loader.js!./~/papaparse/papaparse.js:223,0]
Child extract-text-webpack-plugin:
        + 2 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules
Child extract-text-webpack-plugin:
        + 8 hidden modules
Child extract-text-webpack-plugin:
        + 7 hidden modules
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
make: *** [build] Error 64

Any idea? Thanks

@jpetitcolas
Copy link
Contributor

Which system are you using?

It seems the files has been correctly built, but built files have not been copied into the demo folder. The command cp -Rf build/* examples/blog/build/ should raise your error.

@linushstge
Copy link
Author

Thanks for your reply.
Same error

cp -Rf build/* examples/blog/build/
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory

I'm using Mac OS X Yosemite.

@jpetitcolas
Copy link
Contributor

Can you try launching cp -Rf build examples/blog/ instead? It seems than cp -R doesn't behave the same between Linux and MacOS. It works on @manuquentin's Mac.

Making a PR to update Makefile.

@linushstge
Copy link
Author

cp -Rf build/ examples/blog/build/ works! :)
After executing this command the original make build works fine.

fzaninotto added a commit that referenced this issue Jun 18, 2015
Update build to fix issues on MacOS (fixes #515)
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

2 participants