Comments (12)
heys @josaphatim.
I never tested it with node 17 and npm 8.
It's tested with node 12/14 and npm 6/7.
If you can downgrade to one of these versions it should be fine.
Best,
Johannes
from vuesion.
Thanks @devCrossNet, let me try.
from vuesion.
Had the same issues.
Try this to install nuxt globally
npm install -g nuxt
Then remove NODE_ICU_DATA=node_modules/full-icu
from the start of npm scripts
e.x.:
before: "dev": "NODE_ICU_DATA=node_modules/full-icu nuxt -o",
after: "dev": "nuxt -o"
PS: It seems only windows-platform issue
from vuesion.
but please keep in mind that full-icu is needed to render date formats, etc. on the server-side. if you remove it, it can lead to hydration errors when using vue-i18n.
from vuesion.
I have tested it on windows using nodejs 14 but got the same error
from vuesion.
can you try the workaround from @belov38 ?
from vuesion.
I have no windows system to replicate the error. what does the error message say translated into English? maybe, it's an issue with the ENV variable on windows. I didn't use cross-env in the scripts
from vuesion.
I try workaround from @belov38 it worked.
But that i'll be using full_icu for my projects.
Translated error message is: 'NODE_ICU_DATA' is not recognized as an internal or external executable program or a file of commands.
from vuesion.
@josaphatim thank you for the translation. I will look into this issue asap. I have the feeling it's something specific to windows that might be solved already in either the nuxt community or in the ICU docs.
from vuesion.
Thank you for help
from vuesion.
I have the same issue, I believe this is because NODE_ICU_DATA=node_modules/full-icu nuxt -o
in windows will try to run NODE_ICU_DATA instead of setting the variable.
To set a variable in windows it uses SET VAR=VALUE
.
I managed to get it running by changing the line in package.json
to "dev": "SET NODE_ICU_DATA=node_modules/full-icu && nuxt -o"
from vuesion.
@Loopios7 can you do me the favour and try if https://www.npmjs.com/package/cross-env could be a viable option to support windows in this case? Then I will include it in the next update.
from vuesion.
Related Issues (20)
- adapt generators to new component definition, tests, etc.
- Fg
- lingering old guide, probably HOT 4
- [pwa] add new version detection
- security fixes HOT 2
- Update package.json HOT 2
- add vue-use HOT 1
- update to Nuxt 3 HOT 1
- evaluate to replace css modules with vanilla-extract
- Evaluate nuxt-areas HOT 2
- VueSelect dropdown opens on disabled
- VueMarkdown throws error HOT 2
- evaluate vitest as replacement of jest HOT 1
- sh: cross-env: command not found HOT 5
- Fullstack module HOT 1
- evaluate Nx Workspace HOT 1
- ERROR Cannot find module 'deepmerge' .
- Enable HTTPS HOT 4
- Is the v5 milestone being actively developed? HOT 2
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 vuesion.