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 Jan 18, 2021. It is now read-only.
After struggling with this issue for a while I was finally able to understand what it was about. Every time I tried to use commonjs as described in the guides I got the following error:
Build Error (RollupWithDependencies)
parse is not a function in /Users/jorgelainfiesta/my-app/tmp/rollup_with_dependencies-cache_path-NNQTQ4qh.tmp/src/index.js
Stack Trace and Error Report: /var/folders/lg/7k9tn7x55k1_g2prg29r9ptw0000gn/T/error.dump.6a6e7c7fe5a7df21234c91b87e937fef.log
It seems like glimmer-application-pipeline version for rollup causes conflicts when installing the most recent rollup-plugin-commonjs.
As a reference, this project uses rollup 0.41.6 and the current version at the time of posting this 0.57.1. For rollup-plugin-commonjs the latest version is 9.1.0; downgrading to 8.3.0 makes the build work.
Provisional fix
Downgrade rollup-plugin-commonjs to 8.3.0
The text was updated successfully, but these errors were encountered:
Hi all,
After struggling with this issue for a while I was finally able to understand what it was about. Every time I tried to use commonjs as described in the guides I got the following error:
I found an analogue issue in ng-packager from last year (ng-packagr/ng-packagr#657).
It seems like
glimmer-application-pipeline
version forrollup
causes conflicts when installing the most recentrollup-plugin-commonjs
.As a reference, this project uses
rollup
0.41.6 and the current version at the time of posting this 0.57.1. Forrollup-plugin-commonjs
the latest version is 9.1.0; downgrading to 8.3.0 makes the build work.Provisional fix
Downgrade
rollup-plugin-commonjs
to 8.3.0The text was updated successfully, but these errors were encountered: