Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

npm start on windows returns compile error #2

Open
hekifan opened this issue Jan 2, 2019 · 0 comments
Open

npm start on windows returns compile error #2

hekifan opened this issue Jan 2, 2019 · 0 comments

Comments

@hekifan
Copy link

hekifan commented Jan 2, 2019

Hello,

This is a great boilerplate.
However I cannot seem to start it in dev mode. Whenever I call npm start, I get the following message.
May I ask if you know what could be the case?

Failed to compile C:/Project/essential/electron-webpack-react-boilerplate/dist/index.html: ENOENT: no such file or directory, lstat 'C:\Project\essential\electron-webpack-react-boilerplate\dist'
Error: ENOENT: no such file or directory, lstat 'C:\Project\essential\electron-webpack-react-boilerplate\dist'
at Object.realpathSync (fs.js:1661:15)
at Object.fs.realpathSync (ELECTRON_ASAR.js:343:29)
at cachedRealpath (C:\Project\essential\electron-webpack-react-boilerplate\node_modules\electron-compile\lib\sanitize-paths.js:25:22)
at sanitizeFilePath (C:\Project\essential\electron-webpack-react-boilerplate\node_modules\electron-compile\lib\sanitize-paths.js:52:16)
at FileChangedCache.getCacheEntryForPath (C:\Project\essential\electron-webpack-react-boilerplate\node_modules\electron-compile\lib\file-change-cache.js:201:48)
at C:\Project\essential\electron-webpack-react-boilerplate\node_modules\electron-compile\lib\file-change-cache.js:127:41
at Generator.next ()
at step (C:\Project\essential\electron-webpack-react-boilerplate\node_modules\electron-compile\lib\file-change-cache.js:27:191)
at C:\Project\essential\electron-webpack-react-boilerplate\node_modules\electron-compile\lib\file-change-cache.js:27:437
at new Promise ()

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

No branches or pull requests

1 participant