neomjs / create-app Goto Github PK
View Code? Open in Web Editor NEWCreate a neo.mjs workspace & app with the 1-liner npx neo-app
Home Page: https://neomjs.github.io/pages/
License: MIT License
Create a neo.mjs workspace & app with the 1-liner npx neo-app
Home Page: https://neomjs.github.io/pages/
License: MIT License
Hi! Don't np* much, so probably can't help. But I'll try.
Linux Mint
node : v10.19.0, & npm v9.5.0.
ERROR: npm v9.5.0 is known not to run on Node.js v10.19.0.
I guess that's the problem
Thanks. Doug
$ npx neo-app
/usr/local/lib/node_modules/npm/node_modules/@npmcli/config/lib/index.js:485
const raw = this.data.get(problem.where).raw?.[problem.from]
(Somebody doesn't like the '.' in the '?.') ^
SyntaxError: Unexpected token .
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/config/definition.js:33:5)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
will take a look into this.
Describe the bug
Server can NOT start.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
server start
Screenshots
at FSWatcher. (internal/fs/watchers.js:218:26)
at Object.watch (fs.js:1525:34)
at createFsWatchInstance (/home/robot/Documents/workspace/node_modules/chokidar/lib/nodefs-handler.js:119:15)
at setFsWatchListener (/home/robot/Documents/workspace/node_modules/chokidar/lib/nodefs-handler.js:166:15)
at NodeFsHandler._watchWithNodeFs (/home/robot/Documents/workspace/node_modules/chokidar/lib/nodefs-handler.js:331:14)
at NodeFsHandler._handleFile (/home/robot/Documents/workspace/node_modules/chokidar/lib/nodefs-handler.js:395:23)
at NodeFsHandler._addToNodeFs (/home/robot/Documents/workspace/node_modules/chokidar/lib/nodefs-handler.js:629:21)
(node:29471) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_reject)
(node:29471) UnhandledPromiseRejectionWarning: Error: ENOSPC: System limit for number of file watchers reached, watch '/home/robot/Documents/workspace/node_modules/css-tree/lib/utils/clone.js'
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
in short: we have the inquirer dependency
. this one has the dependency “@ljharb/through”: “^2.3.9"
. this one is using call-bind
, without properly requiring it.
npm i does work, but inside the npx scope and sonoma it just crashes like this:
tobiasuhlig@iMac-Pro Desktop % npx neo-app@latest
node:internal/modules/cjs/loader:1048
const err = new Error(message);
^
Error: Cannot find module 'call-bind'
Require stack:
Node.js v20.8.0
i dropped the inquirer team a not, to re-evaluate if they even still need it.
with the introduction of workspace based main thread addons, it is mandatory, that a src/main/addon folder does exist.
webpack based import parsing, no chance to add a check on our end.
so, we do need to generate this folder, e.g. with a readme file inside of it.
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.