Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
JonCatmull opened this issue Oct 18, 2016 · 9 comments
Closed

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

JonCatmull opened this issue Oct 18, 2016 · 9 comments

Comments

@JonCatmull
Copy link

JonCatmull commented Oct 18, 2016

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

@JonCatmull
Copy link
Author

npm-debug.log.txt

@mgechev
Copy link
Owner

mgechev commented Oct 18, 2016

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

@JonCatmull
Copy link
Author

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

@mgechev mgechev closed this as completed Oct 19, 2016
@mgechev
Copy link
Owner

mgechev commented Oct 19, 2016

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

@zeeshanjan82
Copy link

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

@amalshehu
Copy link

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

@MilosStanic
Copy link

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.

@nvsky
Copy link

nvsky commented Jun 2, 2017

sudo gulp build.bundle.rxjs

@saikiranmandhala
Copy link

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants