urbit / create-landscape-app

Get started making a simple app for Landscape with a few commands.
86 stars 21 forks source link

Cannot build on Linux #7

Closed techieAgnostic closed 5 years ago

techieAgnostic commented 5 years ago

npm install complains about dependencies being Darwin only.

Steps: git clone https://github.com/urbit/create-landscape-app/ cd create-landscape-app npm install

Output (that I got):

npm ERR! Linux 4.18.0-25-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code EBADPLATFORM

npm ERR! notsup Not compatible with your operating system or architecture: fsevents@1.2.9
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: x64

npm ERR! Please include the following file with any support request:
npm ERR!     /home/shaun/mess/repos/create-landscape-app/npm-debug.log
matildepark commented 5 years ago

Related discussions around fsevents recommend running the install with npm i -f.

Talked to @techieAgnostic outside this issue and it seems to rectify. I will document that this is required.