It looks like you give it an array instead of a single string. I believe you need to give it a single file instead of multiple files. Can you post your gulpfile.js here?
Error with Rollup and Elixer
Hay Laracast
why would Elixir and rollup
giving me this error
Thank You PSMedia90
[psmedia90@psm-powerhouse carlospizza53]$ gulp [13:44:54] Using gulpfile /var/www/carlospizza53/gulpfile.js [13:44:54] Starting 'all'... [13:44:54] Starting 'sass'... [13:44:55] Finished 'sass' after 704 ms [13:44:55] Starting 'copy'... [13:44:55] Finished 'copy' after 30 ms [13:44:55] Starting 'copy'... [13:44:55] Finished 'copy' after 30 ms [13:44:55] Starting 'copy'... [13:44:55] Finished 'copy' after 1.76 ms [13:44:55] Starting 'copy'... [13:44:55] Finished 'copy' after 21 ms [13:44:55] Starting 'copy'... [13:44:55] Finished 'copy' after 11 ms [13:44:55] Starting 'rollup'... (node:21538) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Path must be a string. Received [ 'resources/assets/js/jquery/jquery.js', 'resources/assets/js/bootstrap/js/bootstrap.js', 'resources/assets/js/all.js' ] (node:21538) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:21538) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1) { TypeError: Error transforming /var/www/carlospizza53/resources/assets/js/jquery/jquery.js with 'commonjs' plugin: Path must be a string. Received [ 'resources/assets/js/jquery/jquery.js', 'resources/assets/js/bootstrap/js/bootstrap.js', 'resources/assets/js/all.js' ] at assertPath (path.js:7:11) at Object.resolve (path.js:1146:7) at defaultResolver (/var/www/carlospizza53/node_modules/rollup-plugin-commonjs/dist/rollup-plugin-commonjs.cjs.js:49:71) at /var/www/carlospizza53/node_modules/rollup-plugin-commonjs/dist/rollup-plugin-commonjs.cjs.js:519:15 at process._tickDomainCallback (internal/process/next_tick.js:129:7) rollupTransform: true, id: '/var/www/carlospizza53/resources/assets/js/jquery/jquery.js', plugin: 'commonjs' } [psmedia90@psm-powerhouse carlospizza53]$
Please or to participate in this conversation.