Closed lincolnlemos closed 5 years ago
hello @lincolnlemos do you have only one asset, or there are more ? it seems to me something goes wrong with asset array you have, could you please provide whole json for your job? thank you!
actually, when i looked at the error message second time, i noticed an error
UnhandledPromiseRejectionWarning: RequestError: connect ECONNREFUSED 127.0.0.1:23234
are you sure your other assets are properly accessible ?
also, on third look i noticed another *minor* issue on your side :D from your error stack seems like you are using "nexrender" package from the stable branch, an older version which doesnt support the asset example you provided in your message
i would recommend reading up Migrating from v0.x part of the readme, and probably then following a Usage part in more detailed manner
especially parts about installing the new modules, they all start with @nexrender
scope
Hmm.. Ok. I'm not sure If the other assets are available. I installed today and I'm playing with the boilerplate project.
The other assets like below don't give me error message:
{ "type": "script", "name": "scripts.js", "src": http://localhost:${port}/assets/scripts.js
},
The error only came when I add this type data.
I will take a look at the link. Thank you
yes, as you might've noticed boilerplate project uses an older version that's actually a good point, i need to add that information to the boilerplate readme
i would suggest not look at the boilerplate project at all right now, and focus only on this repo readme file, it should cover most of the stuff you would probably ever need to know in regards of nexrender
Thanks buddy. I will start from scratch. After I learn, I will try to help you edit the boilerplate. Thanks for the project. Looks very interesting!
thank you!
I'm trying to add a simple data asset and I'm getting this error.
Error message: Parameter "url" must be a string, not undefined TypeError: Parameter "url" must be a string, not undefined
This only occurs after I add this block on my assets array.
Below is the full error log on my terminal
Any ideas?