Closed WolfieZero closed 8 years ago
Fixed.
This is still broken, please review it..
(node:20609) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Path must be a string. Received [ 'resources/assets/js/utils/*/**/*',
'resources/assets/js/manage/BaseManageSetting.js',
'resources/assets/js/manage/Thermostat.js',
'resources/assets/js/manage/ThermostatProgramEditor.js',
'resources/assets/js/manage/Humidistat.js',
'resources/assets/js/manage/Planner.js',
'resources/assets/js/manage/ElectroAcean.js',
....
Specifically, I've been using babel(), but that's now gone and Elixir told me to use rollup() instead... doesn't seem to work
Rollup broken, webpack working
It's also broken for me:
(node:4788) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Path must be a string. Received [ 'resources\\assets\\js\\category\\index.js' 'resources\\assets\\bower_components\\bootstrap-table\\dist\\extensions\\editable\\bootstrap-table-editable.js' ]
still broken for me too
Did anyone manage to fix this? Experiencing the same issue.
I'm also having this same issue, versions:
In other words, the newest of each.
Stack trace:
at assertPath (path.js:28:11)
at Object.resolve (path.js:1167:7)
at defaultResolver (/Users/me/the-project/node_modules/rollup-plugin-commonjs/dist/rollup-plugin-commonjs.cjs.js:49:71)
at /Users/me/the-project/node_modules/rollup-plugin-commonjs/dist/rollup-plugin-commonjs.cjs.js:519:15
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:169:7)
at Function.Module.runMain (module.js:607:11)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3
+1
What is the fix for this?
In my gulpfile I have
mix.rollup(['app.js', 'router.js']);
, but this returns:I presume this is more to do with Rollup not supporting an array of files, but the Elixir docs suggest otherwise.