Closed KevinFarmer closed 6 years ago
I think that it is a dependency issue, see here: https://github.com/mannynotfound/react-tweet/pull/23
It doesn't seem to be the dependency issue. For some reason, the ./lib folder is not being created or populated under node_modules/react-tweet/
2018-01-18T04_09_05_936Z-debug.log
The build:js script seems to be failing on my system
@KevinFarmer hey Kevin this is probably a npm version issue. I too am seeing the build error on npm 5.5.1
. Taking a look, what version of npm are you running?
I am on version 4.2.0
@KevinFarmer Hey Kevin, ive re-configured the build setup to try to fix this. Can you try doing npm install react-tweet@beta
and let me know if that works out for you? If it looks good ill update the latest tag to this version
@mannynotfound I'm getting a different build error now, seems like a dependency issue:
ERROR in ./~/react-tweet/lib/Tweet/Context.js Module not found: Error: Can't resolve 'babel-runtime/helpers/extends' in '/home/kfarmer/cs98/17f-smr/node_modules/react-tweet/lib/Tweet' @ ./~/react-tweet/lib/Tweet/Context.js 1:0-53 @ ./~/react-tweet/lib/Tweet/Tweet.js @ ./~/react-tweet/index.js @ ./src/containers/cleanup-search.js @ ./src/containers/app-cont.js @ ./src/components/app.js @ ./src/index.js @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src
The same error is repeated for Header.js, Media.js, Quote.js and Footer.js
@KevinFarmer that error must be from running your project with react-tweet then, but the install works?
Yes the install works, the error is from running it
@KevinFarmer Gotcha, I think i got it working. can you try npm install react-tweet@beta
(version 1.3.6
) again
It works!
@KevinFarmer sweet. will update main latest
version soon
During the fall I was using the react-tweet library for a project with no problems. After coming back to it, I am now getting this error when trying to compile my React webpage:
ERROR in ./~/react-tweet/index.js Module not found: Error: Can't resolve './lib/Tweet/Tweet'
Something seems to have changed since November which broke this for me