You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A code which uses argon2 fails to execute correctly
To Reproduce
Steps to reproduce the behavior:
Go to 'Buildship'
Click on 'New node'
Use the following code:
import argon2 from 'argon2';
import nock from 'nock'
export default async function argon2Hash({
text
}) {
const hash = await argon2.hash(text);
return hash;
}
See error
{
"error": {
"nodeId": "test-node-1706860303764",
"nodeName": "Blank Script",
"stage": "building node",
"errorObject": {
"errors": [
{
"id": "",
"location": {
"column": 28,
"file": "../../../tmp/test-node-17068603037648SnTFo/node_modules/@mapbox/node-pre-gyp/lib/util/s3_setup.js",
"length": 13,
"line": 43,
"lineText": " const AWSMock = require('mock-aws-s3');",
"namespace": "",
"suggestion": ""
},
"notes": [
{
"location": null,
"text": "You can mark the path \"mock-aws-s3\" as external to exclude it from the bundle, which will remove this error. You can also surround this \"require\" call with a try/catch block to handle this failure at run-time instead of bundle-time."
}
],
"pluginName": "",
"text": "Could not resolve \"mock-aws-s3\""
},
{
"id": "",
"location": {
"column": 22,
"file": "../../../tmp/test-node-17068603037648SnTFo/node_modules/@mapbox/node-pre-gyp/lib/util/s3_setup.js",
"length": 9,
"line": 76,
"lineText": " const AWS = require('aws-sdk');",
"namespace": "",
"suggestion": ""
},
"notes": [
{
"location": null,
"text": "You can mark the path \"aws-sdk\" as external to exclude it from the bundle, which will remove this error. You can also surround this \"require\" call with a try/catch block to handle this failure at run-time instead of bundle-time."
}
],
"pluginName": "",
"text": "Could not resolve \"aws-sdk\""
}
],
"warnings": []
}
},
"buildId": "1706871833368"
}
Expected behavior
Expected was for the code to return the hashed password
Screenshots
If applicable, add screenshots to help explain your problem.
Rowy Run version
If applicable, share the Rowy Run version from your project settings.
Desktop (please complete the following information):
Windows, Chrome latest version
Smartphone (please complete the following information):
Through web
Additional context
None
The text was updated successfully, but these errors were encountered:
Describe the bug
A code which uses argon2 fails to execute correctly
To Reproduce
Steps to reproduce the behavior:
Go to 'Buildship'
Click on 'New node'
Use the following code:
See error
Expected behavior
Expected was for the code to return the hashed password
Screenshots
If applicable, add screenshots to help explain your problem.
Rowy Run version
If applicable, share the Rowy Run version from your project settings.
Desktop (please complete the following information):
Windows, Chrome latest version
Smartphone (please complete the following information):
Through web
Additional context
None
The text was updated successfully, but these errors were encountered: