Import--->Examples causing error in console

#1

Recently when I try and perform and import---> examples on any node providing example I get an error in the console. Anyone have any ideas? Here is an example I am getting from the moment node.

19.4 Node Red
8.12 Node

TypeError: path must be absolute or specify root to res.sendFile
at ServerResponse.sendFile (C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\respo
nse.js:421:11)
at get (C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\red\api\editor\library.js:107:36)
at Layer.handle [as handle_request] (C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\node_modules\express
lib\router\layer.js:95:5)
at next (C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\router\route.js:137:13)
at C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\red\api\auth\index.js:63:13
at Layer.handle [as handle_request] (C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\node_modules\express
lib\router\layer.js:95:5)
at next (C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\router\route.j
s:112:3)
at Layer.handle [as handle_request] (C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\node_modules\express
lib\router\layer.js:95:5)
at C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\router\index.js:281:22
at param (C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\router\index.js:354:14)
at param (C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\router\index.js:365:14)
at Function.process_params (C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\route
r\index.js:410:3)
at next (C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\router\index.js:275:10)
at SendStream.error (C:\Users\a12886\AppData\Roaming\npm\node_modules\node-red\node_modules\serve-static\index.js:12
1:7)
at emitOne (events.js:116:13)

0 Likes

#2

At a guess, I'd say that you have a permissions issue but hard to say without knowing what you've installed and how.

0 Likes