now-experience-component-examples's People
Forkers
vibhamadaan k-s-rahul tommykjensen vinamra0991 nithin88 srikanth-uppala sn-ajb shamshad john9006 jpiresbr robkelle aatrey882 bradtiltonnow pax8-internal-it mykhalchukr bk521 hamarko ashleysnyder muhamedmedni afrose07 eemirlioglu devinvalencia prabhu0322 naveenvelagapudi lacah avrahambsn hrobarikt danclausen vtuong220889 kpekin mishraca cad102938 jc73uk blingusblongus larabecker michal55888 heugson mandi5150 joel-sn kayakdk joshuatechie eduardoug grzmar nancystodd sunjammer pdhoke vijayshankar485 jessems arcstan3 kasunabeyweera naveah maheshnk602 lucas-especta liorgrinberg1 erwinelnow-experience-component-examples's Issues
using tectonic instead of now-cli
It is not possible to use now-cli
for me, is there a way to run the components with tectonic instead.
now-cli project npm audit show A LOT of critical and high severity vunerabilities
Even in the lastest npm i -g @servicenow/[email protected]
There is A LOT of serious security issue that can be view with npm audit
You can view it by runningnpm audit
after you create a project with now-cli project ...
183 vulnerabilities (18 low, 55 moderate, 98 high, 12 critical)
now-cli type error
now-cli develop
command don't work.
There is a type error on the t variable here the is the fix:
Go to the @servicenow/cli-pre-post-tasks thne go to the file common/tasks/dev-server.js
return o.writeFileSync(s.join(n, ".pid"), t /*cast t to sting*/+""), i.unref(), {
killed: e,
spawned: t
}
null error on component build
There is a problem with the now-cli develop command, You need to add a null safety check:
You can't retrieve the name of a package if this one is undefined
TypeError: Cannot destructure property 'name' of 'u(...)' as it is undefined.
To fix it, go to the @servicenow/ui-build-component-utils lib then go to the file is-component.js
module.exports = r => {
const a = readPackageConfig(r);
const l = c(a, "build");
if ("library" === l || "distribution" === l) return !1;
if ("app:dynamic" === e && i(a, "uxFramework")) return !o(c(a, "uxFramework.components", {}));
const d = s(r, ".builderrc");
const p = n(d) && t(d, "utf8");
const {
name: m
} = u(r) /*Add this in case u is undefined */ || {name: ""};
return 0 === m.indexOf("sn-component-") || p && (-1 !== p.indexOf("@servicenow/cli-component-archetype") || -1 !== p.indexOf("@tectonic/component-archetype") || -1 !== p.indexOf("sn-seismic-archetype"))
};
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.