Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

163
Views
Ionic installation issue

I am trying to install ionic.

I had set up node.js, Java SDK. and ionic via node.js

When I tried to run ionic from cmd, I got the below error.

>     C:\Users\aaa>ionic info
>     module.js:472
>         throw err;
>         ^
>     
>     Error: Cannot find module 'C:\Users\aaa\AppData\Roaming\npm\de_modules\ionic\bin\ionic'
>         at Function.Module._resolveFilename (module.js:470:15)
>         at Function.Module._load (module.js:418:25)
>         at Module.runMain (module.js:605:10)
>         at run (bootstrap_node.js:423:7)
>         at startup (bootstrap_node.js:147:9)
>         at bootstrap_node.js:538:3
>     
>     C:\Users\aaa>

Why ı am getting this message ?

I have tried to re install several times. but the result is the same.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I have Found the problem.

My ionic.cmd

@IF EXIST "%~dp0\node.exe" (
  "%~dp0\node.exe"  "%~dp0\de_modules\ionic\bin\ionic" %*
) ELSE (
  @SETLOCAL
  @SET PATHEXT=%PATHEXT:;.JS;=;%
  node  "%~dp0\de_modules\ionic\bin\ionic" %*
)

there has invalid path.

@IF EXIST "%~dp0\node.exe" (
  "%~dp0\node.exe"  "%~dp0\node_modules\ionic\bin\ionic" %*
) ELSE (
  @SETLOCAL
  @SET PATHEXT=%PATHEXT:;.JS;=;%
  node  "%~dp0\node_modules\ionic\bin\ionic" %*
)

I changed like thar. The Problem solved. Thanks.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!