darrenhillconsulting
07/20/2021, 4:45 PMdarrenhillconsulting
07/20/2021, 4:49 PMec
07/21/2021, 1:31 PMJosh Godfrey
07/21/2021, 1:36 PMJacob Traugott
07/21/2021, 2:03 PMMichael Scott
07/21/2021, 5:59 PMAbneed Rodríguez
07/22/2021, 1:17 PMsuitecloud account:setup -i
?:
There is no JAR file in your CLI for Node.js. Run "npm install" from "/usr/local/lib/node_modules/@oracle/suitecloud-cli" to install the JAR file.
darrenhillconsulting
07/22/2021, 2:38 PM_nikhilpalli
07/22/2021, 4:00 PMThere was an error when accessing the following server: "<http://XXXXXXX-sb1.suitetalk.api.netsuite.com|XXXXXXX-sb1.suitetalk.api.netsuite.com>". Check the server address and try again.
Anyone encountered this issue and is there a fix?scottvonduhn
07/22/2021, 4:53 PMscottvonduhn
07/22/2021, 4:53 PMdarrenhillconsulting
07/24/2021, 12:18 PMstalbert
07/26/2021, 8:00 PMZoran Roncevic
07/27/2021, 8:22 AMMichael Scott
07/28/2021, 3:14 PMMichael Scott
07/28/2021, 3:15 PMMichael Scott
07/28/2021, 3:15 PM_nikhilpalli
07/28/2021, 3:24 PMDetails: The manifest contains a dependency on {netsite_id} object, but it is not in the account.
There are about 30-40 rows of this message. My question is do I have to add each and every single one manually or is there a shortcut to import all objects referenced in the manifest? I am using webstorm 2021.1.3. Thanks!Josh Godfrey
07/28/2021, 6:46 PMAn error occurred during custom object validation. (customrole_XXXXXXX)
Details: There cannot be a restrict field on a non custom record type permkey
File: ~/Objects/Role/customrole_XXXXXXXXXX.xml
Zoran Roncevic
07/29/2021, 11:51 AMRichard Pokorny
07/29/2021, 1:39 PMBrendon Parker
07/29/2021, 7:11 PMsuitecloud project:deploy
I'm getting:
The deployment process has encountered an error.
Deploying to TSTDRV1234567 - ACME INC - Administrator.
2021-07-29 11:57:25 (PST) Installation started
Info -- Account [(PRODUCTION) ACME INC]
Info -- Publisher ID [com.acme]
Info -- SuiteApp [com.acme.proj (1.0.0)]
Info -- Framework Version [1.0]
Validate manifest -- Success
Validate deploy file -- Success
Validate objects -- Failed
Validate files -- Success
Validate folders -- Success
Validate translation imports -- Success
Validate preferences -- Success
Validate flags -- Success
*** ERROR ***
Validation failed.
An error occurred during custom object validation. (custsecret_mine)
Details: Referenced secret: 'custsecret_mine' is not available.
File: ~/Objects/custsecret_mine.xml
2021-07-29 11:57:26 (PST) Installation FAILED (0 minutes 1 second)
Content of ~/Objects/custsecret_mine.xml
:
<secret scriptid="custsecret_mine">
</secret>
The Usual Suspect
07/30/2021, 3:55 PMJosh Godfrey
07/30/2021, 6:09 PMAn error occurred during custom object validation. (customrole_XXXXXXXXXXXXXX)
Details: There cannot be a restrict field on a non custom record type permkey
Matt Bernstein
07/30/2021, 6:16 PMmberns@Matthews-MacBook-Pro premier-digital % npm test
> asset-prefix-rename@1.0.0 test
> jest
PASS __tests__/sample-test.js
Basic jest test with simple assert
✓ should assert stings are equal
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 0.149 s
Ran all test suites.
mberns@Matthews-MacBook-Pro premier-digital % npm test
> asset-prefix-rename@1.0.0 test
> jest
FAIL __tests__/sample-test.js
● Test suite failed to run
TypeError: Cannot destructure property 'config' of 'cacheKeyOptions' as it is undefined.
at Object.getCacheKey (node_modules/babel-jest/build/index.js:217:14)
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.18 s, estimated 1 s
Ran all test suites.
jest.config.js file
const SuiteCloudJestConfiguration = require("@oracle/suitecloud-unit-testing/jest-configuration/SuiteCloudJestConfiguration");
module.exports = SuiteCloudJestConfiguration.build({
projectFolder: 'src',
projectType: SuiteCloudJestConfiguration.ProjectType.ACP,
});
sample-test.js file
describe('Basic jest test with simple assert', () => {
it('should assert stings are equal', () => {
const a = 'foobar';
const b = 'foobar';
expect(a).toMatch(b);
});
});
Project structure attached as imageNickSuite
08/02/2021, 11:16 AMMichael Scott
08/02/2021, 2:17 PMMichael Scott
08/02/2021, 2:20 PMMichael Scott
08/02/2021, 2:20 PMMichael Scott
08/02/2021, 2:21 PMsuitecloud account:manageauth -i