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

⨯ ../deeplinks/imports/client-handler.tsx: Module parse failed: Unexpected token (8:47) #305

Open
Konard opened this issue Apr 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Konard
Copy link
Member

Konard commented Apr 15, 2024

7:25:51 PM - Starting compilation in watch mode...
[0] 
[0] > @deep-foundation/[email protected] dev
[0] > next dev "-p" "3007"
[0] 
[0]    ▲ Next.js 14.1.0
[0]    - Local:        http://localhost:3007
[0] 
[0]  ⚠ Invalid next.config.js options detected: 
[0]  ⚠     Unrecognized key(s) in object: 'allowImportingTsExtensions', 'webpack5', 'future', 'strictMode'
[0]  ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
[0] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[0] This information is used to shape Next.js' roadmap and prioritize features.
[0] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[0] https://nextjs.org/telemetry
[0] 
[0] [
[0]   '.js',   '.mjs',
[0]   '.tsx',  '.ts',
[0]   '.jsx',  '.json',
[0]   '.wasm'
[0] ]
[0] /_next/
[0] [
[0]   '.js',   '.mjs',
[0]   '.tsx',  '.ts',
[0]   '.jsx',  '.json',
[0]   '.wasm'
[0] ]
[0] /_next/
[0] [
[0]   '.js',   '.mjs',
[0]   '.tsx',  '.ts',
[0]   '.jsx',  '.json',
[0]   '.wasm'
[0] ]
[0] /_next/
[0]  ✓ Ready in 9.4s
[0]  ○ Compiling / ...
[0]  ⨯ ../deeplinks/imports/client-handler.tsx
[0] Module parse failed: Unexpected token (8:47)
[0] You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
[0] |  * @returns A promise that resolves to an object with either an error property that contains error or data property that contains result of the handler.
[0] |  */
[0] > export async function evalClientHandler(options: {
[0] |   value: string;
[0] |   deep: DeepClient;
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client-handler.tsx
[0] ../deepcase/imports/client-handler.js
[0] ../deepcase/imports/cyto/editor.js
[0] [
[0]   '.js',   '.mjs',
[0]   '.tsx',  '.ts',
[0]   '.jsx',  '.json',
[0]   '.wasm'
[0] ]
[0] /_next/
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/esm|/workspace/dev/packages/deepcase/imports/provider.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 33 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|/workspace/dev/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js??ruleSet
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 12 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/dynamic|/workspace/dev/packages/deepcase/node_modules/axios/dist/node/axios.cjs': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 27 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/esm|/workspace/dev/packages/deepcase/node_modules/axios/lib/helpers/toFormData.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 33 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/esm|/workspace/dev/packages/deepcase/node_modules/axios/lib/adapters/http.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 120 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/esm|/workspace/dev/packages/deepcase/node_modules/axios/lib/helpers/fromDataURI.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 13 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/esm|/workspace/dev/packages/deepcase/node_modules/axios/lib/helpers/AxiosTransformStream.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 16 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/esm|/workspace/dev/packages/deepcase/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 4 items } -> ProvidedDependency
[0] <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/dynamic|/workspace/dev/packages/deepcase/node_modules/lru-cache/dist/commonjs/index.js': No serializer registered for ProvidedDependency
[0] <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 6 items } -> ProvidedDependency
[0]  ⨯ ../deeplinks/imports/client-handler.tsx
[0] Module parse failed: Unexpected token (8:47)
[0] You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
[0] |  * @returns A promise that resolves to an object with either an error property that contains error or data property that contains result of the handler.
[0] |  */
[0] > export async function evalClientHandler(options: {
[0] |   value: string;
[0] |   deep: DeepClient;
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client-handler.tsx
[0] ../deepcase/imports/client-handler.js
[0] ../deepcase/imports/cyto/editor.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant