Skip to content

Cannot find module '.tmp/Rx.min.js'  #1501

Closed

Description

@JonCatmull

IMPORTANT: This repository's issues are reserved for feature requests and bug reports. Do not submit support requests here.

Steps to reproduce and a minimal demo of the problem

Created new repo using following steps:

git clone --depth 1 https://github.com/mgechev/angular-seed.git
cd angular-seed
sudo npm install
npm start

Current behavior

Errors on npm start

Error in plugin 'run-sequence(build.html_css)'                                                            
Message:                                                                                                             
    Cannot find module '.tmp/Rx.min.js'                                                                              
Details:                                                                                                             
    code: MODULE_NOT_FOUND                                                                                           
Stack:                                                                                                               
Error: Cannot find module '.tmp/Rx.min.js'                                                                           
    at Function.Module._resolveFilename (module.js:339:15)

Expected/desired behavior

Start app and livereload page

Other information

I have made and run a project before on a older version of the seed back when it was on angular-rc6.

I'm on a mac running macOS Sierra

node v 6.9.0
npm v 3.10.8

Activity

  1. JonCatmull commented on Oct 18, 2016

    @JonCatmull
    Author
  2. mgechev commented on Oct 18, 2016

    @mgechev
    Owner

    Would you run ./node_modules/.bin/gulp build.bundle.rxjs and try npm start again?

  3. JonCatmull commented on Oct 19, 2016

    @JonCatmull
    Author

    Thankyou that has fixed it, out of interest why did this happen? Is it a bug or something I did?

  4. mgechev commented on Oct 19, 2016

    @mgechev
    Owner

    On any reason the postinstall hook didn't execute properly.

  5. zeeshanjan82 commented on Nov 17, 2016

    @zeeshanjan82

    @mgechev I faced the same issue, thanks for the fix.

  6. amalshehu commented on Dec 2, 2016

    @amalshehu

    I too faced the same issue after adding a dependency.Thanks @mgechev

  7. MilosStanic commented on Mar 3, 2017

    @MilosStanic

    Using the seed on Windows Subsystem for Linux.
    I ran first npm install, then yarn install which did not complete.
    Maybe that's how I got this error. But Minko's fix fixed it.

  8. nvsky commented on Jun 2, 2017

    @nvsky

    sudo gulp build.bundle.rxjs

  9. saikiranmandhala commented on Jun 14, 2017

    @saikiranmandhala

    @mgechev Faced the same issue, thanks for the fix.
    npm postinstall should also fix the issue just in case of multiple packages failures of post script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions