react-foundation-apps icon indicating copy to clipboard operation
react-foundation-apps copied to clipboard

Cannot resolve module(s)

Open monte-hayward opened this issue 9 years ago • 2 comments

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 avatar Oct 14 '15 20:10 monte-hayward

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

npm run postinstall
npm run prepublish
npm run start

monte-hayward avatar Oct 14 '15 22:10 monte-hayward

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

couch4 avatar Jun 06 '16 20:06 couch4