Comments (8)
@Burgi0101 It should at least be compatible with Windows according to Node's documentation: https://nodejs.org/api/path.html
@ericelliott I'll search around if I can find a reason as to why it doesn't work, if I don't find anything I'll send a PR for the workaround!
Thanks for your time guys!
from react-pure-component-starter.
Did you remember to run npm install
?
from react-pure-component-starter.
I ran npm install
but still getting this issue.
from react-pure-component-starter.
Same for me, packages were installed and everything worked once I replaced the include
line in the webpack config.
from react-pure-component-starter.
I ran into the same issue. Thank you @gumarm for adding your workaround.
I too am curious as to what could be causing this.
As a reference, here is the loaders block from my webpack.config.dev.js:
loaders: [{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/,
query: {
presets: ['es2015', 'stage-0', 'react']
}
}]
I am on a windows machine, node v7.6.0, npm v4.1.2
Thank you Eric for all you do in the tech community!
from react-pure-component-starter.
@higgins1b You can also replace include: path.join(__dirname, 'source')
with an include on the hard-coded path like include: 'path_here'
. I've had this issue with using path.join
on Windows machines before.
from react-pure-component-starter.
I'm open to a PR replacing path.join with an exclude of node_modules, but I'm curious about why path.join doesn't work on Windows. Have any of you searched the Node repo for a corresponding issue and possible resolutions?
from react-pure-component-starter.
Are we sure that the path module is cross platform compatible?
from react-pure-component-starter.
Related Issues (15)
- Simulating onClick when testing HOT 4
- Compatible with Redux Async pattern? HOT 3
- CircleCI build fail HOT 2
- Question HOT 3
- Latest ESLint changed rule names
- Hot reloading HOT 6
- devServer.js config with environment variable HOT 15
- Windows is not supported HOT 4
- Dependency injection: just the React instance? HOT 1
- typeError after running `npm t` or `npm run watch`
- React instance injection ? HOT 5
- using enzyme and cherrio HOT 2
- Update babel
- Testing nested components HOT 6
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 react-pure-component-starter.