nerdybeast / simple-vf-cli Goto Github PK
View Code? Open in Web Editor NEWWIP - Simple command line utility for building Visualforce pages using your favorite local front-end build system.
WIP - Simple command line utility for building Visualforce pages using your favorite local front-end build system.
Need to reduce the footprint of the visualforce page as well as remove the <link>
tags from within an output panel because the page is being rendered before those styles are being applied.
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/10/
TypeError: cli.askOrgSelection is not a function
File "C:\projects\simple-vf\simple-vf-cli\dist\flow.js", line 165, in <unknown>
File "<anonymous>", line unknown, in Generator.next
File "C:\projects\simple-vf\simple-vf-cli\dist\flow.js", line 7, in <unknown>
File "<anonymous>", line unknown, in new Promise
File "C:\projects\simple-vf\simple-vf-cli\dist\flow.js", line 3, in __awaiter
File "C:\projects\simple-vf\simple-vf-cli\dist\flow.js", line 160, in _resolveOrgName
File "C:\projects\simple-vf\simple-vf-cli\dist\flow.js", line 33, in Command.<anonymous>
File "<anonymous>", line unknown, in Generator.next
File "C:\projects\simple-vf\simple-vf-cli\dist\flow.js", line 7, in <unknown>
File "<anonymous>", line unknown, in new Promise
When authenticating into a new org, if that authentication fails we don't want the user to have to re-enter all that data. For instance, the username should retain its value but allow the user to override it.
Things like the controller and static resource are still living in Salesforce when the new command is called and then fails half way through. These objects need to be cleaned up (in the exact reverse order that they were created) because Salesforce doesn't allow you to delete objects that are dependencies for another part of the system.
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/3/
INVALID_SESSION_ID: Session expired or invalid
File "C:\projects\simple-vf\plugins\ember-cli\node_modules\jsforce\lib\http-api.js", line 250, in HttpApi.getError
File "C:\projects\simple-vf\plugins\ember-cli\node_modules\jsforce\lib\http-api.js", line 95, in <unknown>
File "C:\projects\simple-vf\plugins\ember-cli\node_modules\promise\lib\core.js", line 37, in tryCallOne
File "C:\projects\simple-vf\plugins\ember-cli\node_modules\promise\lib\core.js", line 123, in <unknown>
File "C:\projects\simple-vf\plugins\ember-cli\node_modules\asap\raw.js", line 50, in flush
File "internal/process/next_tick.js", line 73, in _combinedTickCallback
File "internal/process/next_tick.js", line 104, in process._tickCallback
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/6/
Error: Error: The module '\\?\C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\Release\leveldown.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).: unable to import leveldown
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 122, in <unknown>
File "<anonymous>", line unknown, in Generator.next
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 7, in <unknown>
File "<anonymous>", line unknown, in new Promise
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 3, in __awaiter
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 120, in processError
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 39, in PouchDB$5.<anonymous>
File "<anonymous>", line unknown, in Generator.throw
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 5, in rejected
File "<anonymous>", line unknown, in <unknown>
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/4/
not_found: missing
After importing a plugin module, we need to wrap the execution of a plugin method in a try/catch or check to see if that method has actually been implemented in that plugin. We can either skip the call to that method or throw an error that the plugin is broken...
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/11/
Error: function appSettingsLocation() {
let homeDir = os.homedir();
let platform = os.platform();
let appName = 'simple-vf-cli';
let dbPath = '';
switch (platform) {
case 'win32':
dbPath = `AppData/Local/${appName}`;
break;
case 'darwin':
dbPath = `Library/Preferences/${appName}`;
break;
default:
dbPath = `.${appName}`;
break;
}
return path_1.join(homeDir, dbPath);
}/plugins contains invalid WIN32 path characters.
File "C:\projects\simple-vf\simple-vf-cli\node_modules\fs-extra\lib\mkdirs\mkdirs.js", line 18, in Object.mkdirs
File "C:\projects\simple-vf\simple-vf-cli\node_modules\universalify\index.js", line 5, in Object.mkdirs
File "C:\projects\simple-vf\simple-vf-cli\node_modules\fs-extra\lib\json\output-json.js", line 20, in pathExists
File "C:\projects\simple-vf\simple-vf-cli\node_modules\universalify\index.js", line 23, in fn.apply.then.r
File "<anonymous>", line unknown, in <unknown>
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/7/
TypeError: Cannot read property 'orgName' of undefined
File "c:\projects\simple-vf\simple-vf-cli\dist\cli.js", line 31, in <unknown>
File "<anonymous>", line unknown, in Generator.next
File "c:\projects\simple-vf\simple-vf-cli\dist\cli.js", line 4, in fulfilled
File "<anonymous>", line unknown, in <unknown>
File "internal/process/next_tick.js", line 188, in process._tickCallback
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/15/
DatabaseError: Can't Load Database
File "C:\projects\simple-vf\simple-vf-cli\node_modules\node-json-db\dist\JsonDB.js", line 335, in JsonDB.load
File "C:\projects\simple-vf\simple-vf-cli\node_modules\node-json-db\dist\JsonDB.js", line 78, in JsonDB.retrieveData
File "C:\projects\simple-vf\simple-vf-cli\node_modules\node-json-db\dist\JsonDB.js", line 159, in JsonDB.getData
File "C:\projects\simple-vf\simple-vf-cli\lib\JsonDB.ts", line 73, in OrgRepository.getData
File "C:\projects\simple-vf\simple-vf-cli\lib\JsonDB.ts", line 54, in OrgRepository.findAll
File "C:\projects\simple-vf\simple-vf-cli\lib\cli\get-org-selection.ts", line 16, in Object.default_1 [as askOrgSelection]
File "C:\projects\simple-vf\simple-vf-cli\lib\flow.ts", line 185, in _resolveOrgName
File "C:\projects\simple-vf\simple-vf-cli\lib\flow.ts", line 28, in Command.auth
File "C:\projects\simple-vf\simple-vf-cli\node_modules\commander\index.js", line 300, in Command.listener
File "events.js", line 189, in Command.emit
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/12/
Error: Error: The module '\\?\C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\Release\leveldown.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).: unable to import leveldown
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 122, in <unknown>
File "<anonymous>", line unknown, in Generator.next
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 7, in <unknown>
File "<anonymous>", line unknown, in new Promise
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 3, in __awaiter
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 120, in processError
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 97, in PouchDB$5.<anonymous>
File "<anonymous>", line unknown, in Generator.throw
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 5, in rejected
File "internal/process/next_tick.js", line 68, in process._tickCallback
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/14/
Error: Error: The module '\\?\C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\Release\leveldown.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).: unable to import leveldown
File "C:\projects\simple-vf\simple-vf-cli\node_modules\pouchdb\lib\index.js", line 6200, in requireLeveldown
File "C:\projects\simple-vf\simple-vf-cli\node_modules\pouchdb\lib\index.js", line 6400, in PouchDB$5.LevelDownPouch
File "C:\projects\simple-vf\simple-vf-cli\node_modules\pouchdb\lib\index.js", line 2682, in new PouchDB$5
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 133, in Object.<anonymous>
File "internal/modules/cjs/loader.js", line 689, in Module._compile
File "internal/modules/cjs/loader.js", line 700, in Object.Module._extensions..js
File "internal/modules/cjs/loader.js", line 599, in Module.load
File "internal/modules/cjs/loader.js", line 538, in tryModuleLoad
File "internal/modules/cjs/loader.js", line 530, in Function.Module._load
File "internal/modules/cjs/loader.js", line 637, in Module.require
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/19/
Error: Error: Could not locate the bindings file. Tried:
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\Debug\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\Release\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\out\Debug\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\Debug\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\out\Release\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\Release\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\default\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\compiled\10.15.1\win32\x64\leveldown.node: unable to import leveldown
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 101, in processError
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 68, in PouchDB$5.getEncryptionKey
File "internal/process/next_tick.js", line 68, in process._tickCallback
When creating a new page, if a page with the same name is found it currently just returns that page's Id. This should probably make sure the existing page is a simple-vf page and if not, ask the user to enter a new page name or possibly high jack this entire page (probably a bad idea in most cases.)
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/8/
Error: ENOENT: no such file or directory, open 'c:\projects\simple-vf\debug.json'
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/18/
Error: Error: Could not locate the bindings file. Tried:
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\Debug\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\Release\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\out\Debug\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\Debug\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\out\Release\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\Release\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\default\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\compiled\10.15.1\win32\x64\leveldown.node: unable to import leveldown
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 101, in processError
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 29, in PouchDB$5.getWithDefault
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/20/
Error: Error: Could not locate the bindings file. Tried:
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\Debug\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\Release\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\out\Debug\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\Debug\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\out\Release\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\Release\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\build\default\leveldown.node
→ C:\projects\simple-vf\simple-vf-cli\node_modules\leveldown\compiled\10.15.1\win32\x64\leveldown.node: unable to import leveldown
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 101, in processError
File "C:\projects\simple-vf\simple-vf-cli\dist\db.js", line 29, in PouchDB$5.getWithDefault
File "internal/process/next_tick.js", line 68, in process._tickCallback
File "internal/modules/cjs/loader.js", line 745, in Function.Module.runMain
File "internal/bootstrap/node.js", line 283, in startup
File "internal/bootstrap/node.js", line 743, in bootstrapNodeJSCore
View details in Rollbar: https://rollbar.com/simple-vf-cli/development/items/9/
Error: debug.json file is missing the "orgName" key.
File "c:\projects\simple-vf\simple-vf-cli\dist\cli.js", line 190, in <unknown>
File "<anonymous>", line unknown, in Generator.next
File "c:\projects\simple-vf\simple-vf-cli\dist\cli.js", line 4, in fulfilled
File "<anonymous>", line unknown, in <unknown>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.