Tag: NODE-MODULES
Estoy usando Pm2 y este es el error: SyntaxError: No se puede utilizar una declaración de importación fuera de un módulo Advertencia: Para cargar un módulo ES, establezca “type”: “module” en el package.json o use la extensión .mjs. El problema es que el package.json ya está configurado en “type”: “module”. . . . Read more
El código json no está funcionando en el servidor. Me parece que se debe al hecho de que node.js es la versión 14 en Heroku y la última versión es la 16. Todo comienza en mi computadora local. Inmediatamente aparece un error. Ayuda a resolverlo. El error en sí mismo: . . . Read more
Yo ejecuto una tarea de gulp utilizando el módulo browser-sync de NodeJS de la siguiente manera. === Archivo gulpfile.js === let browserSync = require(‘browser-sync’).create(); gulp.task(‘browser-sync’, function(){ browserSync.init( { open: true, injectChanges: true, proxy: ‘https://generalgulp.devsunset’, host: ‘192.168.1.76’, serveStatic: [‘.’], https: { key: ‘C:\\WebProjects\\GeneralGulp\\resources\\certificates\\server-generalgulp.key’, cert: ‘C:\\WebProjects\\GeneralGulp\\resources\\certificates\\server-generalgulp.crt’ } }); }); === === La . . . Read more
Estoy intentando usar @react-three/drei. He instalado y usado con éxito @react-three/fiber, pero cuando instalé @react-three/drei, obtuve el siguiente error: ./node_modules/three-stdlib/lights/RectAreaLightUniformsLib.js Error de importación intentado: & # 39; DataUtils & # 39; no está exportado de & # 39; three & # 39; Obtengo el error cuando uso esta importación para . . . Read more