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

Bug report : Error during build #508

Closed
pierremahot opened this issue Mar 10, 2019 · 2 comments
Closed

Bug report : Error during build #508

pierremahot opened this issue Mar 10, 2019 · 2 comments

Comments

@pierremahot
Copy link

Summary

Environement :
OS: Docker UBUNTU 18.04
Offline with an npm mirror
Node version : 8.10.0
npm version : 3.5.2

since cyberchef V8.24.2

Command : grunt node
error durring webpack:generateConfig
message :

Written operation index.
>> SyntaxError: Unexpected tocken import
>>     at ModuleJob.loaders.set [as module Provider] (internal/loader/moduleRequest.js:33.13
>>     at <anonimous>
--- config scripts finished. ---```

@DBHeise
Copy link

DBHeise commented Mar 26, 2019

That version of nodeJS does not support the es6 imports. You need to upgrade to at least version 9.0 to get that support.

Here's an answer with various ways to do this on a clean *nix install: https://askubuntu.com/questions/426750/how-can-i-update-my-nodejs-to-the-latest-version

@pierremahot
Copy link
Author

We update to nodejs ltd 10 and it resolves the problem thanks you

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

No branches or pull requests

2 participants