You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.
Hello,
when I try to compile with conditional boolean in true and rollup enabled I am getting follow error:
Error: TypeError: Error compiling esm module "@dummy-entry-point" at null
Path must be a string. Received null
at builder.buildStatic.then.catch (/Users/horasikus/work_latest/conditional/gulpfile.js:19:35)
at tryCatcher (/Users/horasikus/work_latest/conditional/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/horasikus/work_latest/conditional/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise
...
I already checked similar issues 339 and 549 but it seems a new issue because now ENV is well resolved only throwing this exception when the condition is true.
If i disable rollup the bundle is ok.
src/env.conditions.js (it is not used by the builder static, only for dev mode)
I tried command line with the same results. I'm using latest jspm 0.17.0-beta.42.
This issue only happens building the static bundle; jspm+systemjs in dev mode (load modules as separate files with ES6 in the browser) work as expected (playing with the condition in src/env.conditions.js). Also only fails with output format is esm.
The text was updated successfully, but these errors were encountered:
Thanks, this does sound like a bug with conditional resolutions and rollup compatibility. I don't have a lot of time at the moment to look into it right now unfortunately, but if you'd be interested in exploring it yourself I could certainly help point in the right direction.
Hello,
when I try to compile with conditional boolean in true and rollup enabled I am getting follow error:
I already checked similar issues 339 and 549 but it seems a new issue because now ENV is well resolved only throwing this exception when the condition is true.
If i disable rollup the bundle is ok.
src/env.conditions.js (it is not used by the builder static, only for dev mode)
jspm.config.js
src/app.js
src/employee.mock.js
gulpfile.js
package.json
I tried command line with the same results. I'm using latest jspm 0.17.0-beta.42.
This issue only happens building the static bundle; jspm+systemjs in dev mode (load modules as separate files with ES6 in the browser) work as expected (playing with the condition in src/env.conditions.js). Also only fails with output format is esm.
The text was updated successfully, but these errors were encountered: