Skip to content
This repository was archived by the owner on Apr 9, 2018. It is now read-only.
This repository was archived by the owner on Apr 9, 2018. It is now read-only.

cozy-dev deploy with client-side apps #90

@Phyks

Description

@Phyks

Hi,

I am trying to use cozy-dev with a client-side app. As far as I understood the deploy documentation, I should run

$ cozy-dev deploy dist

from the root of my application (typically the root of https://github.com/Phyks/cozy-RSVP) and where dist is the place where my built files reside in my app folder.

However, I get a

path.js:7
    throw new TypeError('Path must be a string. Received ' + inspect(path));
    ^

TypeError: Path must be a string. Received null
  at assertPath (path.js:7:11)
  at Object.relative (path.js:1228:5)
  at /home/phyks/Code/cozy/cozy-dev/lib/application.js:306:39
  at /home/phyks/Code/cozy/cozy-dev/node_modules/parentpath/lib/parentpath.js:45:13
  at FSReqWrap.oncomplete (fs.js:123:15)

The app is installed in my cozy-dev VM, but gets a 404 not found whenever I try to open it.

Thanks

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions