Comments (4)
I also have this issue on a mac
Running this in the root directory
"@remix-pwa/dev": "^3.0.0",
"@remix-pwa/worker-runtime": "^2.1.0",
Steps to reproduce
- npx create-remix@latest
- npm i --save-dev @remix-pwa/dev
- npm i --save @remix-pwa/worker-runtime
- npx remix-pwa sw
from monorepo.
Thanks for the PR. Moving that as well as other new stuffs to latest
: #154
Docs should be updated in a few minutes
from monorepo.
Hello 👋, thanks for raising this issue
Additionally, I noticed that the entry.worker.js file hasn't been updated and still refers to old dependencies, as per the upgrade documentation:
https://github.com/remix-pwa/monorepo/blob/main/templates/app/entry.worker.ts
This isn't the template used by the remix-pwa
CLI, rather its located here:
https://github.com/remix-pwa/monorepo/blob/main/packages/cli/templates/entry.worker.ts
I'm attempting to upgrade to remix/[email protected]. However, after running:
npx remix-pwa sw
I encounter the following error:
` Generating TypeScript service worker file... node:internal/process/promises:289 triggerUncaughtException(err, true /* fromPromise */); ^
[Error: ENOENT: no such file or directory, open '/home/canic/remix-echarge/templates/entry.worker.ts'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/canic/remix-echarge/templates/entry.worker.ts' }
Node.js v20.10.0 `
Weird, are you running it in an already created Remix project? Weird, it seems to be thrown from this line:
Line 176 in d55d9f1
from monorepo.
Just tested this version out and it works on my PC, no problem. I am using Windows (11) and I'm running it in the root of a Remix project (the docs folder)
- What's your OS?
- And where is the command being ran?
- What
remix-pwa
version are you utilizing?
from monorepo.
Related Issues (17)
- ESM Directory Import error with Remix 2 base template HOT 4
- Wrong conditionals used in compiler HOT 2
- Usage with Vite HOT 6
- sw: Asset cache in precache handler not initialised correctly HOT 3
- Running `remix vite:dev` throws rollup plugin error HOT 1
- Trying to build project throws error on [vite-plugin-remix-pwa:virtual-entry-sw] HOT 5
- Cannot initialize app in v4 HOT 1
- Error and Failure in Creating entry.worker.ts during Remix PWA Upgrade HOT 5
- Incorrect sourmap on build due to plugin vite-plugin-remix-pwa:loader HOT 8
- Implementing push notifications HOT 4
- "@remix-pwa/push": "^1.0.2" is missing HOT 2
- how to setup Offline Page using remix-pwa HOT 3
- Server is crashing, no service worker being built, redeclaration of variable. HOT 1
- The automated release is failing 🚨 HOT 14
- cacheFirst crash on Safari 17 HOT 4
- Consider Remix v2 during `remix-pwa init` run HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monorepo.