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

Issue getting Dev environment up #8

Open
esperancaJS opened this issue Oct 21, 2016 · 1 comment
Open

Issue getting Dev environment up #8

esperancaJS opened this issue Oct 21, 2016 · 1 comment
Labels

Comments

@esperancaJS
Copy link
Collaborator

Note: for support questions, please use one of these channels: Chat: Gitter

  • I'm submitting a ...
    [x] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
  • Do you want to request a feature or report a bug?
    error on npm start
  • What is the current behavior?

sh: 1: webpack-dev-server: not found

  • What is the expected behavior?

It should start the development environment

  • Please tell us about your environment:

Ubuntu 16
NPM 3.10.8
Node v6.8.1 (using NVM, base Node v4.5)

@thomascayne
Copy link

thomascayne commented Mar 15, 2017

@PedroEsperanca I concur. Also, electron-debug is not launching from within: main.desktop.ts

if (process.env.NODE_ENV === 'development') {
  require('electron-debug')({enabled: true, showDevTools: false}); //<-- modified
}

require('electron-debug')({enabled: true, showDevTools: false}); // <!-- works outside if check

Now, devtools is showing the following: Failed to load resource: net::ERR_FILE_NOT_FOUND

polyfill.dlls.js
vendor.dll.js
polyfills.bundle.js
main.bundle.js
vendor.bundle.js

There are pointing to: file:///D:/. Web page: localhost:3000 is the same ERR_FILE_NOT_FOUND. How to resolve I do not know.

Update: The above is resolved by changing baseUrl in config/advance/webpack.common.js and config/webpack.common.js to './' See: #1769

This is a great package. 💯%.

Let the happy coding begin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants