X Tutup
Skip to content

Cannot resolve module zone.js/dist/zone-microtask in angular2 2.0.0-beta.11 and zone.js 0.6.4 #7717

@mehrad-rafigh

Description

@mehrad-rafigh

Note: for support questions, please use one of these channels: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.

  • *I'm submitting a ... *
    [x ] bug report
  • Do you want to request a feature or report a bug?
    see above
  • What is the current behavior?
    With angular 2.0.0-beta.11 and zone.js 0.6.4 I get the following error:
    Module not found: Error: Cannot resolve module 'zone.js/dist/zone-microtask'
  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
  • Update dep in package.json to angular2 2.0.0.beta-11 and zone.js to 0.6.4
  • npm install
  • What is the expected behavior?
    No errors when using npm install with angular 2.0.0-beta.11 and zone.js 0.6.4
  • What is the motivation / use case for changing the behavior?
  • Please tell us about your environment:
  • Angular version: 2.0.0-beta.11
  • Browser: [ all ]
  • Language: [TypeScript 1.8.9]
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
    multi main
    Module not found: Error: Cannot resolve module 'zone.js/dist/zone-microtask' in /Users/xxx/repo/
    resolve module zone.js/dist/zone-microtask in /Users/xxx/repo/garcon_hybrid2
    looking for modules in /Users/xxx/repo/.../node_modules
    resolve 'file' or 'directory' dist/zone-microtask in /Users/xxx/repo/node_modules/zone.js
    resolve file
    /Users/xxx/repo/node_modules/zone.js/dist/zone-microtask doesn't exist
    /Users/xxx/repo/node_modules/zone.js/dist/zone-microtask.js doesn't exist
    /Users/xxx/repo/node_modules/zone.js/dist/zone-microtask.ts doesn't exist
    resolve directory
    /Users/xxx/repo/node_modules/zone.js/dist/zone-microtask doesn't exist (directory default file)
    /Users/xxx/repo/node_modules/zone.js/dist/zone-microtask/package.json doesn't exist (directory description file)
    [/Users/xxx/repo/node_modules/zone.js/dist/zone-microtask]
    [/Users/xxx/repo/node_modules/zone.js/dist/zone-microtask.js]
    [/Users/xxx/repo/node_modules/zone.js/dist/zone-microtask.ts]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup