Cant run npm install

hey thanks it seems it worked with a new project, but i did not understand what you mean with a broken dependency.


C:\Users\pkhon\WebstormProjects\untitled10>npm install -g ionic cordova
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
C:\Program Files\nodejs\cordova -> C:\Program Files\nodejs\node_modules\cordova\bin\cordova
C:\Program Files\nodejs\ionic -> C:\Program Files\nodejs\node_modules\ionic\bin\ionic
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules\ionic\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ ionic@3.9.2
+ cordova@7.0.1
added 115 packages and updated 2 packages in 105.834s

C:\Users\pkhon\WebstormProjects\untitled10>ionic start cutePuppy blank
√ Creating directory .\cutePuppy - done!
[INFO] Fetching app base (https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz)
√ Downloading - done!
[INFO] Fetching starter template blank (https://github.com/ionic-team/ionic2-starter-blank/archive/master.tar.gz)
√ Downloading - done!
√ Updating package.json with app details - done!
√ Creating configuration file ionic.config.json - done!
[INFO] Installing dependencies may take several minutes!
> npm install
√ Running command - done!
> git init
> git add -A
> git commit -m "Initial commit" --no-gpg-sign

♬ ♫ ♬ ♫  Your Ionic app is ready to go! ♬ ♫ ♬ ♫

Run your app in the browser (great for initial development):
  ionic serve

Run on a device or simulator:
  ionic cordova run ios

Test and share your app on a device with the Ionic View app:
  http://view.ionic.io
  

Next Steps:
Go to your newly created project: cd .\cutePuppy


C:\Users\pkhon\WebstormProjects\untitled10>

In your project’s package.json you have this line:

This is probably what requires node-sass somewhere, change it to version 1.3.12 (the newest version of 1.x of this). Then run npm install.

The reason why this happens is complicated: node-sass on Windows has to download a compiled version that matches your node/npm. These are only available after the node/npm combination was released - duh. The app-scripts 1.3.7 version of node-sass was released before your node/npm combination. This causes the file not to exist, giving you this nice error message.

1 Like

thanks sooooo much time to celebrate XD

1 Like

Great.

Let the author know that they should update to this version at least… (better update everything, but well… that might be a bit of work)

indeed, sure will thanks.

iam very beginner
i installed the ionic now.
but i didn’t find any way to install any theme on it
can you describe the process in clear points , please

hello i am having this. dont know which dependencies is broken

Just uninstall the node.js and then install the node.js again…
100% working on my side