GithubHelp home page GithubHelp logo

primatejs / app Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 1.0 151 KB

Primate template app

Home Page: https://primatejs.com

License: MIT License

JavaScript 68.55% Svelte 13.81% Vue 0.72% Shell 0.80% HTML 7.26% CSS 0.13% Handlebars 0.57% Go 1.64% Python 0.21% Ruby 4.17% TypeScript 1.53% Marko 0.62%
example javascript nodejs primate

app's People

Contributors

phaleth avatar terrablue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

phaleth

app's Issues

go not found

npm start

> @primate/[email protected] start
> npx primate

primate 0.30.1 in startup
-- primate running init hooks 
-- primate/store loading Post User ns.Post 
-- primate/store all stores nominal 
-- primate/i18n loading de-DE de en-US en 
-- primate/i18n all locales nominal 
-- primate running stage hooks 
!! primate/binding/go the Go route go/index.go contains the following error
 /bin/sh: go: command not found
 
++ fix the Go error
   -> https://primatejs.com/modules/primate/binding/go#error-in-go-route 
ErrorInGoRoute: the Go route go/index.go contains the following error
 /bin/sh: go: command not found

    at Object.new (file:///Users/apple/primate/app/node_modules/primate/src/Logger.js:31:19)
    at Object.throw (file:///Users/apple/primate/app/node_modules/primate/src/Logger.js:39:19)
    at Object.route (file:///Users/apple/primate/app/node_modules/@primate/binding/src/bindings/go/module.js:181:40)
    at async post (file:///Users/apple/primate/app/node_modules/primate/src/hooks/stage.js:37:5) {
  level: 0,
  fix: 'fix the Go error',
  module: 'primate/binding/go'
}
~~ bye
apple@apples-MBP primate % which go
/opt/homebrew/opt/go/libexec/bin/go

Spread syntax requires ...iterable[Symbol.iterator] to be a function

$ git clone
$ cd primate-app
$ npm i && npx -y primate

up to date, audited 174 packages in 1s

26 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
(node:35984) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
[info] primate 0.11.0
[info] running on localhost:6161
[error] Spread syntax requires ...iterable[Symbol.iterator] to be a function

The [error] Spread syntax requires ...iterable[Symbol.iterator] to be a function is repeated every time a page is loaded on localhost:6161:

$ curl -i http://localhost:6161/
HTTP/1.1 500 Internal Server Error
Date: Tue, 14 Mar 2023 23:06:43 GMT
Connection: keep-alive
Keep-Alive: timeout=5
Transfer-Encoding: chunked

Arm64 macos. Tool versions:

$ node --version
v19.7.0
$ npm --version
9.6.1
$ npx --version
$ ls -l =node
lrwxr-xr-x 1 mkm admin 30 Mar 15 00:01 /opt/homebrew/bin/node -> ../Cellar/node/19.7.0/bin/node
$ ls -l =npm
lrwxr-xr-x 1 mkm admin 38 Mar 15 00:02 /opt/homebrew/bin/npm -> ../lib/node_modules/npm/bin/npm-cli.js
9.6.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.