Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update init-app to use fastly/js-compute version 2.0.0 #8

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

pdong
Copy link
Contributor

@pdong pdong commented Jun 9, 2023

Running the npx @fastly/compute-js-static-publish@latest --root-dir=./public currently creates a project with fastly/js-compute version 1.4 in the package.json which ends up causing an error when npm install && fastly compute serve

✘ [ERROR] Do not know how to load path: fastly:kv-store

    node_modules/@fastly/compute-js-static-publish/build/server/assets/content-asset-kv-store.js:1:24:
      1 │ import { KVStore } from "fastly:kv-store";
        ╵                         ~~~~~~~~~~~~~~~~~

This just bumps the js-compute version up to 2.0.0 where KVStore is available.

@harmony7 harmony7 merged commit a26c8ba into fastly:main Jun 12, 2023
@harmony7
Copy link
Member

Nice catch, hard to believe I missed that one. I'll release a new version shortly.

@harmony7
Copy link
Member

Thanks for this, have just released v5.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants