Comments (11)
"The system cannot find the path specified." <-- Something is off if you're seeing it; since your install fails, running npm start
is bound to not work. Unfortunately I have no access to a Windows machine, but it could be also due to you changing any path info.
The reinstall
script performs a number of commands in sequence. To start troubleshooting, it would be good to know at which step exactly are you failing. Try doing these one task at a time:
npm i rimraf
rimraf node_modules
npm uninstall -g elm
npm i -g elm
npm i
elm package install
It's worth noting that the project structure changed (see the Changelog), so you should adapt your project to the latest folder structure (preferably), or vice versa. As another option, I'd try cloning and building a fresh elm-webpack-starter
repo and, assuming it works, move your project over bit by bit..
from elm-webpack-starter.
Thank you for helping me out it is very much appreciated.
I decided to trying to get everything to install properly in an "empty" starter folder downloaded from the master branch. Which isn't working
npm i rimraf
rimraf node_modules
npm uninstall -g elm
npm i -g elm
all ran without error, just a few warning. you can see them in attached file.
npm i
I got these warnings
`-- UNMET PEER DEPENDENCY [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] requires a peer of elm-webpack-loader@^4.1.1 but none was installed.
I tried manually installing
npm i elm-webpack-loader@^4.1.1
Which gave me these warnings
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
So I tried npm i elm-webpack-loader
which gave me these warnings
`-- UNMET PEER DEPENDENCY [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] requires a peer of elm-webpack-loader@^4.1.1 but none was installed.
Then I tried npm i [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] requires a peer of elm-webpack-loader@^4.1.1 but none was installed.
I am at loss as to what to try next.
from elm-webpack-starter.
I tried manually installing each of the packages in the package.json file.
They all gave me the warning
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
See attached
package manual install.txt
from elm-webpack-starter.
Hmm, not getting other reports of this. How about trying updating your version of Node? I'm running 6.0
from elm-webpack-starter.
I already updated my version of node. I am running version v6.9.4.
from elm-webpack-starter.
+1 i'm just gonna revert to 0.8.0
I've just noticed Main.elm doesn't have module Main..
from elm-webpack-starter.
+1. Reverting to the 0.8.0 version of webpack.config.js got it going again. Maybe related to running on Windows?
from elm-webpack-starter.
I tried reverting to 0.8.0 version but it didn't work either. I guess it just doesn't work well either on Windows or on my setup. Thank you all for being helpful.
from elm-webpack-starter.
I pushed a newer version yesterday, with updated packages. Perhaps give that a try, do a clean clone and install. Seemed to work fine, but that's on my Mac. Sorry I can't be of more help.
from elm-webpack-starter.
@JonathanDDuncan does you try resolve?
https://webpack.github.io/docs/troubleshooting.html#windows-paths
from elm-webpack-starter.
I had the same issue and created a pull request that makes webpack's config work on Windows machines.
from elm-webpack-starter.
Related Issues (20)
- JS Error: Reload not working HOT 2
- issue on windows with rimraf? HOT 5
- Cannot find module "glob"
- Error in index.js HOT 2
- Runtime error: Cannot read property 'appendChild' of null(…) HOT 3
- Hot reloading on save does not work for imported components HOT 2
- WIndows not working, FIXED HOT 1
- loading path for generated js file should be absolute
- Move ownership to elm-community
- Move ownership to elm-community HOT 8
- Small confusion in readme with respect to `npm run build`
- Upgrade to Webpack 2 HOT 4
- Include unit tests and fuzz tests in the starter
- What about AOT compilation? HOT 8
- Yarn lockfile should not be excluded from the repo HOT 2
- Bootstrap HOT 2
- Update to Elm 0.19 HOT 1
- Remove Component Example HOT 1
- Add Dockerfile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elm-webpack-starter.