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

489
Views
Npm ¡ERROR! Los saltos de línea no se pueden citar en Windows

Tengo el siguiente código de paquete.json:

 { "name": "pre-post", "version": "1.0.0", "description": "", "main": "basic-server.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "ignore": "echo \"\" >> .gitignore", "preignore": "touch .gitignore", "postignore": "echo \".gitignore\n.vscode/\nnode_modules/\" >> .gitignore" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "linebreak": "^1.0.2", "open": "^7.4.0" } }

después de ejecutar el comando node js, ¡tengo el mensaje de error de npm ERR! Line breaks can't be quoted on Windows , ¿alguna solución?

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Compruebe si su paquete.json tiene swiper

Hay 4 pasos para resolver este problema.

  1. Elimine "swiper": "^5.4.5" del archivo package.json . (Compruebe que no debe haber una coma en la última línea de su archivo json)
  2. Ejecute el comando npm install en su terminal.
  3. Ejecute el comando npm install swiper .
  4. Ahora verá que todo se ha instalado correctamente.
over 4 years ago · Santiago Trujillo Report

0

Simplemente no lo instales desde Git Bash en Windows. ¡Use cmd.exe y funcionará de maravilla!

over 4 years ago · Santiago Trujillo Report

0

  1. Desinstalar node.js del Panel de control/Programas
  2. Descargue el nuevo instalador de node.js e instálelo.
  3. ( importante ) reiniciar el sistema.
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!