-
Notifications
You must be signed in to change notification settings - Fork 873
NPM errors after migrating project to a new Mac #773
Comments
Did you try to get FoundationPress working in Node 5? It works for me with all versions of Node 5 that I have used. There's also this: |
The problem is running Here is a tip, when using Docs for using a |
@colin-marshall Yes I originally attempted with Node 5.8.0, before I remembered the docs recommend v4. @EricRihlmann Thank you, I should have thought of renaming/deleting the original |
Good stuff. Maybe we should include a |
@olefredrik I don't think we want to add nvmrc to the repo unless you leave it blank for the user to fill in the version number. If nvmrc allowed us to set a range of versions, like >v4, then we could use it but I think you can only specify one version. Adding info about nvm, and nvmrc to the docs would be great though. Also I think you can remove the part that talks about issues with Node v5 and say that FoundationPress is compatible with Node v4 or v5. I haven't come across anybody with issues on v5. |
@olefredrik I came close to doing just that, but then I came to the same conclusion as @colin-marshall. |
I had this problem as well - I ended up updating node via homebrew, deleted node_modules and re-ran npm install and then "npm run watch" ran without issue. |
Hi folks,
I got myself a new match (switching from iMac to MBP) and finally got most of my development environment set up. I then opened up one of my recent FP projects, typed
npm run watch
in the terminal and was greeted with some alarming errors (basically the same error when I attempt to runnpm install
, as well):I installed node/npm according to this method: http://www.johnpapa.net/how-to-use-npm-global-without-sudo-on-osx/ (same method used on my old iMac, which works fine). I realized I had a 5.x version of Node installed, so used nvm to add a 4.x version to work with FoundationPress.
I noticed in a few closed issues running a command to change git's git: to https:, but that didn't work.
Any other ideas? Thanks!!
The text was updated successfully, but these errors were encountered: