browserify icon indicating copy to clipboard operation
browserify copied to clipboard

Error: Cannot find module 'vue-hot-reload-api' using node v4

Open Upguard opened this issue 8 years ago • 6 comments

I get this when running 'npm run dev' on a cloud9 instance.

Upguard avatar Jun 17 '16 00:06 Upguard

I was unable to reproduce on a fresh cloud9 instance. My guess you may have closed the terminal accidentally during npm install. From the project folder, try rm -rf node_modules, then npm install and npm run dev again.

chrisvfritz avatar Jun 19 '16 00:06 chrisvfritz

Whoops! I missed that this issue was for the browserify template and not webpack. I was just able to reproduce this and am investigating now. 😄

chrisvfritz avatar Jun 19 '16 00:06 chrisvfritz

@Upguard Work will be continued on this problem at https://github.com/vuejs/vueify/issues/46. Thanks for your report and if there's any more information you're able to add, please do. In the meantime, you can:

nvm install stable
nvm use stable
nvm alias default stable
rm -rf node_modules
npm install
npm run dev

chrisvfritz avatar Jun 19 '16 02:06 chrisvfritz

Thanks chris!

Upguard avatar Jun 19 '16 23:06 Upguard

I have got this error with node v5.5.0 and npm v3.3.12.

gamtiq avatar Jun 24 '16 21:06 gamtiq

Thanks @gamtiq! Can you report that at https://github.com/vuejs/vueify/issues/46? That's where we're trying to consolidate information about this issue.

chrisvfritz avatar Jun 24 '16 21:06 chrisvfritz