'default' is not exported by 'node_modules\rxjs\add\operator\toPromise.js' #255
Comments
I managed to fix this with an npm upgrade, etc |
I managed to fix this with rollup downgrade, rollup@0.50.0 |
Can anybody reproduce this issue with current rollup and rollup-plugin-commonjs? If so, please provide a small, if not minimal case in a repository. |
Luckily, I stumbled across this one today. Minimal repo here https://github.com/fskreuz/rollup-rxjs-topromise-bug .
Additional info: I came across this bug using Rollup 0.50 + commonjs 8.2.6. that repro uses Rollup 0.55 + commonjs 8.3.0. |
Since |
Why was this closed? I'm experiencing a similar issue with moment.js repo and searching for some information on how to resolve and landed here. Using a straight forward config with
Here's my config: https://gist.github.com/crobinson42/3266ea3a419a8c861094520114e925a7 You can run that with a simple create react app project and first get the error regarding Any thoughts on this? Should I do some more investigation to be useful? Thanks! |
Hi! What the status of this bug? It's still occur for me:
Error:
|
I am flowing the guide of "Ahead-of-Time Compilation",doing flowing in my project.
npm install @angular/compiler-cli @angular/platform-server --save
""node_modules/.bin/ngc" -p tsconfig-aot.json
"node_modules/.bin/ngc" -p tsconfig-aot.json
(it worked,created aot directory and files)
npm install rollup rollup-plugin-node-resolve rollup-plugin-commonjs rollup-plugin-uglify --save-dev
"node_modules/.bin/rollup" -c rollup-config.js
it create build.js file that is 558kb. but there are same infos:
The following options have been renamed — please update your config: options.entry -> options.input, options.dest -> options.output.file, options.format -> options.output.format
app/main.js → app/build.js...
'default' is not exported by 'node_modules\rxjs\add\operator\toPromise.js'
created app/build.js in 15.3s
9. run my project in crome,error!
more infos:
my package.json
anyone help me.please!
The text was updated successfully, but these errors were encountered: