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 was archived by the owner on Feb 26, 2024. It is now read-only.
Hi, I'm using angular2 with browserify and noticed that I had to require('zone.js/lib/browser/zone-microtask') instead of require('zone.js') after a few hours of struggle. But it throws the following error unless I don't npm install -S es6-promise at the top level of my app.
Error: Cannot find module 'es6-promise' from '/path/to/my/app/node_modules/zone.js/lib/browser'
What do you think about putting es6-promise in dependencies instead of devDependencies? It is required by zone-microtask, which could be considered as a part of the library body, even though it's not in package.json#main.
Hi, I'm using angular2 with browserify and noticed that I had to
require('zone.js/lib/browser/zone-microtask')instead ofrequire('zone.js')after a few hours of struggle. But it throws the following error unless I don'tnpm install -S es6-promiseat the top level of my app.What do you think about putting
es6-promiseindependenciesinstead ofdevDependencies? It is required byzone-microtask, which could be considered as a part of the library body, even though it's not inpackage.json#main.Cheers