sethb0 / ven2-forest Goto Github PK
View Code? Open in Web Editor NEWExalted 2.5e Charm tree visualization on the desktop
License: MIT License
Exalted 2.5e Charm tree visualization on the desktop
License: MIT License
when running npm install
to prepare the dependencies, i get an error about the environment variable included in the .npmrc
file.
error log
$ npm install
Error: Failed to replace env in config: ${FONTAWESOME_NPM_TOKEN}
at /usr/lib/node_modules/npm/lib/config/core.js:415:13
at String.replace (<anonymous>)
at envReplace (/usr/lib/node_modules/npm/lib/config/core.js:411:12)
at parseField (/usr/lib/node_modules/npm/lib/config/core.js:389:7)
at /usr/lib/node_modules/npm/lib/config/core.js:330:24
at Array.forEach (<anonymous>)
at Conf.add (/usr/lib/node_modules/npm/lib/config/core.js:328:23)
at ConfigChain.addString (/usr/lib/node_modules/npm/node_modules/config-chain/index.js:244:8)
at Conf.<anonymous> (/usr/lib/node_modules/npm/lib/config/core.js:316:10)
at /usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16
/usr/lib/node_modules/npm/lib/npm.js:61
throw new Error('npm.load() required')
^
Error: npm.load() required
at Object.get (/usr/lib/node_modules/npm/lib/npm.js:61:13)
at process.errorHandler (/usr/lib/node_modules/npm/lib/utils/error-handler.js:205:18)
at emitOne (events.js:116:13)
at process.emit (events.js:211:7)
at process._fatalException (bootstrap_node.js:391:26)
i was able to workaround this by removing the .npmrc
file.
i am using a fedora 29 machine and when i run npm run electron:build
i get the following unfriendly output:
$ npm run electron:build
> @ven2/[email protected] electron:build /home/mike/workspace/github/sethb/ven2-forest
> vue-cli-service electron:build
(node:21598) UnhandledPromiseRejectionWarning: TypeError: yargs.parserConfiguration is not a function
at Object.configureBuildCommand [as builder] (/home/mike/workspace/github/sethb/ven2-forest/node_modules/electron-builder/out/builder.js:266:9)
at Object.runCommand (/home/mike/workspace/github/sethb/ven2-forest/node_modules/yargs/lib/command.js:186:35)
at Object.parseArgs [as _parseArgs] (/home/mike/workspace/github/sethb/ven2-forest/node_modules/yargs/yargs.js:1085:24)
at Object.parse (/home/mike/workspace/github/sethb/ven2-forest/node_modules/yargs/yargs.js:562:25)
at Promise (/home/mike/workspace/github/sethb/ven2-forest/node_modules/vue-cli-plugin-electron-builder/index.js:78:12)
at new Promise (<anonymous>)
at api.registerCommand (/home/mike/workspace/github/sethb/ven2-forest/node_modules/vue-cli-plugin-electron-builder/index.js:61:7)
at Service.run (/home/mike/workspace/github/sethb/ven2-forest/node_modules/@vue/cli-service/lib/Service.js:221:12)
at Object.<anonymous> (/home/mike/workspace/github/sethb/ven2-forest/node_modules/@vue/cli-service/bin/vue-cli-service.js:36:9)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
(node:21598) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:21598) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
i'm not sure if this command was designed to run on linux because it produces a dmg
file. on the upside, npm run electron:serve
seems to work just fine.
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.