akiran / react-foundation-apps

Foundation Apps components built with React
http://webrafter.com/opensource/react-foundation-apps
MIT License
292 stars 48 forks source link

Cannot resolve module(s) #36

Open monte-hayward opened 8 years ago

monte-hayward commented 8 years ago

It appears that npm is trying to resolve modules in the current directory, rather than in node_modules. I get about 10 of these messages, each about a different module.

ERROR in ./docs/install/index.jsx
Module not found: Error: Cannot resolve module 'react-highlight/lib/optimized' in /work/path/react-foundation-apps/docs/install
@ ./docs/install/index.jsx 6:16-56

My installation was simple: clone npm install // had to repeat this after getting XCode 7.0.1 npm start

monte-hayward commented 8 years ago

Same set of errors after running the other actions found in package.json:

npm run postinstall
npm run prepublish
npm run start
couch4 commented 8 years ago

If you find out the answer to this, I'd love to know!